Exemplo n.º 1
0
 /// <summary>Snippet for Patch</summary>
 public void Patch()
 {
     // Snippet: Patch(string, string, string, NodeGroup, CallSettings)
     // Create client
     NodeGroupsClient nodeGroupsClient = NodeGroupsClient.Create();
     // Initialize request argument(s)
     string    project           = "";
     string    zone              = "";
     string    nodeGroup         = "";
     NodeGroup nodeGroupResource = new NodeGroup();
     // Make the request
     Operation response = nodeGroupsClient.Patch(project, zone, nodeGroup, nodeGroupResource);
     // End snippet
 }
Exemplo n.º 2
0
 /// <summary>Snippet for Patch</summary>
 public void PatchRequestObject()
 {
     // Snippet: Patch(PatchNodeGroupRequest, CallSettings)
     // Create client
     NodeGroupsClient nodeGroupsClient = NodeGroupsClient.Create();
     // Initialize request argument(s)
     PatchNodeGroupRequest request = new PatchNodeGroupRequest
     {
         Zone              = "",
         RequestId         = "",
         NodeGroup         = "",
         Project           = "",
         NodeGroupResource = new NodeGroup(),
     };
     // Make the request
     Operation response = nodeGroupsClient.Patch(request);
     // End snippet
 }