Esempio n. 1
0
 /// <summary>Snippet for GetBillingAccount</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetBillingAccountResourceNames()
 {
     // Create client
     CloudBillingClient cloudBillingClient = CloudBillingClient.Create();
     // Initialize request argument(s)
     BillingAccountName name = BillingAccountName.FromBillingAccount("[BILLING_ACCOUNT]");
     // Make the request
     BillingAccount response = cloudBillingClient.GetBillingAccount(name);
 }
Esempio n. 2
0
 /// <summary>Snippet for GetBillingAccount</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetBillingAccount()
 {
     // Create client
     CloudBillingClient cloudBillingClient = CloudBillingClient.Create();
     // Initialize request argument(s)
     string name = "billingAccounts/[BILLING_ACCOUNT]";
     // Make the request
     BillingAccount response = cloudBillingClient.GetBillingAccount(name);
 }
Esempio n. 3
0
 /// <summary>Snippet for GetBillingAccount</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetBillingAccountRequestObject()
 {
     // Create client
     CloudBillingClient cloudBillingClient = CloudBillingClient.Create();
     // Initialize request argument(s)
     GetBillingAccountRequest request = new GetBillingAccountRequest
     {
         BillingAccountName = BillingAccountName.FromBillingAccount("[BILLING_ACCOUNT]"),
     };
     // Make the request
     BillingAccount response = cloudBillingClient.GetBillingAccount(request);
 }