/// <summary>Snippet for GetBillingSetupAsync</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 GetBillingSetupResourceNamesAsync() { // Create client BillingSetupServiceClient billingSetupServiceClient = await BillingSetupServiceClient.CreateAsync(); // Initialize request argument(s) BillingSetupName resourceName = BillingSetupName.FromCustomerBillingSetup("[CUSTOMER_ID]", "[BILLING_SETUP_ID]"); // Make the request BillingSetup response = await billingSetupServiceClient.GetBillingSetupAsync(resourceName); }
/// <summary>Snippet for GetBillingSetupAsync</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 GetBillingSetupAsync() { // Create client BillingSetupServiceClient billingSetupServiceClient = await BillingSetupServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/billingSetups/[BILLING_SETUP_ID]"; // Make the request BillingSetup response = await billingSetupServiceClient.GetBillingSetupAsync(resourceName); }
/// <summary>Snippet for GetBillingSetupAsync</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 GetBillingSetupRequestObjectAsync() { // Create client BillingSetupServiceClient billingSetupServiceClient = await BillingSetupServiceClient.CreateAsync(); // Initialize request argument(s) GetBillingSetupRequest request = new GetBillingSetupRequest { ResourceNameAsBillingSetupName = BillingSetupName.FromCustomerBillingSetup("[CUSTOMER]", "[BILLING_SETUP]"), }; // Make the request BillingSetup response = await billingSetupServiceClient.GetBillingSetupAsync(request); }
/// <summary>Snippet for GetBillingSetupAsync</summary> public async Task GetBillingSetupAsync() { // Snippet: GetBillingSetupAsync(string, CallSettings) // Additional: GetBillingSetupAsync(string, CancellationToken) // Create client BillingSetupServiceClient billingSetupServiceClient = await BillingSetupServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER]/billingSetups/[BILLING_SETUP]"; // Make the request BillingSetup response = await billingSetupServiceClient.GetBillingSetupAsync(resourceName); // End snippet }
/// <summary>Snippet for GetBillingSetupAsync</summary> public async Task GetBillingSetupResourceNamesAsync() { // Snippet: GetBillingSetupAsync(BillingSetupName, CallSettings) // Additional: GetBillingSetupAsync(BillingSetupName, CancellationToken) // Create client BillingSetupServiceClient billingSetupServiceClient = await BillingSetupServiceClient.CreateAsync(); // Initialize request argument(s) BillingSetupName resourceName = BillingSetupName.FromCustomerBillingSetup("[CUSTOMER]", "[BILLING_SETUP]"); // Make the request BillingSetup response = await billingSetupServiceClient.GetBillingSetupAsync(resourceName); // End snippet }