Esempio n. 1
0
        /// <summary>Snippet for AggregatedListAsync</summary>
        public async Task AggregatedListAsync()
        {
            // Snippet: AggregatedListAsync(string, CallSettings)
            // Additional: AggregatedListAsync(string, CancellationToken)
            // Create client
            NodeGroupsClient nodeGroupsClient = await NodeGroupsClient.CreateAsync();

            // Initialize request argument(s)
            string project = "";
            // Make the request
            NodeGroupAggregatedList response = await nodeGroupsClient.AggregatedListAsync(project);

            // End snippet
        }
Esempio n. 2
0
        /// <summary>Snippet for AggregatedListAsync</summary>
        public async Task AggregatedListRequestObjectAsync()
        {
            // Snippet: AggregatedListAsync(AggregatedListNodeGroupsRequest, CallSettings)
            // Additional: AggregatedListAsync(AggregatedListNodeGroupsRequest, CancellationToken)
            // Create client
            NodeGroupsClient nodeGroupsClient = await NodeGroupsClient.CreateAsync();

            // Initialize request argument(s)
            AggregatedListNodeGroupsRequest request = new AggregatedListNodeGroupsRequest
            {
                PageToken            = "",
                MaxResults           = 0U,
                Filter               = "",
                IncludeAllScopes     = false,
                OrderBy              = "",
                Project              = "",
                ReturnPartialSuccess = false,
            };
            // Make the request
            NodeGroupAggregatedList response = await nodeGroupsClient.AggregatedListAsync(request);

            // End snippet
        }