/// <summary>Snippet for GetAsync</summary> public async Task GetAsync() { // Snippet: GetAsync(string, string, string, CallSettings) // Additional: GetAsync(string, string, string, CancellationToken) // Create client TargetPoolsClient targetPoolsClient = await TargetPoolsClient.CreateAsync(); // Initialize request argument(s) string project = ""; string region = ""; string targetPool = ""; // Make the request TargetPool response = await targetPoolsClient.GetAsync(project, region, targetPool); // End snippet }
/// <summary>Snippet for GetAsync</summary> public async Task GetRequestObjectAsync() { // Snippet: GetAsync(GetTargetPoolRequest, CallSettings) // Additional: GetAsync(GetTargetPoolRequest, CancellationToken) // Create client TargetPoolsClient targetPoolsClient = await TargetPoolsClient.CreateAsync(); // Initialize request argument(s) GetTargetPoolRequest request = new GetTargetPoolRequest { TargetPool = "", Region = "", Project = "", }; // Make the request TargetPool response = await targetPoolsClient.GetAsync(request); // End snippet }