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