Ejemplo n.º 1
0
 /// <summary>Snippet for GetDistanceView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetDistanceViewResourceNames()
 {
     // Create client
     DistanceViewServiceClient distanceViewServiceClient = DistanceViewServiceClient.Create();
     // Initialize request argument(s)
     DistanceViewName resourceName = DistanceViewName.FromCustomerDistanceView("[CUSTOMER]", "[DISTANCE_VIEW]");
     // Make the request
     DistanceView response = distanceViewServiceClient.GetDistanceView(resourceName);
 }
Ejemplo n.º 2
0
 /// <summary>Snippet for GetDistanceView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetDistanceViewResourceNames()
 {
     // Create client
     DistanceViewServiceClient distanceViewServiceClient = DistanceViewServiceClient.Create();
     // Initialize request argument(s)
     DistanceViewName resourceName = DistanceViewName.FromCustomerPlaceholderChainDistanceBucket("[CUSTOMER_ID]", "[PLACEHOLDER_CHAIN_ID]", "[DISTANCE_BUCKET]");
     // Make the request
     DistanceView response = distanceViewServiceClient.GetDistanceView(resourceName);
 }
Ejemplo n.º 3
0
 /// <summary>Snippet for GetDistanceView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetDistanceView()
 {
     // Create client
     DistanceViewServiceClient distanceViewServiceClient = DistanceViewServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/distanceViews/[PLACEHOLDER_CHAIN_ID]~[DISTANCE_BUCKET]";
     // Make the request
     DistanceView response = distanceViewServiceClient.GetDistanceView(resourceName);
 }
 /// <summary>Snippet for GetDistanceView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetDistanceView()
 {
     // Create client
     DistanceViewServiceClient distanceViewServiceClient = DistanceViewServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER]/distanceViews/[DISTANCE_VIEW]";
     // Make the request
     DistanceView response = distanceViewServiceClient.GetDistanceView(resourceName);
 }
 /// <summary>Snippet for GetDistanceView</summary>
 public void GetDistanceViewRequestObject()
 {
     // Snippet: GetDistanceView(GetDistanceViewRequest, CallSettings)
     // Create client
     DistanceViewServiceClient distanceViewServiceClient = DistanceViewServiceClient.Create();
     // Initialize request argument(s)
     GetDistanceViewRequest request = new GetDistanceViewRequest
     {
         ResourceNameAsDistanceViewName = DistanceViewName.FromCustomerDistanceView("[CUSTOMER]", "[DISTANCE_VIEW]"),
     };
     // Make the request
     DistanceView response = distanceViewServiceClient.GetDistanceView(request);
     // End snippet
 }
Ejemplo n.º 6
0
 /// <summary>Snippet for GetDistanceView</summary>
 public void GetDistanceViewRequestObject()
 {
     // Snippet: GetDistanceView(GetDistanceViewRequest, CallSettings)
     // Create client
     DistanceViewServiceClient distanceViewServiceClient = DistanceViewServiceClient.Create();
     // Initialize request argument(s)
     GetDistanceViewRequest request = new GetDistanceViewRequest
     {
         ResourceNameAsDistanceViewName = DistanceViewName.FromCustomerPlaceholderChainDistanceBucket("[CUSTOMER_ID]", "[PLACEHOLDER_CHAIN_ID]", "[DISTANCE_BUCKET]"),
     };
     // Make the request
     DistanceView response = distanceViewServiceClient.GetDistanceView(request);
     // End snippet
 }