/// <summary>Snippet for GetBiddingStrategySimulation</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetBiddingStrategySimulationResourceNames()
 {
     // Create client
     BiddingStrategySimulationServiceClient biddingStrategySimulationServiceClient = BiddingStrategySimulationServiceClient.Create();
     // Initialize request argument(s)
     BiddingStrategySimulationName resourceName = BiddingStrategySimulationName.FromCustomerBiddingStrategyTypeModificationMethodStartDateEndDate("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]", "[TYPE]", "[MODIFICATION_METHOD]", "[START_DATE]", "[END_DATE]");
     // Make the request
     BiddingStrategySimulation response = biddingStrategySimulationServiceClient.GetBiddingStrategySimulation(resourceName);
 }
 /// <summary>Snippet for GetBiddingStrategySimulation</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetBiddingStrategySimulation()
 {
     // Create client
     BiddingStrategySimulationServiceClient biddingStrategySimulationServiceClient = BiddingStrategySimulationServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/biddingStrategySimulations/[BIDDING_STRATEGY_ID]~[TYPE]~[MODIFICATION_METHOD]~[START_DATE]~[END_DATE]";
     // Make the request
     BiddingStrategySimulation response = biddingStrategySimulationServiceClient.GetBiddingStrategySimulation(resourceName);
 }
Example #3
0
        /// <summary>Snippet for GetBiddingStrategySimulationAsync</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 GetBiddingStrategySimulationRequestObjectAsync()
        {
            // Create client
            BiddingStrategySimulationServiceClient biddingStrategySimulationServiceClient = await BiddingStrategySimulationServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetBiddingStrategySimulationRequest request = new GetBiddingStrategySimulationRequest
            {
                ResourceNameAsBiddingStrategySimulationName = BiddingStrategySimulationName.FromCustomerBiddingStrategyTypeModificationMethodStartDateEndDate("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]", "[TYPE]", "[MODIFICATION_METHOD]", "[START_DATE]", "[END_DATE]"),
            };
            // Make the request
            BiddingStrategySimulation response = await biddingStrategySimulationServiceClient.GetBiddingStrategySimulationAsync(request);
        }
Example #4
0
        /// <summary>Snippet for GetBiddingStrategySimulationAsync</summary>
        public async Task GetBiddingStrategySimulationAsync()
        {
            // Snippet: GetBiddingStrategySimulationAsync(string, CallSettings)
            // Additional: GetBiddingStrategySimulationAsync(string, CancellationToken)
            // Create client
            BiddingStrategySimulationServiceClient biddingStrategySimulationServiceClient = await BiddingStrategySimulationServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/biddingStrategySimulations/[BIDDING_STRATEGY_ID]~[TYPE]~[MODIFICATION_METHOD]~[START_DATE]~[END_DATE]";
            // Make the request
            BiddingStrategySimulation response = await biddingStrategySimulationServiceClient.GetBiddingStrategySimulationAsync(resourceName);

            // End snippet
        }
Example #5
0
 /// <summary>Snippet for GetBiddingStrategySimulation</summary>
 public void GetBiddingStrategySimulationRequestObject()
 {
     // Snippet: GetBiddingStrategySimulation(GetBiddingStrategySimulationRequest, CallSettings)
     // Create client
     BiddingStrategySimulationServiceClient biddingStrategySimulationServiceClient = BiddingStrategySimulationServiceClient.Create();
     // Initialize request argument(s)
     GetBiddingStrategySimulationRequest request = new GetBiddingStrategySimulationRequest
     {
         ResourceNameAsBiddingStrategySimulationName = BiddingStrategySimulationName.FromCustomerBiddingStrategyTypeModificationMethodStartDateEndDate("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]", "[TYPE]", "[MODIFICATION_METHOD]", "[START_DATE]", "[END_DATE]"),
     };
     // Make the request
     BiddingStrategySimulation response = biddingStrategySimulationServiceClient.GetBiddingStrategySimulation(request);
     // End snippet
 }
Example #6
0
        /// <summary>Snippet for GetBiddingStrategySimulationAsync</summary>
        public async Task GetBiddingStrategySimulationResourceNamesAsync()
        {
            // Snippet: GetBiddingStrategySimulationAsync(BiddingStrategySimulationName, CallSettings)
            // Additional: GetBiddingStrategySimulationAsync(BiddingStrategySimulationName, CancellationToken)
            // Create client
            BiddingStrategySimulationServiceClient biddingStrategySimulationServiceClient = await BiddingStrategySimulationServiceClient.CreateAsync();

            // Initialize request argument(s)
            BiddingStrategySimulationName resourceName = BiddingStrategySimulationName.FromCustomerBiddingStrategyTypeModificationMethodStartDateEndDate("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]", "[TYPE]", "[MODIFICATION_METHOD]", "[START_DATE]", "[END_DATE]");
            // Make the request
            BiddingStrategySimulation response = await biddingStrategySimulationServiceClient.GetBiddingStrategySimulationAsync(resourceName);

            // End snippet
        }