/// <summary>Snippet for GetGlobalSiteTag</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetGlobalSiteTagResourceNames()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     GlobalSiteTagName name = GlobalSiteTagName.FromProperty("[PROPERTY]");
     // Make the request
     GlobalSiteTag response = analyticsAdminServiceClient.GetGlobalSiteTag(name);
 }
Exemplo n.º 2
0
        /// <summary>Snippet for GetGlobalSiteTagAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task GetGlobalSiteTagResourceNamesAsync()
        {
            // Create client
            AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();

            // Initialize request argument(s)
            GlobalSiteTagName name = GlobalSiteTagName.FromProperty("[PROPERTY]");
            // Make the request
            GlobalSiteTag response = await analyticsAdminServiceClient.GetGlobalSiteTagAsync(name);
        }
Exemplo n.º 3
0
 /// <summary>Snippet for GetGlobalSiteTag</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetGlobalSiteTagRequestObject()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     GetGlobalSiteTagRequest request = new GetGlobalSiteTagRequest
     {
         GlobalSiteTagName = GlobalSiteTagName.FromProperty("[PROPERTY]"),
     };
     // Make the request
     GlobalSiteTag response = analyticsAdminServiceClient.GetGlobalSiteTag(request);
 }