Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit 560e6a4

Browse files
docs: improved docs format (#275)
* docs: improved docs format PiperOrigin-RevId: 436315342 Source-Link: googleapis/googleapis@321e5e4 Source-Link: https://github.com/googleapis/googleapis-gen/commit/c7fc4e354fe2fb2896d3d024cc8bd637836ced3f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzdmYzRlMzU0ZmUyZmIyODk2ZDNkMDI0Y2M4YmQ2Mzc4MzZjZWQzZiJ9 * 🦉 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 06d6fa6 commit 560e6a4

File tree

2 files changed

+43
-58
lines changed

2 files changed

+43
-58
lines changed

google/cloud/dialogflowcx_v3/types/session.py

Lines changed: 29 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -435,18 +435,13 @@ class QueryParameters(proto.Message):
435435
436436
- MapKey type: string
437437
- MapKey value: parameter name
438-
- MapValue type:
439-
440-
- If parameter's entity type is a composite entity: map
441-
- Else: depending on parameter value type, could be one
442-
of string, number, boolean, null, list or map
443-
444-
- MapValue value:
445-
446-
- If parameter's entity type is a composite entity: map
447-
from composite entity property names to property
448-
values
449-
- Else: parameter value
438+
- MapValue type: If parameter's entity type is a composite
439+
entity then use map, otherwise, depending on the
440+
parameter value type, it could be one of string, number,
441+
boolean, null, list or map.
442+
- MapValue value: If parameter's entity type is a composite
443+
entity then use map from composite entity property names
444+
to property values, otherwise, use parameter value.
450445
current_page (str):
451446
The unique identifier of the
452447
[page][google.cloud.dialogflow.cx.v3.Page] to override the
@@ -620,18 +615,13 @@ class QueryResult(proto.Message):
620615
621616
- MapKey type: string
622617
- MapKey value: parameter name
623-
- MapValue type:
624-
625-
- If parameter's entity type is a composite entity: map
626-
- Else: depending on parameter value type, could be one
627-
of string, number, boolean, null, list or map
628-
629-
- MapValue value:
630-
631-
- If parameter's entity type is a composite entity: map
632-
from composite entity property names to property
633-
values
634-
- Else: parameter value
618+
- MapValue type: If parameter's entity type is a composite
619+
entity then use map, otherwise, depending on the
620+
parameter value type, it could be one of string, number,
621+
boolean, null, list or map.
622+
- MapValue value: If parameter's entity type is a composite
623+
entity then use map from composite entity property names
624+
to property values, otherwise, use parameter value.
635625
response_messages (Sequence[google.cloud.dialogflowcx_v3.types.ResponseMessage]):
636626
The list of rich messages returned to the
637627
client. Responses vary from simple text messages
@@ -805,25 +795,22 @@ class Match(proto.Message):
805795
[``NO_INPUT``][google.cloud.dialogflow.cx.v3.Match.MatchType]
806796
match types.
807797
parameters (google.protobuf.struct_pb2.Struct):
808-
The collection of parameters extracted from
809-
the query.
810-
Depending on your protocol or client library
811-
language, this is a map, associative array,
812-
symbol table, dictionary, or JSON object
813-
composed of a collection of (MapKey, MapValue)
798+
The collection of parameters extracted from the query.
799+
800+
Depending on your protocol or client library language, this
801+
is a map, associative array, symbol table, dictionary, or
802+
JSON object composed of a collection of (MapKey, MapValue)
814803
pairs:
815-
- MapKey type: string
816-
- MapKey value: parameter name
817-
- MapValue type:
818-
- If parameter's entity type is a
819-
composite entity: map - Else: depending on
820-
parameter value type, could be one of string,
821-
number, boolean, null, list or map
822-
- MapValue value:
823-
- If parameter's entity type is a
824-
composite entity: map from composite
825-
entity property names to property values -
826-
Else: parameter value
804+
805+
- MapKey type: string
806+
- MapKey value: parameter name
807+
- MapValue type: If parameter's entity type is a composite
808+
entity then use map, otherwise, depending on the
809+
parameter value type, it could be one of string, number,
810+
boolean, null, list or map.
811+
- MapValue value: If parameter's entity type is a composite
812+
entity then use map from composite entity property names
813+
to property values, otherwise, use parameter value.
827814
resolved_input (str):
828815
Final text input which was matched during
829816
MatchIntent. This value can be different from

google/cloud/dialogflowcx_v3/types/webhook.py

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -99,22 +99,20 @@ class GenericWebService(proto.Message):
9999
The HTTP request headers to send together
100100
with webhook requests.
101101
allowed_ca_certs (Sequence[bytes]):
102-
Optional. Specifies a list of allowed custom
103-
CA certificates (in DER format) for HTTPS
104-
verification. This overrides the default SSL
105-
trust store. If this is empty or unspecified,
106-
Dialogflow will use Google's default trust store
107-
to verify certificates.
108-
N.B. Make sure the HTTPS server certificates are
109-
signed with "subject alt name". For instance a
110-
certificate can be self-signed using the
111-
following command,
112-
openssl x509 -req -days 200 -in
113-
example.com.csr \ -signkey example.com.key
114-
\
115-
-out example.com.crt \
116-
-extfile <(printf
117-
"\nsubjectAltName='DNS:www.example.com'")
102+
Optional. Specifies a list of allowed custom CA certificates
103+
(in DER format) for HTTPS verification. This overrides the
104+
default SSL trust store. If this is empty or unspecified,
105+
Dialogflow will use Google's default trust store to verify
106+
certificates. N.B. Make sure the HTTPS server certificates
107+
are signed with "subject alt name". For instance a
108+
certificate can be self-signed using the following command,
109+
110+
::
111+
112+
openssl x509 -req -days 200 -in example.com.csr \
113+
-signkey example.com.key \
114+
-out example.com.crt \
115+
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
118116
"""
119117

120118
uri = proto.Field(proto.STRING, number=1,)

0 commit comments

Comments
 (0)