コード例 #1
0
 /// <summary>Snippet for MatchIntent</summary>
 public void MatchIntentRequestObject()
 {
     // Snippet: MatchIntent(MatchIntentRequest, CallSettings)
     // Create client
     SessionsClient sessionsClient = SessionsClient.Create();
     // Initialize request argument(s)
     MatchIntentRequest request = new MatchIntentRequest
     {
         SessionAsSessionName = SessionName.FromProjectLocationAgentSession("[PROJECT]", "[LOCATION]", "[AGENT]", "[SESSION]"),
         QueryParams          = new QueryParameters(),
         QueryInput           = new QueryInput(),
     };
     // Make the request
     MatchIntentResponse response = sessionsClient.MatchIntent(request);
     // End snippet
 }