10BC0 chore: Update gapic-generator-python to v1.11.3 (#650) · googleapis/python-dialogflow@b43b4c3 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

Commit b43b4c3

Browse files
chore: Update gapic-generator-python to v1.11.3 (#650)
* chore: Update gapic-generator-python to v1.11.3 PiperOrigin-RevId: 546899192 Source-Link: googleapis/googleapis@e6b1691 Source-Link: https://github.com/googleapis/googleapis-gen/commit/0b3917c421cbda7fcb67092e16c33f3ea46f4bc7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMGIzOTE3YzQyMWNiZGE3ZmNiNjcwOTJlMTZjMzNmM2VhNDZmNGJjNyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 7aa8208 commit b43b4c3

File tree

14 files changed

+85
-68
lines changed

14 files changed

+85
-68
lines changed

google/cloud/dialogflow_v2/services/sessions/async_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ async def sample_detect_intent():
316316
query_input (:class:`google.cloud.dialogflow_v2.types.QueryInput`):
317317
Required. The input specification. It
318318
can be set to:
319+
319320
1. an audio config
320321
which instructs the speech
321322
recognizer how to process the speech

google/cloud/dialogflow_v2/services/sessions/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ def sample_detect_intent():
600600
query_input (google.cloud.dialogflow_v2.types.QueryInput):
601601
Required. The input specification. It
602602
can be set to:
603+
603604
1. an audio config
604605
which instructs the speech
605606
recognizer how to process the speech

google/cloud/dialogflow_v2/types/context.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,15 @@ class Context(proto.Message):
9494
- MapKey value: parameter name
9595
- MapValue type:
9696
- If parameter's entity type is a
97-
composite entity: map - Else: depending on
98-
parameter value type, could be one of string,
99-
number, boolean, null, list or map
97+
composite entity: map
98+
- Else: depending on parameter value type,
99+
could be one of string, number,
100+
boolean, null, list or map
100101
- MapValue value:
101102
- If parameter's entity type is a
102-
composite entity: map from composite
103-
entity property names to property values -
104-
Else: parameter value
103+
composite entity: map from composite
104+
entity property names to property values
105+
- Else: parameter value
105106
"""
106107

107108
name: str = proto.Field(

google/cloud/dialogflow_v2/types/gcs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ class GcsSources(proto.Message):
3535
uris (MutableSequence[str]):
3636
Required. Google Cloud Storage URIs for the
3737
inputs. A URI is of the form:
38-
gs://bucket/object-prefix-or-name Whether a
39-
prefix or name is used depends on the use case.
38+
gs://bucket/object-prefix-or-name
39+
Whether a prefix or name is used depends on the
40+
use case.
4041
"""
4142

4243
uris: MutableSequence[str] = proto.RepeatedField(

google/cloud/dialogflow_v2/types/session.py

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class DetectIntentRequest(proto.Message):
8080
query_input (google.cloud.dialogflow_v2.types.QueryInput):
8181
Required. The input specification. It can be
8282
set to:
83+
8384
1. an audio config
8485
which instructs the speech recognizer how to
8586
process the speech audio,
@@ -388,14 +389,15 @@ class QueryResult(proto.Message):
388389
- MapKey value: parameter name
389390
- MapValue type:
390391
- If parameter's entity type is a
391-
composite entity: map - Else: depending on
392-
parameter value type, could be one of string,
393-
number, boolean, null, list or map
392+
composite entity: map
393+
- Else: depending on parameter value type,
394+
could be one of string, number,
395+
boolean, null, list or map
394396
- MapValue value:
395397
- If parameter's entity type is a
396-
composite entity: map from composite
397-
entity property names to property values -
398-
Else: parameter value
398+
composite entity: map from composite
399+
entity property names to property values
400+
- Else: parameter value
399401
all_required_params_present (bool):
400402
This field is set to:
401403
@@ -601,6 +603,7 @@ class StreamingDetectIntentRequest(proto.Message):
601603
query_input (google.cloud.dialogflow_v2.types.QueryInput):
602604
Required. The input specification. It can be
603605
set to:
606+
604607
1. an audio config which instructs the speech
605608
recognizer how to process the speech audio,
606609
@@ -1103,14 +1106,15 @@ class EventInput(proto.Message):
11031106
- MapKey value: parameter name
11041107
- MapValue type:
11051108
- If parameter's entity type is a
1106-
composite entity: map - Else: depending on
1107-
parameter value type, could be one of string,
1108-
number, boolean, null, list or map
1109+
composite entity: map
1110+
- Else: depending on parameter value type,
1111+
could be one of string, number,
1112+
boolean, null, list or map
11091113
- MapValue value:
11101114
- If parameter's entity type is a
1111-
composite entity: map from composite
1112-
entity property names to property values -
1113-
Else: parameter value
1115+
composite entity: map from composite
1116+
entity property names to property values
1117+
- Else: parameter value
11141118
language_code (str):
11151119
Required. The language of this query. See `Language
11161120
Support <https://cloud.google.com/dialogflow/docs/reference/language>`__

google/cloud/dialogflow_v2/types/validation_result.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ class ValidationError(proto.Message):
3939
associated with. Format:
4040
4141
- "projects/<Project ID>/agent", if the error is
42-
associated with the entire agent.
42+
associated with the entire agent.
4343
- "projects/<Project ID>/agent/intents/<Intent
44-
ID>", if the error is associated with certain
45-
intents.
44+
ID>", if the error is associated with certain
45+
intents.
4646
- "projects/<Project
4747
ID>/agent/intents/<Intent
4848
Id>/trainingPhrases/<Training Phrase ID>", if
4949
the error is associated with certain intent
50-
training phrases. - "projects/<Project
51-
ID>/agent/intents/<Intent
52-
Id>/parameters/<Parameter ID>", if the error is
53-
associated with certain intent parameters. -
54-
"projects/<Project ID>/agent/entities/<Entity
55-
ID>", if the error is associated with certain
56-
entities.
50+
training phrases.
51+
- "projects/<Project ID>/agent/intents/<Intent
52+
Id>/parameters/<Parameter ID>", if the error
53+
is associated with certain intent parameters.
54+
- "projects/<Project ID>/agent/entities/<Entity
55+
ID>", if the error is associated with certain
56+
entities.
5757
error_message (str):
5858
The detailed error message.
5959
"""

google/cloud/dialogflow_v2beta1/services/sessions/async_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ async def sample_detect_intent():
322322
query_input (:class:`google.cloud.dialogflow_v2beta1.types.QueryInput`):
323323
Required. The input specification. It
324324
can be set to:
325+
325326
1. an audio config
326327
which instructs the speech
327328
recognizer how to process the speech

google/cloud/dialogflow_v2beta1/services/sessions/client.py

Original file line numberDiff line numberDiff line change
@@ -626,6 +626,7 @@ def sample_detect_intent():
626626
query_input (google.cloud.dialogflow_v2beta1.types.QueryInput):
627627
Required. The input specification. It
628628
can be set to:
629+
629630
1. an audio config
630631
which instructs the speech
631632
recognizer how to process the speech

google/cloud/dialogflow_v2beta1/types/context.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,15 @@ class Context(proto.Message):
9797
- MapKey value: parameter name
9898
- MapValue type:
9999
- If parameter's entity type is a
100-
composite entity: map - Else: depending on
101-
parameter value type, could be one of string,
102-
number, boolean, null, list or map
100+
composite entity: map
101+
- Else: depending on parameter value type,
102+
could be one of string, number,
103+
boolean, null, list or map
103104
- MapValue value:
104105
- If parameter's entity type is a
105-
composite entity: map from composite
106-
entity property names to property values -
107-
Else: parameter value
106+
composite entity: map from composite
107+
entity property names to property values
108+
- Else: parameter value
108109
"""
109110

110111
name: str = proto.Field(

google/cloud/dialogflow_v2beta1/types/participant.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -816,14 +816,16 @@ class AnalyzeContentRequest(proto.Message):
816816
participant.
817817
818818
Given two messages under the same participant:
819-
- If send time are different regardless of
820-
whether the content of the messages are exactly
821-
the same, the conversation will regard them as
822-
two distinct messages sent by the participant.
823-
- If send time is the same regardless of whether
824-
the content of the messages are exactly the
825-
same, the conversation will regard them as same
826-
message, and ignore the message received later.
819+
- If send time are different regardless of
820+
whether the content of the messages are
821+
exactly the same, the conversation will regard
822+
them as two distinct messages sent by the
823+
participant.
824+
- If send time is the same regardless of
825+
whether the content of the messages are
826+
exactly the same, the conversation will regard
827+
them as same message, and ignore the message
828+
received later.
827829
If the value is not provided, a new request will
828830
always be regarded as a new message without any
829831
de-duplication.

0 commit comments

Comments
 (0)
0