示例#1
0
 /// <summary>Snippet for GetProductBiddingCategoryConstant</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetProductBiddingCategoryConstantResourceNames()
 {
     // Create client
     ProductBiddingCategoryConstantServiceClient productBiddingCategoryConstantServiceClient = ProductBiddingCategoryConstantServiceClient.Create();
     // Initialize request argument(s)
     ProductBiddingCategoryConstantName resourceName = ProductBiddingCategoryConstantName.FromProductBiddingCategoryConstant("[PRODUCT_BIDDING_CATEGORY_CONSTANT]");
     // Make the request
     ProductBiddingCategoryConstant response = productBiddingCategoryConstantServiceClient.GetProductBiddingCategoryConstant(resourceName);
 }
        /// <summary>Snippet for GetProductBiddingCategoryConstantAsync</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 GetProductBiddingCategoryConstantRequestObjectAsync()
        {
            // Create client
            ProductBiddingCategoryConstantServiceClient productBiddingCategoryConstantServiceClient = await ProductBiddingCategoryConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetProductBiddingCategoryConstantRequest request = new GetProductBiddingCategoryConstantRequest
            {
                ResourceNameAsProductBiddingCategoryConstantName = ProductBiddingCategoryConstantName.FromProductBiddingCategoryConstant("[PRODUCT_BIDDING_CATEGORY_CONSTANT]"),
            };
            // Make the request
            ProductBiddingCategoryConstant response = await productBiddingCategoryConstantServiceClient.GetProductBiddingCategoryConstantAsync(request);
        }
示例#3
0
 /// <summary>Snippet for GetProductBiddingCategoryConstant</summary>
 public void GetProductBiddingCategoryConstantRequestObject()
 {
     // Snippet: GetProductBiddingCategoryConstant(GetProductBiddingCategoryConstantRequest, CallSettings)
     // Create client
     ProductBiddingCategoryConstantServiceClient productBiddingCategoryConstantServiceClient = ProductBiddingCategoryConstantServiceClient.Create();
     // Initialize request argument(s)
     GetProductBiddingCategoryConstantRequest request = new GetProductBiddingCategoryConstantRequest
     {
         ResourceNameAsProductBiddingCategoryConstantName = ProductBiddingCategoryConstantName.FromProductBiddingCategoryConstant("[PRODUCT_BIDDING_CATEGORY_CONSTANT]"),
     };
     // Make the request
     ProductBiddingCategoryConstant response = productBiddingCategoryConstantServiceClient.GetProductBiddingCategoryConstant(request);
     // End snippet
 }
示例#4
0
        /// <summary>Snippet for GetProductBiddingCategoryConstantAsync</summary>
        public async Task GetProductBiddingCategoryConstantResourceNamesAsync()
        {
            // Snippet: GetProductBiddingCategoryConstantAsync(ProductBiddingCategoryConstantName, CallSettings)
            // Additional: GetProductBiddingCategoryConstantAsync(ProductBiddingCategoryConstantName, CancellationToken)
            // Create client
            ProductBiddingCategoryConstantServiceClient productBiddingCategoryConstantServiceClient = await ProductBiddingCategoryConstantServiceClient.CreateAsync();

            // Initialize request argument(s)
            ProductBiddingCategoryConstantName resourceName = ProductBiddingCategoryConstantName.FromProductBiddingCategoryConstant("[PRODUCT_BIDDING_CATEGORY_CONSTANT]");
            // Make the request
            ProductBiddingCategoryConstant response = await productBiddingCategoryConstantServiceClient.GetProductBiddingCategoryConstantAsync(resourceName);

            // End snippet
        }