/// <summary>Snippet for UpdateAsync</summary> public async Task UpdateAsync() { // Snippet: UpdateAsync(string, string, UrlMap, CallSettings) // Additional: UpdateAsync(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.UpdateAsync(project, urlMap, urlMapResource); // End snippet }
/// <summary>Snippet for UpdateAsync</summary> public async Task UpdateRequestObjectAsync() { // Snippet: UpdateAsync(UpdateUrlMapRequest, CallSettings) // Additional: UpdateAsync(UpdateUrlMapRequest, CancellationToken) // Create client UrlMapsClient urlMapsClient = await UrlMapsClient.CreateAsync(); // Initialize request argument(s) UpdateUrlMapRequest request = new UpdateUrlMapRequest { RequestId = "", UrlMapResource = new UrlMap(), Project = "", UrlMap = "", }; // Make the request Operation response = await urlMapsClient.UpdateAsync(request); // End snippet }