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