Пример #1
0
 /// <summary>Snippet for GetAccessibleBiddingStrategy</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAccessibleBiddingStrategy()
 {
     // Create client
     AccessibleBiddingStrategyServiceClient accessibleBiddingStrategyServiceClient = AccessibleBiddingStrategyServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/accessibleBiddingStrategies/[BIDDING_STRATEGY_ID]";
     // Make the request
     AccessibleBiddingStrategy response = accessibleBiddingStrategyServiceClient.GetAccessibleBiddingStrategy(resourceName);
 }
 /// <summary>Snippet for GetAccessibleBiddingStrategy</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAccessibleBiddingStrategyResourceNames()
 {
     // Create client
     AccessibleBiddingStrategyServiceClient accessibleBiddingStrategyServiceClient = AccessibleBiddingStrategyServiceClient.Create();
     // Initialize request argument(s)
     AccessibleBiddingStrategyName resourceName = AccessibleBiddingStrategyName.FromCustomerBiddingStrategy("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]");
     // Make the request
     AccessibleBiddingStrategy response = accessibleBiddingStrategyServiceClient.GetAccessibleBiddingStrategy(resourceName);
 }
        /// <summary>Snippet for GetAccessibleBiddingStrategyAsync</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 GetAccessibleBiddingStrategyRequestObjectAsync()
        {
            // Create client
            AccessibleBiddingStrategyServiceClient accessibleBiddingStrategyServiceClient = await AccessibleBiddingStrategyServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetAccessibleBiddingStrategyRequest request = new GetAccessibleBiddingStrategyRequest
            {
                ResourceNameAsAccessibleBiddingStrategyName = AccessibleBiddingStrategyName.FromCustomerBiddingStrategy("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]"),
            };
            // Make the request
            AccessibleBiddingStrategy response = await accessibleBiddingStrategyServiceClient.GetAccessibleBiddingStrategyAsync(request);
        }
Пример #4
0
        /// <summary>Snippet for GetAccessibleBiddingStrategyAsync</summary>
        public async Task GetAccessibleBiddingStrategyAsync()
        {
            // Snippet: GetAccessibleBiddingStrategyAsync(string, CallSettings)
            // Additional: GetAccessibleBiddingStrategyAsync(string, CancellationToken)
            // Create client
            AccessibleBiddingStrategyServiceClient accessibleBiddingStrategyServiceClient = await AccessibleBiddingStrategyServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/accessibleBiddingStrategies/[BIDDING_STRATEGY_ID]";
            // Make the request
            AccessibleBiddingStrategy response = await accessibleBiddingStrategyServiceClient.GetAccessibleBiddingStrategyAsync(resourceName);

            // End snippet
        }
Пример #5
0
 /// <summary>Snippet for GetAccessibleBiddingStrategy</summary>
 public void GetAccessibleBiddingStrategyRequestObject()
 {
     // Snippet: GetAccessibleBiddingStrategy(GetAccessibleBiddingStrategyRequest, CallSettings)
     // Create client
     AccessibleBiddingStrategyServiceClient accessibleBiddingStrategyServiceClient = AccessibleBiddingStrategyServiceClient.Create();
     // Initialize request argument(s)
     GetAccessibleBiddingStrategyRequest request = new GetAccessibleBiddingStrategyRequest
     {
         ResourceNameAsAccessibleBiddingStrategyName = AccessibleBiddingStrategyName.FromCustomerBiddingStrategy("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]"),
     };
     // Make the request
     AccessibleBiddingStrategy response = accessibleBiddingStrategyServiceClient.GetAccessibleBiddingStrategy(request);
     // End snippet
 }
Пример #6
0
        /// <summary>Snippet for GetAccessibleBiddingStrategyAsync</summary>
        public async Task GetAccessibleBiddingStrategyResourceNamesAsync()
        {
            // Snippet: GetAccessibleBiddingStrategyAsync(AccessibleBiddingStrategyName, CallSettings)
            // Additional: GetAccessibleBiddingStrategyAsync(AccessibleBiddingStrategyName, CancellationToken)
            // Create client
            AccessibleBiddingStrategyServiceClient accessibleBiddingStrategyServiceClient = await AccessibleBiddingStrategyServiceClient.CreateAsync();

            // Initialize request argument(s)
            AccessibleBiddingStrategyName resourceName = AccessibleBiddingStrategyName.FromCustomerBiddingStrategy("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]");
            // Make the request
            AccessibleBiddingStrategy response = await accessibleBiddingStrategyServiceClient.GetAccessibleBiddingStrategyAsync(resourceName);

            // End snippet
        }