/// <summary>Snippet for AggregatedList</summary> public void AggregatedList() { // Snippet: AggregatedList(string, CallSettings) // Create client AutoscalersClient autoscalersClient = AutoscalersClient.Create(); // Initialize request argument(s) string project = ""; // Make the request AutoscalerAggregatedList response = autoscalersClient.AggregatedList(project); // End snippet }
/// <summary>Snippet for AggregatedListAsync</summary> public async Task AggregatedListAsync() { // Snippet: AggregatedListAsync(string, CallSettings) // Additional: AggregatedListAsync(string, CancellationToken) // Create client AutoscalersClient autoscalersClient = await AutoscalersClient.CreateAsync(); // Initialize request argument(s) string project = ""; // Make the request AutoscalerAggregatedList response = await autoscalersClient.AggregatedListAsync(project); // End snippet }
/// <summary>Snippet for AggregatedList</summary> public void AggregatedListRequestObject() { // Snippet: AggregatedList(AggregatedListAutoscalersRequest, CallSettings) // Create client AutoscalersClient autoscalersClient = AutoscalersClient.Create(); // Initialize request argument(s) AggregatedListAutoscalersRequest request = new AggregatedListAutoscalersRequest { PageToken = "", MaxResults = 0U, Filter = "", IncludeAllScopes = false, OrderBy = "", Project = "", ReturnPartialSuccess = false, }; // Make the request AutoscalerAggregatedList response = autoscalersClient.AggregatedList(request); // End snippet }
/// <summary>Snippet for AggregatedListAsync</summary> public async Task AggregatedListRequestObjectAsync() { // Snippet: AggregatedListAsync(AggregatedListAutoscalersRequest, CallSettings) // Additional: AggregatedListAsync(AggregatedListAutoscalersRequest, CancellationToken) // Create client AutoscalersClient autoscalersClient = await AutoscalersClient.CreateAsync(); // Initialize request argument(s) AggregatedListAutoscalersRequest request = new AggregatedListAutoscalersRequest { PageToken = "", MaxResults = 0U, Filter = "", IncludeAllScopes = false, OrderBy = "", Project = "", ReturnPartialSuccess = false, }; // Make the request AutoscalerAggregatedList response = await autoscalersClient.AggregatedListAsync(request); // End snippet }