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