示例#1
0
 /// <summary>Snippet for Get</summary>
 public void Get()
 {
     // Snippet: Get(string, string, string, CallSettings)
     // Create client
     NodeGroupsClient nodeGroupsClient = NodeGroupsClient.Create();
     // Initialize request argument(s)
     string project   = "";
     string zone      = "";
     string nodeGroup = "";
     // Make the request
     NodeGroup response = nodeGroupsClient.Get(project, zone, nodeGroup);
     // End snippet
 }
示例#2
0
 /// <summary>Snippet for Get</summary>
 public void GetRequestObject()
 {
     // Snippet: Get(GetNodeGroupRequest, CallSettings)
     // Create client
     NodeGroupsClient nodeGroupsClient = NodeGroupsClient.Create();
     // Initialize request argument(s)
     GetNodeGroupRequest request = new GetNodeGroupRequest
     {
         Zone      = "",
         NodeGroup = "",
         Project   = "",
     };
     // Make the request
     NodeGroup response = nodeGroupsClient.Get(request);
     // End snippet
 }