Exemple #1
0
 /// <summary>Snippet for GetFlow</summary>
 public void GetFlow()
 {
     // Snippet: GetFlow(string, CallSettings)
     // Create client
     FlowsClient flowsClient = FlowsClient.Create();
     // Initialize request argument(s)
     string name = "projects/[PROJECT]/locations/[LOCATION]/agents/[AGENT]/flows/[FLOW]";
     // Make the request
     Flow response = flowsClient.GetFlow(name);
     // End snippet
 }
Exemple #2
0
 /// <summary>Snippet for GetFlow</summary>
 public void GetFlowResourceNames()
 {
     // Snippet: GetFlow(FlowName, CallSettings)
     // Create client
     FlowsClient flowsClient = FlowsClient.Create();
     // Initialize request argument(s)
     FlowName name = FlowName.FromProjectLocationAgentFlow("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]");
     // Make the request
     Flow response = flowsClient.GetFlow(name);
     // End snippet
 }
Exemple #3
0
 /// <summary>Snippet for GetFlow</summary>
 public void GetFlowRequestObject()
 {
     // Snippet: GetFlow(GetFlowRequest, CallSettings)
     // Create client
     FlowsClient flowsClient = FlowsClient.Create();
     // Initialize request argument(s)
     GetFlowRequest request = new GetFlowRequest
     {
         FlowName     = FlowName.FromProjectLocationAgentFlow("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]"),
         LanguageCode = "",
     };
     // Make the request
     Flow response = flowsClient.GetFlow(request);
     // End snippet
 }