/// <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 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 GetGlobalSiteTag()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     string name = "properties/[PROPERTY]/globalSiteTag";
     // Make the request
     GlobalSiteTag response = analyticsAdminServiceClient.GetGlobalSiteTag(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);
 }