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