/// <summary>Snippet for PatchAsync</summary> public async Task PatchAsync() { // Snippet: PatchAsync(string, string, UrlMap, CallSettings) // Additional: PatchAsync(string, string, UrlMap, CancellationToken) // Create client UrlMapsClient urlMapsClient = await UrlMapsClient.CreateAsync(); // Initialize request argument(s) string project = ""; string urlMap = ""; UrlMap urlMapResource = new UrlMap(); // Make the request Operation response = await urlMapsClient.PatchAsync(project, urlMap, urlMapResource); // End snippet }
/// <summary>Snippet for PatchAsync</summary> public async Task PatchRequestObjectAsync() { // Snippet: PatchAsync(PatchUrlMapRequest, CallSettings) // Additional: PatchAsync(PatchUrlMapRequest, CancellationToken) // Create client UrlMapsClient urlMapsClient = await UrlMapsClient.CreateAsync(); // Initialize request argument(s) PatchUrlMapRequest request = new PatchUrlMapRequest { RequestId = "", UrlMapResource = new UrlMap(), Project = "", UrlMap = "", }; // Make the request Operation response = await urlMapsClient.PatchAsync(request); // End snippet }