コード例 #1
0
 /// <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
 }
コード例 #2
0
 /// <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
 }