/// <summary>Snippet for ValidateAsync</summary> public async Task ValidateAsync() { // Snippet: ValidateAsync(string, string, string, RegionUrlMapsValidateRequest, CallSettings) // Additional: ValidateAsync(string, string, string, RegionUrlMapsValidateRequest, CancellationToken) // Create client RegionUrlMapsClient regionUrlMapsClient = await RegionUrlMapsClient.CreateAsync(); // Initialize request argument(s) string project = ""; string region = ""; string urlMap = ""; RegionUrlMapsValidateRequest regionUrlMapsValidateRequestResource = new RegionUrlMapsValidateRequest(); // Make the request UrlMapsValidateResponse response = await regionUrlMapsClient.ValidateAsync(project, region, urlMap, regionUrlMapsValidateRequestResource); // End snippet }
/// <summary>Snippet for ValidateAsync</summary> public async Task ValidateRequestObjectAsync() { // Snippet: ValidateAsync(ValidateRegionUrlMapRequest, CallSettings) // Additional: ValidateAsync(ValidateRegionUrlMapRequest, CancellationToken) // Create client RegionUrlMapsClient regionUrlMapsClient = await RegionUrlMapsClient.CreateAsync(); // Initialize request argument(s) ValidateRegionUrlMapRequest request = new ValidateRegionUrlMapRequest { RegionUrlMapsValidateRequestResource = new RegionUrlMapsValidateRequest(), Region = "", Project = "", UrlMap = "", }; // Make the request UrlMapsValidateResponse response = await regionUrlMapsClient.ValidateAsync(request); // End snippet }