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