Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions google/cloud/dialogflow_v2/types/fulfillment.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ class Fulfillment(proto.Message):

class GenericWebService(proto.Message):
r"""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:
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.

Attributes:
Expand Down
13 changes: 13 additions & 0 deletions google/cloud/dialogflow_v2/types/participant.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,14 @@ class AnalyzeContentRequest(proto.Message):
query.
assist_query_params (google.cloud.dialogflow_v2.types.AssistQueryParameters):
Parameters for a human assist query.
cx_parameters (google.protobuf.struct_pb2.Struct):
Additional parameters to be put into
Dialogflow CX session parameters. To remove a
parameter from the session, clients should
explicitly set the parameter value to null.

Note: this field should only be used if you are
connecting to a Dialogflow CX agent.
request_id (str):
A unique identifier for this request. Restricted to 36 ASCII
characters. A random UUID is recommended. This request is
Expand Down Expand Up @@ -395,6 +403,11 @@ class AnalyzeContentRequest(proto.Message):
number=14,
message="AssistQueryParameters",
)
cx_parameters = proto.Field(
proto.MESSAGE,
number=18,
message=struct_pb2.Struct,
)
request_id = proto.Field(
proto.STRING,
number=11,
Expand Down
2 changes: 1 addition & 1 deletion scripts/fixup_dialogflow_v2_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def partition(
class dialogflowCallTransformer(cst.CSTTransformer):
CTRL_PARAMS: Tuple[str] = ('retry', 'timeout', 'metadata')
METHOD_TO_PARAMS: Dict[str, Tuple[str]] = {
'analyze_content': ('participant', 'text_input', 'event_input', 'reply_audio_config', 'query_params', 'assist_query_params', 'request_id', ),
'analyze_content': ('participant', 'text_input', 'event_input', 'reply_audio_config', 'query_params', 'assist_query_params', 'cx_parameters', 'request_id', ),
'batch_create_entities': ('parent', 'entities', 'language_code', ),
'batch_delete_entities': ('parent', 'entity_values', 'language_code', ),
'batch_delete_entity_types': ('parent', 'entity_type_names', ),
Expand Down