/// <summary>Snippet for ValidateAsync</summary> public async Task ValidateAsync() { // Snippet: ValidateAsync(string, string, UrlMapsValidateRequest, CallSettings) // Additional: ValidateAsync(string, string, UrlMapsValidateRequest, CancellationToken) // Create client UrlMapsClient urlMapsClient = await UrlMapsClient.CreateAsync(); // Initialize request argument(s) string project = ""; string urlMap = ""; UrlMapsValidateRequest urlMapsValidateRequestResource = new UrlMapsValidateRequest(); // Make the request UrlMapsValidateResponse response = await urlMapsClient.ValidateAsync(project, urlMap, urlMapsValidateRequestResource); // End snippet }
/// <summary>Snippet for ValidateAsync</summary> public async Task ValidateRequestObjectAsync() { // Snippet: ValidateAsync(ValidateUrlMapRequest, CallSettings) // Additional: ValidateAsync(ValidateUrlMapRequest, CancellationToken) // Create client UrlMapsClient urlMapsClient = await UrlMapsClient.CreateAsync(); // Initialize request argument(s) ValidateUrlMapRequest request = new ValidateUrlMapRequest { Project = "", UrlMap = "", UrlMapsValidateRequestResource = new UrlMapsValidateRequest(), }; // Make the request UrlMapsValidateResponse response = await urlMapsClient.ValidateAsync(request); // End snippet }