/// <summary>Snippet for Validate</summary> public void Validate() { // Snippet: Validate(string, string, UrlMapsValidateRequest, CallSettings) // Create client UrlMapsClient urlMapsClient = UrlMapsClient.Create(); // Initialize request argument(s) string project = ""; string urlMap = ""; UrlMapsValidateRequest urlMapsValidateRequestResource = new UrlMapsValidateRequest(); // Make the request UrlMapsValidateResponse response = urlMapsClient.Validate(project, urlMap, urlMapsValidateRequestResource); // End snippet }
/// <summary>Snippet for Validate</summary> public void ValidateRequestObject() { // Snippet: Validate(ValidateUrlMapRequest, CallSettings) // Create client UrlMapsClient urlMapsClient = UrlMapsClient.Create(); // Initialize request argument(s) ValidateUrlMapRequest request = new ValidateUrlMapRequest { Project = "", UrlMap = "", UrlMapsValidateRequestResource = new UrlMapsValidateRequest(), }; // Make the request UrlMapsValidateResponse response = urlMapsClient.Validate(request); // End snippet }