Ejemplo n.º 1
0
 /// <summary>Snippet for GetMetadata</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetMetadataResourceNames()
 {
     // Create client
     BetaAnalyticsDataClient betaAnalyticsDataClient = BetaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     MetadataName name = MetadataName.FromProperty("[PROPERTY]");
     // Make the request
     Metadata response = betaAnalyticsDataClient.GetMetadata(name);
 }
Ejemplo n.º 2
0
 /// <summary>Snippet for GetMetadata</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetMetadata()
 {
     // Create client
     BetaAnalyticsDataClient betaAnalyticsDataClient = BetaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     string name = "properties/[PROPERTY]/metadata";
     // Make the request
     Metadata response = betaAnalyticsDataClient.GetMetadata(name);
 }
 /// <summary>Snippet for GetMetadata</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetMetadataRequestObject()
 {
     // Create client
     BetaAnalyticsDataClient betaAnalyticsDataClient = BetaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     GetMetadataRequest request = new GetMetadataRequest
     {
         MetadataName = MetadataName.FromProperty("[PROPERTY]"),
     };
     // Make the request
     Metadata response = betaAnalyticsDataClient.GetMetadata(request);
 }