Пример #1
0
 /// <summary>Snippet for Delete</summary>
 public void Delete()
 {
     // Snippet: Delete(string, string, string, CallSettings)
     // Create client
     ForwardingRulesClient forwardingRulesClient = ForwardingRulesClient.Create();
     // Initialize request argument(s)
     string project        = "";
     string region         = "";
     string forwardingRule = "";
     // Make the request
     Operation response = forwardingRulesClient.Delete(project, region, forwardingRule);
     // End snippet
 }
Пример #2
0
 /// <summary>Snippet for Delete</summary>
 public void DeleteRequestObject()
 {
     // Snippet: Delete(DeleteForwardingRuleRequest, CallSettings)
     // Create client
     ForwardingRulesClient forwardingRulesClient = ForwardingRulesClient.Create();
     // Initialize request argument(s)
     DeleteForwardingRuleRequest request = new DeleteForwardingRuleRequest
     {
         RequestId      = "",
         Region         = "",
         Project        = "",
         ForwardingRule = "",
     };
     // Make the request
     Operation response = forwardingRulesClient.Delete(request);
     // End snippet
 }