Пример #1
0
 /// <summary>Snippet for Get</summary>
 public void Get()
 {
     // Snippet: Get(string, string, string, CallSettings)
     // Create client
     AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.Create();
     // Initialize request argument(s)
     string project         = "";
     string zone            = "";
     string acceleratorType = "";
     // Make the request
     AcceleratorType response = acceleratorTypesClient.Get(project, zone, acceleratorType);
     // End snippet
 }
Пример #2
0
 /// <summary>Snippet for Get</summary>
 public void GetRequestObject()
 {
     // Snippet: Get(GetAcceleratorTypeRequest, CallSettings)
     // Create client
     AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.Create();
     // Initialize request argument(s)
     GetAcceleratorTypeRequest request = new GetAcceleratorTypeRequest
     {
         Zone            = "",
         AcceleratorType = "",
         Project         = "",
     };
     // Make the request
     AcceleratorType response = acceleratorTypesClient.Get(request);
     // End snippet
 }