/// <summary>Snippet for Patch</summary> public void PatchRequestObject() { // Snippet: Patch(PatchUrlMapRequest, CallSettings) // Create client UrlMapsClient urlMapsClient = UrlMapsClient.Create(); // Initialize request argument(s) PatchUrlMapRequest request = new PatchUrlMapRequest { RequestId = "", UrlMapResource = new UrlMap(), Project = "", UrlMap = "", }; // Make the request Operation response = urlMapsClient.Patch(request); // 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 }