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