Skip to content

Commit

Permalink
docs: add the fields for setting CX virtual agent session parameters
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 446825520

Source-Link: googleapis/googleapis@f6bb255

Source-Link: googleapis/googleapis-gen@cd1450b
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRGlhbG9nZmxvdy5WMi8uT3dsQm90LnlhbWwiLCJoIjoiY2QxNDUwYjQwM2I1YTNmOTI2NzZkOGEzNGYwY2ZjMDdmYzc2N2I0MCJ9
  • Loading branch information
gcf-owl-bot[bot] authored and jskeet committed May 6, 2022
1 parent 6e61aab commit f697491
Show file tree
Hide file tree
Showing 6 changed files with 207 additions and 141 deletions.
Expand Up @@ -18,6 +18,7 @@ namespace Google.Cloud.Dialogflow.V2.Snippets
{
// [START dialogflow_v2_generated_Participants_AnalyzeContent_async]
using Google.Cloud.Dialogflow.V2;
using Google.Protobuf.WellKnownTypes;
using System.Threading.Tasks;

public sealed partial class GeneratedParticipantsClientSnippets
Expand All @@ -40,6 +41,7 @@ public async Task AnalyzeContentRequestObjectAsync()
QueryParams = new QueryParameters(),
RequestId = "",
AssistQueryParams = new AssistQueryParameters(),
CxParameters = new Struct(),
};
// Make the request
AnalyzeContentResponse response = await participantsClient.AnalyzeContentAsync(request);
Expand Down
Expand Up @@ -18,6 +18,7 @@ namespace Google.Cloud.Dialogflow.V2.Snippets
{
// [START dialogflow_v2_generated_Participants_AnalyzeContent_sync]
using Google.Cloud.Dialogflow.V2;
using Google.Protobuf.WellKnownTypes;

public sealed partial class GeneratedParticipantsClientSnippets
{
Expand All @@ -39,6 +40,7 @@ public void AnalyzeContentRequestObject()
QueryParams = new QueryParameters(),
RequestId = "",
AssistQueryParams = new AssistQueryParameters(),
CxParameters = new Struct(),
};
// Make the request
AnalyzeContentResponse response = participantsClient.AnalyzeContent(request);
Expand Down
Expand Up @@ -560,6 +560,7 @@ public void AnalyzeContentRequestObject()
QueryParams = new QueryParameters(),
RequestId = "",
AssistQueryParams = new AssistQueryParameters(),
CxParameters = new Struct(),
};
// Make the request
AnalyzeContentResponse response = participantsClient.AnalyzeContent(request);
Expand All @@ -582,6 +583,7 @@ public async Task AnalyzeContentRequestObjectAsync()
QueryParams = new QueryParameters(),
RequestId = "",
AssistQueryParams = new AssistQueryParameters(),
CxParameters = new Struct(),
};
// Make the request
AnalyzeContentResponse response = await participantsClient.AnalyzeContentAsync(request);
Expand Down
Expand Up @@ -514,6 +514,7 @@ public void AnalyzeContentRequestObject()
QueryParams = new QueryParameters(),
RequestId = "request_id362c8df6",
AssistQueryParams = new AssistQueryParameters(),
CxParameters = new wkt::Struct(),
};
AnalyzeContentResponse expectedResponse = new AnalyzeContentResponse
{
Expand Down Expand Up @@ -551,6 +552,7 @@ public void AnalyzeContentRequestObject()
QueryParams = new QueryParameters(),
RequestId = "request_id362c8df6",
AssistQueryParams = new AssistQueryParameters(),
CxParameters = new wkt::Struct(),
};
AnalyzeContentResponse expectedResponse = new AnalyzeContentResponse
{
Expand Down
Expand Up @@ -155,6 +155,7 @@ public sealed partial class Fulfillment : pb::IMessage<Fulfillment>
/// <summary>
/// Required. The unique identifier of the fulfillment.
/// Supported formats:
///
/// - `projects/{Project ID}/agent/fulfillment`
/// - `projects/{Project ID}/locations/{Location ID}/agent/fulfillment`
///
Expand Down Expand Up @@ -493,8 +494,10 @@ public static partial class Types {
/// <summary>
/// Represents configuration for a generic web service.
/// Dialogflow supports two mechanisms for authentications:
///
/// - Basic authentication with username and password.
/// - Authentication with additional authentication headers.
///
/// More information could be found at:
/// https://cloud.google.com/dialogflow/docs/fulfillment-configure.
/// </summary>
Expand Down

0 comments on commit f697491

Please sign in to comment.