/// <summary>Snippet for GetAgentValidationResult</summary>
 public void GetAgentValidationResultResourceNames()
 {
     // Snippet: GetAgentValidationResult(AgentValidationResultName, CallSettings)
     // Create client
     AgentsClient agentsClient = AgentsClient.Create();
     // Initialize request argument(s)
     AgentValidationResultName name = AgentValidationResultName.FromProjectLocationAgent("[PROJECT]", "[LOCATION]", "[AGENT]");
     // Make the request
     AgentValidationResult response = agentsClient.GetAgentValidationResult(name);
     // End snippet
 }
        /// <summary>Snippet for GetAgentValidationResultAsync</summary>
        public async Task GetAgentValidationResultResourceNamesAsync()
        {
            // Snippet: GetAgentValidationResultAsync(AgentValidationResultName, CallSettings)
            // Additional: GetAgentValidationResultAsync(AgentValidationResultName, CancellationToken)
            // Create client
            AgentsClient agentsClient = await AgentsClient.CreateAsync();

            // Initialize request argument(s)
            AgentValidationResultName name = AgentValidationResultName.FromProjectLocationAgent("[PROJECT]", "[LOCATION]", "[AGENT]");
            // Make the request
            AgentValidationResult response = await agentsClient.GetAgentValidationResultAsync(name);

            // End snippet
        }
 /// <summary>Snippet for GetAgentValidationResult</summary>
 public void GetAgentValidationResultRequestObject()
 {
     // Snippet: GetAgentValidationResult(GetAgentValidationResultRequest, CallSettings)
     // Create client
     AgentsClient agentsClient = AgentsClient.Create();
     // Initialize request argument(s)
     GetAgentValidationResultRequest request = new GetAgentValidationResultRequest
     {
         AgentValidationResultName = AgentValidationResultName.FromProjectLocationAgent("[PROJECT]", "[LOCATION]", "[AGENT]"),
         LanguageCode = "",
     };
     // Make the request
     AgentValidationResult response = agentsClient.GetAgentValidationResult(request);
     // End snippet
 }
        /// <summary>Snippet for GetAgentValidationResultAsync</summary>
        public async Task GetAgentValidationResultRequestObjectAsync()
        {
            // Snippet: GetAgentValidationResultAsync(GetAgentValidationResultRequest, CallSettings)
            // Additional: GetAgentValidationResultAsync(GetAgentValidationResultRequest, CancellationToken)
            // Create client
            AgentsClient agentsClient = await AgentsClient.CreateAsync();

            // Initialize request argument(s)
            GetAgentValidationResultRequest request = new GetAgentValidationResultRequest
            {
                AgentValidationResultName = AgentValidationResultName.FromProjectLocationAgent("[PROJECT]", "[LOCATION]", "[AGENT]"),
                LanguageCode = "",
            };
            // Make the request
            AgentValidationResult response = await agentsClient.GetAgentValidationResultAsync(request);

            // End snippet
        }