/// <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);
        }
Exemple #2
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
        }
Exemple #3
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
        }
Exemple #4
0
        /// <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 GetAccessibleBiddingStrategyAsync()
        {
            // 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);
        }