google-cloud-dialogflow 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/lib/google/cloud/dialogflow/v2/agents_client.rb +6 -6
  4. data/lib/google/cloud/dialogflow/v2/contexts_client.rb +10 -10
  5. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb +10 -10
  6. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/context.rb +7 -7
  7. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb +25 -25
  8. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb +35 -35
  9. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb +53 -53
  10. data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session_entity_type.rb +12 -12
  11. data/lib/google/cloud/dialogflow/v2/doc/google/longrunning/operations.rb +9 -9
  12. data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/any.rb +8 -8
  13. data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/empty.rb +1 -1
  14. data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/field_mask.rb +7 -7
  15. data/lib/google/cloud/dialogflow/v2/doc/google/protobuf/struct.rb +11 -11
  16. data/lib/google/cloud/dialogflow/v2/doc/google/rpc/status.rb +11 -11
  17. data/lib/google/cloud/dialogflow/v2/entity_types_client.rb +30 -30
  18. data/lib/google/cloud/dialogflow/v2/intents_client.rb +17 -17
  19. data/lib/google/cloud/dialogflow/v2/session_entity_types_client.rb +10 -10
  20. data/lib/google/cloud/dialogflow/v2/sessions_client.rb +5 -5
  21. data/lib/google/cloud/dialogflow/v2.rb +13 -13
  22. data/lib/google/cloud/dialogflow.rb +13 -13
  23. metadata +3 -4
  24. data/lib/google/cloud/dialogflow/v2/doc/overview.rb +0 -81
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2c2de7934bfc3792d1afd5743480146f39681c7b68f5f8d3b90841cd620a787
4
- data.tar.gz: 69987a1e145dea5d54679111882f6c772db3b527c33c961317cf9747340d6762
3
+ metadata.gz: b5e2a2df17a5e2870c1dee948e116c78ec0eda890d967e8f07bcc17c8b62a264
4
+ data.tar.gz: 6877e0ceee8d65d851cd73c5255646e6d9ea3d400983cc2908b51e28ad520ff6
5
5
  SHA512:
6
- metadata.gz: 21ad9165032b242f98b0904b7031b66412207ef382d747f3f45857823a3087c10758b078d7d559311eba94c36de47ca241f5d398616e54de0e3eed1c1fd859b1
7
- data.tar.gz: 3f848c97bcf98a61e018d415382c52c70d78575ac946187d4da55264607d933d16859feec04f9773243072da61f6dac4e97e7297fe21de1d4ee3de26776e60e0
6
+ metadata.gz: 2ba971d823c5472521d2b8f69176b40be82f854bb7d408b6c752211345c0dbb0eeca0e25d16931d4113f759ced398ebee4e0edc33d7f0c57dbebf9353314379a
7
+ data.tar.gz: 60bd174680527c5a7ed465e151ead663d0cf5063b28ca672507200ce6abfd9991b902c3c71a4a1cb8fd5608fcfc321c6f93aa0e0edd697087d03658fe7c0ae6f
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ruby Client for Dialogflow API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-ruby#versioning))
1
+ # Ruby Client for Dialogflow API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
2
2
 
3
3
  [Dialogflow API][Product Documentation]:
4
4
  An end-to-end development suite for conversational interfaces (e.g.,
@@ -13,7 +13,7 @@ steps:
13
13
  1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
14
14
  2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
15
15
  3. [Enable the Dialogflow API.](https://console.cloud.google.com/apis/library/dialogflow.googleapis.com)
16
- 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
16
+ 4. [Setup Authentication.](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
17
17
 
18
18
  ### Installation
19
19
  ```
@@ -25,17 +25,17 @@ $ gem install google-cloud-dialogflow
25
25
  to see other available methods on the client.
26
26
  - Read the [Dialogflow API Product documentation][Product Documentation]
27
27
  to learn more about the product and see How-to Guides.
28
- - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
28
+ - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
29
29
  to see the full list of Cloud APIs that we cover.
30
30
 
31
- [Client Library Documentation]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-dialogflow/latest/google/cloud/dialogflow/v2
31
+ [Client Library Documentation]: https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud-dialogflow/latest/google/cloud/dialogflow/v2
32
32
  [Product Documentation]: https://cloud.google.com/dialogflow
33
33
 
34
34
  ## Enabling Logging
35
35
 
36
36
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
37
37
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
38
- or a [`Google::Cloud::Logging::Logger`](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
38
+ or a [`Google::Cloud::Logging::Logger`](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
39
39
  that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
40
40
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
41
41
 
@@ -263,7 +263,7 @@ module Google
263
263
  #
264
264
  # @param parent [String]
265
265
  # Required. The project that the agent to fetch is associated with.
266
- # Format: +projects/<Project ID>+.
266
+ # Format: `projects/<Project ID>`.
267
267
  # @param options [Google::Gax::CallOptions]
268
268
  # Overrides the default settings for this call, e.g, timeout,
269
269
  # retries, etc.
@@ -300,7 +300,7 @@ module Google
300
300
  #
301
301
  # @param parent [String]
302
302
  # Required. The project to list agents from.
303
- # Format: +projects/<Project ID or '-'>+.
303
+ # Format: `projects/<Project ID or '-'>`.
304
304
  # @param page_size [Integer]
305
305
  # The maximum number of resources contained in the underlying API
306
306
  # response. If page streaming is performed per-resource, this
@@ -358,7 +358,7 @@ module Google
358
358
  #
359
359
  # @param parent [String]
360
360
  # Required. The project that the agent to train is associated with.
361
- # Format: +projects/<Project ID>+.
361
+ # Format: `projects/<Project ID>`.
362
362
  # @param options [Google::Gax::CallOptions]
363
363
  # Overrides the default settings for this call, e.g, timeout,
364
364
  # retries, etc.
@@ -422,7 +422,7 @@ module Google
422
422
  #
423
423
  # @param parent [String]
424
424
  # Required. The project that the agent to export is associated with.
425
- # Format: +projects/<Project ID>+.
425
+ # Format: `projects/<Project ID>`.
426
426
  # @param agent_uri [String]
427
427
  # Optional. The Google Cloud Storage URI to export the agent to.
428
428
  # Note: The URI must start with
@@ -496,7 +496,7 @@ module Google
496
496
  #
497
497
  # @param parent [String]
498
498
  # Required. The project that the agent to import is associated with.
499
- # Format: +projects/<Project ID>+.
499
+ # Format: `projects/<Project ID>`.
500
500
  # @param agent_uri [String]
501
501
  # The URI to a Google Cloud Storage file containing the agent to import.
502
502
  # Note: The URI must start with "gs://".
@@ -585,7 +585,7 @@ module Google
585
585
  #
586
586
  # @param parent [String]
587
587
  # Required. The project that the agent to restore is associated with.
588
- # Format: +projects/<Project ID>+.
588
+ # Format: `projects/<Project ID>`.
589
589
  # @param agent_uri [String]
590
590
  # The URI to a Google Cloud Storage file containing the agent to restore.
591
591
  # Note: The URI must start with "gs://".
@@ -43,9 +43,9 @@ module Google
43
43
  # {Google::Cloud::Dialogflow::V2::Sessions::DetectIntent DetectIntent} (or
44
44
  # {Google::Cloud::Dialogflow::V2::Sessions::StreamingDetectIntent StreamingDetectIntent}) request,
45
45
  # or as output contexts included in the returned intent.
46
- # Contexts expire when an intent is matched, after the number of +DetectIntent+
47
- # requests specified by the +lifespan_count+ parameter, or after 10 minutes
48
- # if no intents are matched for a +DetectIntent+ request.
46
+ # Contexts expire when an intent is matched, after the number of `DetectIntent`
47
+ # requests specified by the `lifespan_count` parameter, or after 10 minutes
48
+ # if no intents are matched for a `DetectIntent` request.
49
49
  #
50
50
  # For more information about contexts, see the
51
51
  # [Dialogflow documentation](https://dialogflow.com/docs/contexts).
@@ -260,7 +260,7 @@ module Google
260
260
  #
261
261
  # @param parent [String]
262
262
  # Required. The session to list all contexts from.
263
- # Format: +projects/<Project ID>/agent/sessions/<Session ID>+.
263
+ # Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
264
264
  # @param page_size [Integer]
265
265
  # The maximum number of resources contained in the underlying API
266
266
  # response. If page streaming is performed per-resource, this
@@ -315,7 +315,7 @@ module Google
315
315
  #
316
316
  # @param name [String]
317
317
  # Required. The name of the context. Format:
318
- # +projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>+.
318
+ # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
319
319
  # @param options [Google::Gax::CallOptions]
320
320
  # Overrides the default settings for this call, e.g, timeout,
321
321
  # retries, etc.
@@ -346,7 +346,7 @@ module Google
346
346
  #
347
347
  # @param parent [String]
348
348
  # Required. The session to create a context for.
349
- # Format: +projects/<Project ID>/agent/sessions/<Session ID>+.
349
+ # Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
350
350
  # @param context [Google::Cloud::Dialogflow::V2::Context | Hash]
351
351
  # Required. The context to create.
352
352
  # A hash of the same form as `Google::Cloud::Dialogflow::V2::Context`
@@ -365,7 +365,7 @@ module Google
365
365
  # contexts_client = Google::Cloud::Dialogflow::Contexts.new(version: :v2)
366
366
  # formatted_parent = Google::Cloud::Dialogflow::V2::ContextsClient.session_path("[PROJECT]", "[SESSION]")
367
367
  #
368
- # # TODO: Initialize +context+:
368
+ # # TODO: Initialize `context`:
369
369
  # context = {}
370
370
  # response = contexts_client.create_context(formatted_parent, context)
371
371
 
@@ -405,7 +405,7 @@ module Google
405
405
  #
406
406
  # contexts_client = Google::Cloud::Dialogflow::Contexts.new(version: :v2)
407
407
  #
408
- # # TODO: Initialize +context+:
408
+ # # TODO: Initialize `context`:
409
409
  # context = {}
410
410
  # response = contexts_client.update_context(context)
411
411
 
@@ -426,7 +426,7 @@ module Google
426
426
  #
427
427
  # @param name [String]
428
428
  # Required. The name of the context to delete. Format:
429
- # +projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>+.
429
+ # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
430
430
  # @param options [Google::Gax::CallOptions]
431
431
  # Overrides the default settings for this call, e.g, timeout,
432
432
  # retries, etc.
@@ -457,7 +457,7 @@ module Google
457
457
  #
458
458
  # @param parent [String]
459
459
  # Required. The name of the session to delete all contexts from. Format:
460
- # +projects/<Project ID>/agent/sessions/<Session ID>+.
460
+ # `projects/<Project ID>/agent/sessions/<Session ID>`.
461
461
  # @param options [Google::Gax::CallOptions]
462
462
  # Overrides the default settings for this call, e.g, timeout,
463
463
  # retries, etc.
@@ -21,7 +21,7 @@ module Google
21
21
  # @!attribute [rw] parent
22
22
  # @return [String]
23
23
  # Required. The project of this agent.
24
- # Format: +projects/<Project ID>+.
24
+ # Format: `projects/<Project ID>`.
25
25
  # @!attribute [rw] display_name
26
26
  # @return [String]
27
27
  # Required. The name of this agent.
@@ -30,11 +30,11 @@ module Google
30
30
  # Required. The default language of the agent as a language tag. See
31
31
  # [Language Support](https://dialogflow.com/docs/reference/language) for a
32
32
  # list of the currently supported language codes.
33
- # This field cannot be set by the +Update+ method.
33
+ # This field cannot be set by the `Update` method.
34
34
  # @!attribute [rw] supported_language_codes
35
35
  # @return [Array<String>]
36
36
  # Optional. The list of all languages supported by this agent (except for the
37
- # +default_language_code+).
37
+ # `default_language_code`).
38
38
  # @!attribute [rw] time_zone
39
39
  # @return [String]
40
40
  # Required. The time zone of this agent from the
@@ -84,14 +84,14 @@ module Google
84
84
  # @!attribute [rw] parent
85
85
  # @return [String]
86
86
  # Required. The project that the agent to fetch is associated with.
87
- # Format: +projects/<Project ID>+.
87
+ # Format: `projects/<Project ID>`.
88
88
  class GetAgentRequest; end
89
89
 
90
90
  # The request message for {Google::Cloud::Dialogflow::V2::Agents::SearchAgents Agents::SearchAgents}.
91
91
  # @!attribute [rw] parent
92
92
  # @return [String]
93
93
  # Required. The project to list agents from.
94
- # Format: +projects/<Project ID or '-'>+.
94
+ # Format: `projects/<Project ID or '-'>`.
95
95
  # @!attribute [rw] page_size
96
96
  # @return [Integer]
97
97
  # Optional. The maximum number of items to return in a single page. By
@@ -116,14 +116,14 @@ module Google
116
116
  # @!attribute [rw] parent
117
117
  # @return [String]
118
118
  # Required. The project that the agent to train is associated with.
119
- # Format: +projects/<Project ID>+.
119
+ # Format: `projects/<Project ID>`.
120
120
  class TrainAgentRequest; end
121
121
 
122
122
  # The request message for {Google::Cloud::Dialogflow::V2::Agents::ExportAgent Agents::ExportAgent}.
123
123
  # @!attribute [rw] parent
124
124
  # @return [String]
125
125
  # Required. The project that the agent to export is associated with.
126
- # Format: +projects/<Project ID>+.
126
+ # Format: `projects/<Project ID>`.
127
127
  # @!attribute [rw] agent_uri
128
128
  # @return [String]
129
129
  # Optional. The Google Cloud Storage URI to export the agent to.
@@ -135,7 +135,7 @@ module Google
135
135
  # @!attribute [rw] agent_uri
136
136
  # @return [String]
137
137
  # The URI to a file containing the exported agent. This field is populated
138
- # only if +agent_uri+ is specified in +ExportAgentRequest+.
138
+ # only if `agent_uri` is specified in `ExportAgentRequest`.
139
139
  # @!attribute [rw] agent_content
140
140
  # @return [String]
141
141
  # The exported agent.
@@ -158,7 +158,7 @@ module Google
158
158
  # @!attribute [rw] parent
159
159
  # @return [String]
160
160
  # Required. The project that the agent to import is associated with.
161
- # Format: +projects/<Project ID>+.
161
+ # Format: `projects/<Project ID>`.
162
162
  # @!attribute [rw] agent_uri
163
163
  # @return [String]
164
164
  # The URI to a Google Cloud Storage file containing the agent to import.
@@ -185,7 +185,7 @@ module Google
185
185
  # @!attribute [rw] parent
186
186
  # @return [String]
187
187
  # Required. The project that the agent to restore is associated with.
188
- # Format: +projects/<Project ID>+.
188
+ # Format: `projects/<Project ID>`.
189
189
  # @!attribute [rw] agent_uri
190
190
  # @return [String]
191
191
  # The URI to a Google Cloud Storage file containing the agent to restore.
@@ -21,11 +21,11 @@ module Google
21
21
  # @!attribute [rw] name
22
22
  # @return [String]
23
23
  # Required. The unique identifier of the context. Format:
24
- # +projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>+.
24
+ # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
25
25
  # @!attribute [rw] lifespan_count
26
26
  # @return [Integer]
27
27
  # Optional. The number of conversational query requests after which the
28
- # context expires. If set to +0+ (the default) the context expires
28
+ # context expires. If set to `0` (the default) the context expires
29
29
  # immediately. Contexts expire automatically after 10 minutes even if there
30
30
  # are no matching queries.
31
31
  # @!attribute [rw] parameters
@@ -39,7 +39,7 @@ module Google
39
39
  # @!attribute [rw] parent
40
40
  # @return [String]
41
41
  # Required. The session to list all contexts from.
42
- # Format: +projects/<Project ID>/agent/sessions/<Session ID>+.
42
+ # Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
43
43
  # @!attribute [rw] page_size
44
44
  # @return [Integer]
45
45
  # Optional. The maximum number of items to return in a single page. By
@@ -64,14 +64,14 @@ module Google
64
64
  # @!attribute [rw] name
65
65
  # @return [String]
66
66
  # Required. The name of the context. Format:
67
- # +projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>+.
67
+ # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
68
68
  class GetContextRequest; end
69
69
 
70
70
  # The request message for {Google::Cloud::Dialogflow::V2::Contexts::CreateContext Contexts::CreateContext}.
71
71
  # @!attribute [rw] parent
72
72
  # @return [String]
73
73
  # Required. The session to create a context for.
74
- # Format: +projects/<Project ID>/agent/sessions/<Session ID>+.
74
+ # Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
75
75
  # @!attribute [rw] context
76
76
  # @return [Google::Cloud::Dialogflow::V2::Context]
77
77
  # Required. The context to create.
@@ -90,14 +90,14 @@ module Google
90
90
  # @!attribute [rw] name
91
91
  # @return [String]
92
92
  # Required. The name of the context to delete. Format:
93
- # +projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>+.
93
+ # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
94
94
  class DeleteContextRequest; end
95
95
 
96
96
  # The request message for {Google::Cloud::Dialogflow::V2::Contexts::DeleteAllContexts Contexts::DeleteAllContexts}.
97
97
  # @!attribute [rw] parent
98
98
  # @return [String]
99
99
  # Required. The name of the session to delete all contexts from. Format:
100
- # +projects/<Project ID>/agent/sessions/<Session ID>+.
100
+ # `projects/<Project ID>/agent/sessions/<Session ID>`.
101
101
  class DeleteAllContextsRequest; end
102
102
  end
103
103
  end
@@ -22,10 +22,10 @@ module Google
22
22
  # language queries.
23
23
  # @!attribute [rw] name
24
24
  # @return [String]
25
- # Required for all methods except +create+ (+create+ populates the name
25
+ # Required for all methods except `create` (`create` populates the name
26
26
  # automatically.
27
27
  # The unique identifier of the entity type. Format:
28
- # +projects/<Project ID>/agent/entityTypes/<Entity Type ID>+.
28
+ # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
29
29
  # @!attribute [rw] display_name
30
30
  # @return [String]
31
31
  # Required. The name of the entity.
@@ -44,15 +44,15 @@ module Google
44
44
  # @!attribute [rw] value
45
45
  # @return [String]
46
46
  # Required.
47
- # For +KIND_MAP+ entity types:
47
+ # For `KIND_MAP` entity types:
48
48
  # A canonical name to be used in place of synonyms.
49
- # For +KIND_LIST+ entity types:
49
+ # For `KIND_LIST` entity types:
50
50
  # A string that can contain references to other entity types (with or
51
51
  # without aliases).
52
52
  # @!attribute [rw] synonyms
53
53
  # @return [Array<String>]
54
- # Required. A collection of synonyms. For +KIND_LIST+ entity types this
55
- # must contain exactly one synonym equal to +value+.
54
+ # Required. A collection of synonyms. For `KIND_LIST` entity types this
55
+ # must contain exactly one synonym equal to `value`.
56
56
  class Entity; end
57
57
 
58
58
  # Represents kinds of entities.
@@ -87,7 +87,7 @@ module Google
87
87
  # @!attribute [rw] parent
88
88
  # @return [String]
89
89
  # Required. The agent to list all entity types from.
90
- # Format: +projects/<Project ID>/agent+.
90
+ # Format: `projects/<Project ID>/agent`.
91
91
  # @!attribute [rw] language_code
92
92
  # @return [String]
93
93
  # Optional. The language to list entity synonyms for. If not specified,
@@ -119,7 +119,7 @@ module Google
119
119
  # @!attribute [rw] name
120
120
  # @return [String]
121
121
  # Required. The name of the entity type.
122
- # Format: +projects/<Project ID>/agent/entityTypes/<EntityType ID>+.
122
+ # Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
123
123
  # @!attribute [rw] language_code
124
124
  # @return [String]
125
125
  # Optional. The language to retrieve entity synonyms for. If not specified,
@@ -133,13 +133,13 @@ module Google
133
133
  # @!attribute [rw] parent
134
134
  # @return [String]
135
135
  # Required. The agent to create a entity type for.
136
- # Format: +projects/<Project ID>/agent+.
136
+ # Format: `projects/<Project ID>/agent`.
137
137
  # @!attribute [rw] entity_type
138
138
  # @return [Google::Cloud::Dialogflow::V2::EntityType]
139
139
  # Required. The entity type to create.
140
140
  # @!attribute [rw] language_code
141
141
  # @return [String]
142
- # Optional. The language of entity synonyms defined in +entity_type+. If not
142
+ # Optional. The language of entity synonyms defined in `entity_type`. If not
143
143
  # specified, the agent's default language is used.
144
144
  # [More than a dozen
145
145
  # languages](https://dialogflow.com/docs/reference/language) are supported.
@@ -150,10 +150,10 @@ module Google
150
150
  # @!attribute [rw] entity_type
151
151
  # @return [Google::Cloud::Dialogflow::V2::EntityType]
152
152
  # Required. The entity type to update.
153
- # Format: +projects/<Project ID>/agent/entityTypes/<EntityType ID>+.
153
+ # Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
154
154
  # @!attribute [rw] language_code
155
155
  # @return [String]
156
- # Optional. The language of entity synonyms defined in +entity_type+. If not
156
+ # Optional. The language of entity synonyms defined in `entity_type`. If not
157
157
  # specified, the agent's default language is used.
158
158
  # [More than a dozen
159
159
  # languages](https://dialogflow.com/docs/reference/language) are supported.
@@ -167,14 +167,14 @@ module Google
167
167
  # @!attribute [rw] name
168
168
  # @return [String]
169
169
  # Required. The name of the entity type to delete.
170
- # Format: +projects/<Project ID>/agent/entityTypes/<EntityType ID>+.
170
+ # Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
171
171
  class DeleteEntityTypeRequest; end
172
172
 
173
173
  # The request message for {Google::Cloud::Dialogflow::V2::EntityTypes::BatchUpdateEntityTypes EntityTypes::BatchUpdateEntityTypes}.
174
174
  # @!attribute [rw] parent
175
175
  # @return [String]
176
176
  # Required. The name of the agent to update or create entity types in.
177
- # Format: +projects/<Project ID>/agent+.
177
+ # Format: `projects/<Project ID>/agent`.
178
178
  # @!attribute [rw] entity_type_batch_uri
179
179
  # @return [String]
180
180
  # The URI to a Google Cloud Storage file containing entity types to update
@@ -186,7 +186,7 @@ module Google
186
186
  # The collection of entity type to update or create.
187
187
  # @!attribute [rw] language_code
188
188
  # @return [String]
189
- # Optional. The language of entity synonyms defined in +entity_types+. If not
189
+ # Optional. The language of entity synonyms defined in `entity_types`. If not
190
190
  # specified, the agent's default language is used.
191
191
  # [More than a dozen
192
192
  # languages](https://dialogflow.com/docs/reference/language) are supported.
@@ -206,24 +206,24 @@ module Google
206
206
  # @!attribute [rw] parent
207
207
  # @return [String]
208
208
  # Required. The name of the agent to delete all entities types for. Format:
209
- # +projects/<Project ID>/agent+.
209
+ # `projects/<Project ID>/agent`.
210
210
  # @!attribute [rw] entity_type_names
211
211
  # @return [Array<String>]
212
212
  # Required. The names entity types to delete. All names must point to the
213
- # same agent as +parent+.
213
+ # same agent as `parent`.
214
214
  class BatchDeleteEntityTypesRequest; end
215
215
 
216
216
  # The request message for {Google::Cloud::Dialogflow::V2::EntityTypes::BatchCreateEntities EntityTypes::BatchCreateEntities}.
217
217
  # @!attribute [rw] parent
218
218
  # @return [String]
219
219
  # Required. The name of the entity type to create entities in. Format:
220
- # +projects/<Project ID>/agent/entityTypes/<Entity Type ID>+.
220
+ # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
221
221
  # @!attribute [rw] entities
222
222
  # @return [Array<Google::Cloud::Dialogflow::V2::EntityType::Entity>]
223
223
  # Required. The collection of entities to create.
224
224
  # @!attribute [rw] language_code
225
225
  # @return [String]
226
- # Optional. The language of entity synonyms defined in +entities+. If not
226
+ # Optional. The language of entity synonyms defined in `entities`. If not
227
227
  # specified, the agent's default language is used.
228
228
  # [More than a dozen
229
229
  # languages](https://dialogflow.com/docs/reference/language) are supported.
@@ -234,13 +234,13 @@ module Google
234
234
  # @!attribute [rw] parent
235
235
  # @return [String]
236
236
  # Required. The name of the entity type to update the entities in. Format:
237
- # +projects/<Project ID>/agent/entityTypes/<Entity Type ID>+.
237
+ # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
238
238
  # @!attribute [rw] entities
239
239
  # @return [Array<Google::Cloud::Dialogflow::V2::EntityType::Entity>]
240
240
  # Required. The collection of new entities to replace the existing entities.
241
241
  # @!attribute [rw] language_code
242
242
  # @return [String]
243
- # Optional. The language of entity synonyms defined in +entities+. If not
243
+ # Optional. The language of entity synonyms defined in `entities`. If not
244
244
  # specified, the agent's default language is used.
245
245
  # [More than a dozen
246
246
  # languages](https://dialogflow.com/docs/reference/language) are supported.
@@ -254,15 +254,15 @@ module Google
254
254
  # @!attribute [rw] parent
255
255
  # @return [String]
256
256
  # Required. The name of the entity type to delete entries for. Format:
257
- # +projects/<Project ID>/agent/entityTypes/<Entity Type ID>+.
257
+ # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
258
258
  # @!attribute [rw] entity_values
259
259
  # @return [Array<String>]
260
- # Required. The canonical +values+ of the entities to delete. Note that
260
+ # Required. The canonical `values` of the entities to delete. Note that
261
261
  # these are not fully-qualified names, i.e. they don't start with
262
- # +projects/<Project ID>+.
262
+ # `projects/<Project ID>`.
263
263
  # @!attribute [rw] language_code
264
264
  # @return [String]
265
- # Optional. The language of entity synonyms defined in +entities+. If not
265
+ # Optional. The language of entity synonyms defined in `entities`. If not
266
266
  # specified, the agent's default language is used.
267
267
  # [More than a dozen
268
268
  # languages](https://dialogflow.com/docs/reference/language) are supported.