/// <summary>Snippet for GetFlowValidationResult</summary> public void GetFlowValidationResult() { // Snippet: GetFlowValidationResult(string, CallSettings) // Create client FlowsClient flowsClient = FlowsClient.Create(); // Initialize request argument(s) string name = "projects/[PROJECT]/locations/[LOCATION]/agents/[AGENT]/flows/[FLOW]/validationResult"; // Make the request FlowValidationResult response = flowsClient.GetFlowValidationResult(name); // End snippet }
/// <summary>Snippet for GetFlowValidationResult</summary> public void GetFlowValidationResultResourceNames() { // Snippet: GetFlowValidationResult(FlowValidationResultName, CallSettings) // Create client FlowsClient flowsClient = FlowsClient.Create(); // Initialize request argument(s) FlowValidationResultName name = FlowValidationResultName.FromProjectLocationAgentFlow("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]"); // Make the request FlowValidationResult response = flowsClient.GetFlowValidationResult(name); // End snippet }
/// <summary>Snippet for GetFlowValidationResult</summary> public void GetFlowValidationResultRequestObject() { // Snippet: GetFlowValidationResult(GetFlowValidationResultRequest, CallSettings) // Create client FlowsClient flowsClient = FlowsClient.Create(); // Initialize request argument(s) GetFlowValidationResultRequest request = new GetFlowValidationResultRequest { FlowValidationResultName = FlowValidationResultName.FromProjectLocationAgentFlow("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]"), LanguageCode = "", }; // Make the request FlowValidationResult response = flowsClient.GetFlowValidationResult(request); // End snippet }