/// <summary>Snippet for GetCustomDimension</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCustomDimensionResourceNames()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     CustomDimensionName name = CustomDimensionName.FromProperty("[PROPERTY]");
     // Make the request
     CustomDimension response = analyticsAdminServiceClient.GetCustomDimension(name);
 }
Esempio n. 2
0
 /// <summary>Snippet for GetCustomDimension</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCustomDimension()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     string name = "properties/[PROPERTY]/customDimensions";
     // Make the request
     CustomDimension response = analyticsAdminServiceClient.GetCustomDimension(name);
 }
 /// <summary>Snippet for GetCustomDimension</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCustomDimensionRequestObject()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     GetCustomDimensionRequest request = new GetCustomDimensionRequest
     {
         CustomDimensionName = CustomDimensionName.FromProperty("[PROPERTY]"),
     };
     // Make the request
     CustomDimension response = analyticsAdminServiceClient.GetCustomDimension(request);
 }