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