Skip to content

Commit 321e5e4

Browse files
Google APIscopybara-github
authored andcommitted
docs: improved docs format
PiperOrigin-RevId: 436315342
1 parent f6d7ccb commit 321e5e4

2 files changed

Lines changed: 26 additions & 30 deletions

File tree

google/cloud/dialogflow/cx/v3/session.proto

Lines changed: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -438,16 +438,14 @@ message QueryParameters {
438438
// map, associative array, symbol table, dictionary, or JSON object
439439
// composed of a collection of (MapKey, MapValue) pairs:
440440
//
441-
// - MapKey type: string
442-
// - MapKey value: parameter name
443-
// - MapValue type:
444-
// - If parameter's entity type is a composite entity: map
445-
// - Else: depending on parameter value type, could be one of string,
446-
// number, boolean, null, list or map
447-
// - MapValue value:
448-
// - If parameter's entity type is a composite entity:
449-
// map from composite entity property names to property values
450-
// - Else: parameter value
441+
// * MapKey type: string
442+
// * MapKey value: parameter name
443+
// * MapValue type: If parameter's entity type is a composite entity then use
444+
// map, otherwise, depending on the parameter value type, it could be one of
445+
// string, number, boolean, null, list or map.
446+
// * MapValue value: If parameter's entity type is a composite entity then use
447+
// map from composite entity property names to property values, otherwise,
448+
// use parameter value.
451449
google.protobuf.Struct parameters = 5;
452450

453451
// The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
@@ -573,16 +571,14 @@ message QueryResult {
573571
// map, associative array, symbol table, dictionary, or JSON object
574572
// composed of a collection of (MapKey, MapValue) pairs:
575573
//
576-
// - MapKey type: string
577-
// - MapKey value: parameter name
578-
// - MapValue type:
579-
// - If parameter's entity type is a composite entity: map
580-
// - Else: depending on parameter value type, could be one of string,
581-
// number, boolean, null, list or map
582-
// - MapValue value:
583-
// - If parameter's entity type is a composite entity:
584-
// map from composite entity property names to property values
585-
// - Else: parameter value
574+
// * MapKey type: string
575+
// * MapKey value: parameter name
576+
// * MapValue type: If parameter's entity type is a composite entity then use
577+
// map, otherwise, depending on the parameter value type, it could be one of
578+
// string, number, boolean, null, list or map.
579+
// * MapValue value: If parameter's entity type is a composite entity then use
580+
// map from composite entity property names to property values, otherwise,
581+
// use parameter value.
586582
google.protobuf.Struct parameters = 3;
587583

588584
// The list of rich messages returned to the client. Responses vary from
@@ -726,16 +722,14 @@ message Match {
726722
// map, associative array, symbol table, dictionary, or JSON object
727723
// composed of a collection of (MapKey, MapValue) pairs:
728724
//
729-
// - MapKey type: string
730-
// - MapKey value: parameter name
731-
// - MapValue type:
732-
// - If parameter's entity type is a composite entity: map
733-
// - Else: depending on parameter value type, could be one of string,
734-
// number, boolean, null, list or map
735-
// - MapValue value:
736-
// - If parameter's entity type is a composite entity:
737-
// map from composite entity property names to property values
738-
// - Else: parameter value
725+
// * MapKey type: string
726+
// * MapKey value: parameter name
727+
// * MapValue type: If parameter's entity type is a composite entity then use
728+
// map, otherwise, depending on the parameter value type, it could be one of
729+
// string, number, boolean, null, list or map.
730+
// * MapValue value: If parameter's entity type is a composite entity then use
731+
// map from composite entity property names to property values, otherwise,
732+
// use parameter value.
739733
google.protobuf.Struct parameters = 2;
740734

741735
// Final text input which was matched during MatchIntent. This value can be

google/cloud/dialogflow/cx/v3/webhook.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,12 @@ message Webhook {
121121
// N.B. Make sure the HTTPS server certificates are signed with "subject alt
122122
// name". For instance a certificate can be self-signed using the following
123123
// command,
124+
// ```
124125
// openssl x509 -req -days 200 -in example.com.csr \
125126
// -signkey example.com.key \
126127
// -out example.com.crt \
127128
// -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
129+
// ```
128130
repeated bytes allowed_ca_certs = 5 [(google.api.field_behavior) = OPTIONAL];
129131
}
130132

0 commit comments

Comments
 (0)