Exemplo n.º 1
0
        /// <summary>Snippet for DeleteWebDataStream</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public void DeleteWebDataStreamResourceNames()
        {
            // Create client
            AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
            // Initialize request argument(s)
            WebDataStreamName name = WebDataStreamName.FromPropertyWebDataStream("[PROPERTY]", "[WEB_DATA_STREAM]");

            // Make the request
            analyticsAdminServiceClient.DeleteWebDataStream(name);
        }
        /// <summary>Snippet for DeleteWebDataStream</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public void DeleteWebDataStream()
        {
            // Create client
            AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
            // Initialize request argument(s)
            string name = "properties/[PROPERTY]/webDataStreams/[WEB_DATA_STREAM]";

            // Make the request
            analyticsAdminServiceClient.DeleteWebDataStream(name);
        }
        /// <summary>Snippet for DeleteWebDataStream</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public void DeleteWebDataStreamRequestObject()
        {
            // Create client
            AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
            // Initialize request argument(s)
            DeleteWebDataStreamRequest request = new DeleteWebDataStreamRequest
            {
                WebDataStreamName = WebDataStreamName.FromPropertyWebDataStream("[PROPERTY]", "[WEB_DATA_STREAM]"),
            };

            // Make the request
            analyticsAdminServiceClient.DeleteWebDataStream(request);
        }