Пример #1
0
 /// <summary>Snippet for Get</summary>
 public void Get()
 {
     // Snippet: Get(string, string, string, CallSettings)
     // Create client
     NodeTemplatesClient nodeTemplatesClient = NodeTemplatesClient.Create();
     // Initialize request argument(s)
     string project      = "";
     string region       = "";
     string nodeTemplate = "";
     // Make the request
     NodeTemplate response = nodeTemplatesClient.Get(project, region, nodeTemplate);
     // End snippet
 }
Пример #2
0
 /// <summary>Snippet for Get</summary>
 public void GetRequestObject()
 {
     // Snippet: Get(GetNodeTemplateRequest, CallSettings)
     // Create client
     NodeTemplatesClient nodeTemplatesClient = NodeTemplatesClient.Create();
     // Initialize request argument(s)
     GetNodeTemplateRequest request = new GetNodeTemplateRequest
     {
         Region       = "",
         Project      = "",
         NodeTemplate = "",
     };
     // Make the request
     NodeTemplate response = nodeTemplatesClient.Get(request);
     // End snippet
 }