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