/// <summary>Snippet for DeleteBudget</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void DeleteBudgetResourceNames() { // Create client BudgetServiceClient budgetServiceClient = BudgetServiceClient.Create(); // Initialize request argument(s) BudgetName name = BudgetName.FromBillingAccountBudget("[BILLING_ACCOUNT]", "[BUDGET]"); // Make the request budgetServiceClient.DeleteBudget(name); }
/// <summary>Snippet for DeleteBudget</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void DeleteBudget() { // Create client BudgetServiceClient budgetServiceClient = BudgetServiceClient.Create(); // Initialize request argument(s) string name = "billingAccounts/[BILLING_ACCOUNT]/budgets/[BUDGET]"; // Make the request budgetServiceClient.DeleteBudget(name); }
/// <summary>Snippet for DeleteBudget</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void DeleteBudgetRequestObject() { // Create client BudgetServiceClient budgetServiceClient = BudgetServiceClient.Create(); // Initialize request argument(s) DeleteBudgetRequest request = new DeleteBudgetRequest { BudgetName = BudgetName.FromBillingAccountBudget("[BILLING_ACCOUNT]", "[BUDGET]"), }; // Make the request budgetServiceClient.DeleteBudget(request); }