/// <summary>Snippet for GetAsync</summary> public async Task GetAsync() { // Snippet: GetAsync(string, string, string, CallSettings) // Additional: GetAsync(string, string, string, CancellationToken) // Create client NodeTypesClient nodeTypesClient = await NodeTypesClient.CreateAsync(); // Initialize request argument(s) string project = ""; string zone = ""; string nodeType = ""; // Make the request NodeType response = await nodeTypesClient.GetAsync(project, zone, nodeType); // End snippet }
/// <summary>Snippet for GetAsync</summary> public async Task GetRequestObjectAsync() { // Snippet: GetAsync(GetNodeTypeRequest, CallSettings) // Additional: GetAsync(GetNodeTypeRequest, CancellationToken) // Create client NodeTypesClient nodeTypesClient = await NodeTypesClient.CreateAsync(); // Initialize request argument(s) GetNodeTypeRequest request = new GetNodeTypeRequest { Zone = "", Project = "", NodeType = "", }; // Make the request NodeType response = await nodeTypesClient.GetAsync(request); // End snippet }