コード例 #1
0
 /// <summary>Snippet for Get</summary>
 public void Get()
 {
     // Snippet: Get(string, string, CallSettings)
     // Create client
     RegionsClient regionsClient = RegionsClient.Create();
     // Initialize request argument(s)
     string project = "";
     string region  = "";
     // Make the request
     Region response = regionsClient.Get(project, region);
     // End snippet
 }
コード例 #2
0
 /// <summary>Snippet for Get</summary>
 public void GetRequestObject()
 {
     // Snippet: Get(GetRegionRequest, CallSettings)
     // Create client
     RegionsClient regionsClient = RegionsClient.Create();
     // Initialize request argument(s)
     GetRegionRequest request = new GetRegionRequest
     {
         Region  = "",
         Project = "",
     };
     // Make the request
     Region response = regionsClient.Get(request);
     // End snippet
 }