Exemple #1
0
 /// <summary>Snippet for DeletePhoneNumberInstance</summary>
 public void DeletePhoneNumberInstance()
 {
     // Snippet: DeletePhoneNumberInstance(string, CallSettings)
     // Create client
     PhoneNumberInstancesClient phoneNumberInstancesClient = PhoneNumberInstancesClient.Create();
     // Initialize request argument(s)
     string name = "projects/[PROJECT]/phoneNumberInstances/[PHONE_NUMBER_INSTANCE]";
     // Make the request
     PhoneNumberInstance response = phoneNumberInstancesClient.DeletePhoneNumberInstance(name);
     // End snippet
 }
Exemple #2
0
 /// <summary>Snippet for DeletePhoneNumberInstance</summary>
 public void DeletePhoneNumberInstanceResourceNames()
 {
     // Snippet: DeletePhoneNumberInstance(PhoneNumberInstanceName, CallSettings)
     // Create client
     PhoneNumberInstancesClient phoneNumberInstancesClient = PhoneNumberInstancesClient.Create();
     // Initialize request argument(s)
     PhoneNumberInstanceName name = PhoneNumberInstanceName.FromProjectPhoneNumberInstance("[PROJECT]", "[PHONE_NUMBER_INSTANCE]");
     // Make the request
     PhoneNumberInstance response = phoneNumberInstancesClient.DeletePhoneNumberInstance(name);
     // End snippet
 }
Exemple #3
0
 /// <summary>Snippet for DeletePhoneNumberInstance</summary>
 public void DeletePhoneNumberInstanceRequestObject()
 {
     // Snippet: DeletePhoneNumberInstance(DeletePhoneNumberInstanceRequest, CallSettings)
     // Create client
     PhoneNumberInstancesClient phoneNumberInstancesClient = PhoneNumberInstancesClient.Create();
     // Initialize request argument(s)
     DeletePhoneNumberInstanceRequest request = new DeletePhoneNumberInstanceRequest
     {
         PhoneNumberInstanceName = PhoneNumberInstanceName.FromProjectPhoneNumberInstance("[PROJECT]", "[PHONE_NUMBER_INSTANCE]"),
     };
     // Make the request
     PhoneNumberInstance response = phoneNumberInstancesClient.DeletePhoneNumberInstance(request);
     // End snippet
 }