google-cloud-dialogflow-v2 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +6 -6
  3. data/README.md +1 -1
  4. data/lib/google/cloud/dialogflow/v2.rb +1 -1
  5. data/lib/google/cloud/dialogflow/v2/agents.rb +5 -5
  6. data/lib/google/cloud/dialogflow/v2/agents/client.rb +203 -203
  7. data/lib/google/cloud/dialogflow/v2/agents/credentials.rb +1 -1
  8. data/lib/google/cloud/dialogflow/v2/agents/operations.rb +100 -100
  9. data/lib/google/cloud/dialogflow/v2/agents/paths.rb +2 -2
  10. data/lib/google/cloud/dialogflow/v2/contexts.rb +3 -3
  11. data/lib/google/cloud/dialogflow/v2/contexts/client.rb +139 -139
  12. data/lib/google/cloud/dialogflow/v2/contexts/credentials.rb +1 -1
  13. data/lib/google/cloud/dialogflow/v2/contexts/paths.rb +14 -14
  14. data/lib/google/cloud/dialogflow/v2/entity_types.rb +2 -2
  15. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +229 -229
  16. data/lib/google/cloud/dialogflow/v2/entity_types/credentials.rb +1 -1
  17. data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +100 -100
  18. data/lib/google/cloud/dialogflow/v2/entity_types/paths.rb +3 -3
  19. data/lib/google/cloud/dialogflow/v2/environments.rb +1 -1
  20. data/lib/google/cloud/dialogflow/v2/environments/client.rb +55 -55
  21. data/lib/google/cloud/dialogflow/v2/environments/credentials.rb +1 -1
  22. data/lib/google/cloud/dialogflow/v2/environments/paths.rb +1 -1
  23. data/lib/google/cloud/dialogflow/v2/intents.rb +3 -3
  24. data/lib/google/cloud/dialogflow/v2/intents/client.rb +174 -174
  25. data/lib/google/cloud/dialogflow/v2/intents/credentials.rb +1 -1
  26. data/lib/google/cloud/dialogflow/v2/intents/operations.rb +100 -100
  27. data/lib/google/cloud/dialogflow/v2/intents/paths.rb +11 -11
  28. data/lib/google/cloud/dialogflow/v2/session_entity_types.rb +1 -1
  29. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +121 -121
  30. data/lib/google/cloud/dialogflow/v2/session_entity_types/credentials.rb +1 -1
  31. data/lib/google/cloud/dialogflow/v2/session_entity_types/paths.rb +14 -14
  32. data/lib/google/cloud/dialogflow/v2/sessions.rb +3 -3
  33. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +77 -77
  34. data/lib/google/cloud/dialogflow/v2/sessions/credentials.rb +1 -1
  35. data/lib/google/cloud/dialogflow/v2/sessions/paths.rb +22 -22
  36. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  37. data/proto_docs/google/api/resource.rb +12 -12
  38. data/proto_docs/google/cloud/dialogflow/v2/agent.rb +69 -69
  39. data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +45 -44
  40. data/proto_docs/google/cloud/dialogflow/v2/context.rb +38 -38
  41. data/proto_docs/google/cloud/dialogflow/v2/entity_type.rb +86 -86
  42. data/proto_docs/google/cloud/dialogflow/v2/environment.rb +18 -18
  43. data/proto_docs/google/cloud/dialogflow/v2/intent.rb +250 -250
  44. data/proto_docs/google/cloud/dialogflow/v2/session.rb +106 -106
  45. data/proto_docs/google/cloud/dialogflow/v2/session_entity_type.rb +35 -35
  46. data/proto_docs/google/cloud/dialogflow/v2/validation_result.rb +8 -8
  47. data/proto_docs/google/cloud/dialogflow/v2/webhook.rb +27 -27
  48. data/proto_docs/google/longrunning/operations.rb +30 -30
  49. data/proto_docs/google/protobuf/any.rb +4 -4
  50. data/proto_docs/google/protobuf/duration.rb +4 -4
  51. data/proto_docs/google/protobuf/empty.rb +2 -2
  52. data/proto_docs/google/protobuf/field_mask.rb +3 -3
  53. data/proto_docs/google/protobuf/struct.rb +18 -18
  54. data/proto_docs/google/protobuf/timestamp.rb +4 -4
  55. data/proto_docs/google/rpc/status.rb +6 -6
  56. data/proto_docs/google/type/latlng.rb +4 -4
  57. metadata +2 -2
@@ -24,7 +24,7 @@ module Google
24
24
  module V2
25
25
  module Contexts
26
26
  # Credentials for the Contexts API.
27
- class Credentials < Google::Auth::Credentials
27
+ class Credentials < ::Google::Auth::Credentials
28
28
  self.scope = [
29
29
  "https://www.googleapis.com/auth/cloud-platform",
30
30
  "https://www.googleapis.com/auth/dialogflow"
@@ -47,27 +47,27 @@ module Google
47
47
  # @param session [String]
48
48
  # @param context [String]
49
49
  #
50
- # @return [String]
50
+ # @return [::String]
51
51
  def context_path **args
52
52
  resources = {
53
53
  "context:project:session" => (proc do |project:, session:, context:|
54
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
55
- raise ArgumentError, "session cannot contain /" if session.to_s.include? "/"
54
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
55
+ raise ::ArgumentError, "session cannot contain /" if session.to_s.include? "/"
56
56
 
57
57
  "projects/#{project}/agent/sessions/#{session}/contexts/#{context}"
58
58
  end),
59
59
  "context:environment:project:session:user" => (proc do |project:, environment:, user:, session:, context:|
60
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
61
- raise ArgumentError, "environment cannot contain /" if environment.to_s.include? "/"
62
- raise ArgumentError, "user cannot contain /" if user.to_s.include? "/"
63
- raise ArgumentError, "session cannot contain /" if session.to_s.include? "/"
60
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
61
+ raise ::ArgumentError, "environment cannot contain /" if environment.to_s.include? "/"
62
+ raise ::ArgumentError, "user cannot contain /" if user.to_s.include? "/"
63
+ raise ::ArgumentError, "session cannot contain /" if session.to_s.include? "/"
64
64
 
65
65
  "projects/#{project}/agent/environments/#{environment}/users/#{user}/sessions/#{session}/contexts/#{context}"
66
66
  end)
67
67
  }
68
68
 
69
69
  resource = resources[args.keys.sort.join(":")]
70
- raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
70
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
71
71
  resource.call(**args)
72
72
  end
73
73
 
@@ -92,25 +92,25 @@ module Google
92
92
  # @param user [String]
93
93
  # @param session [String]
94
94
  #
95
- # @return [String]
95
+ # @return [::String]
96
96
  def session_path **args
97
97
  resources = {
98
98
  "project:session" => (proc do |project:, session:|
99
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
99
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
100
100
 
101
101
  "projects/#{project}/agent/sessions/#{session}"
102
102
  end),
103
103
  "environment:project:session:user" => (proc do |project:, environment:, user:, session:|
104
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
105
- raise ArgumentError, "environment cannot contain /" if environment.to_s.include? "/"
106
- raise ArgumentError, "user cannot contain /" if user.to_s.include? "/"
104
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
105
+ raise ::ArgumentError, "environment cannot contain /" if environment.to_s.include? "/"
106
+ raise ::ArgumentError, "user cannot contain /" if user.to_s.include? "/"
107
107
 
108
108
  "projects/#{project}/agent/environments/#{environment}/users/#{user}/sessions/#{session}"
109
109
  end)
110
110
  }
111
111
 
112
112
  resource = resources[args.keys.sort.join(":")]
113
- raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
113
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
114
114
  resource.call(**args)
115
115
  end
116
116
 
@@ -55,7 +55,7 @@ module Google
55
55
  #
56
56
  # * **User** - entities that are built for an individual user such as
57
57
  # favorites, preferences, playlists, and so on. A user entity is
58
- # represented by the {Google::Cloud::Dialogflow::V2::SessionEntityType SessionEntityType} type.
58
+ # represented by the {::Google::Cloud::Dialogflow::V2::SessionEntityType SessionEntityType} type.
59
59
  #
60
60
  # For more information about entity types, see the
61
61
  # [Dialogflow
@@ -64,7 +64,7 @@ module Google
64
64
  # To load this service and instantiate a client:
65
65
  #
66
66
  # require "google/cloud/dialogflow/v2/entity_types"
67
- # client = Google::Cloud::Dialogflow::V2::EntityTypes::Client.new
67
+ # client = ::Google::Cloud::Dialogflow::V2::EntityTypes::Client.new
68
68
  #
69
69
  module EntityTypes
70
70
  end
@@ -50,7 +50,7 @@ module Google
50
50
  #
51
51
  # * **User** - entities that are built for an individual user such as
52
52
  # favorites, preferences, playlists, and so on. A user entity is
53
- # represented by the {Google::Cloud::Dialogflow::V2::SessionEntityType SessionEntityType} type.
53
+ # represented by the {::Google::Cloud::Dialogflow::V2::SessionEntityType SessionEntityType} type.
54
54
  #
55
55
  # For more information about entity types, see the
56
56
  # [Dialogflow
@@ -65,15 +65,15 @@ module Google
65
65
  ##
66
66
  # Configure the EntityTypes Client class.
67
67
  #
68
- # See {Google::Cloud::Dialogflow::V2::EntityTypes::Client::Configuration}
68
+ # See {::Google::Cloud::Dialogflow::V2::EntityTypes::Client::Configuration}
69
69
  # for a description of the configuration fields.
70
70
  #
71
71
  # ## Example
72
72
  #
73
73
  # To modify the configuration for all EntityTypes clients:
74
74
  #
75
- # Google::Cloud::Dialogflow::V2::EntityTypes::Client.configure do |config|
76
- # config.timeout = 10_000
75
+ # ::Google::Cloud::Dialogflow::V2::EntityTypes::Client.configure do |config|
76
+ # config.timeout = 10.0
77
77
  # end
78
78
  #
79
79
  # @yield [config] Configure the Client client.
@@ -155,7 +155,7 @@ module Google
155
155
  # but structural changes (adding new fields, etc.) are not allowed. Structural changes
156
156
  # should be made on {Client.configure}.
157
157
  #
158
- # See {Google::Cloud::Dialogflow::V2::EntityTypes::Client::Configuration}
158
+ # See {::Google::Cloud::Dialogflow::V2::EntityTypes::Client::Configuration}
159
159
  # for a description of the configuration fields.
160
160
  #
161
161
  # @yield [config] Configure the Client client.
@@ -176,13 +176,13 @@ module Google
176
176
  # To create a new EntityTypes client with the default
177
177
  # configuration:
178
178
  #
179
- # client = Google::Cloud::Dialogflow::V2::EntityTypes::Client.new
179
+ # client = ::Google::Cloud::Dialogflow::V2::EntityTypes::Client.new
180
180
  #
181
181
  # To create a new EntityTypes client with a custom
182
182
  # configuration:
183
183
  #
184
- # client = Google::Cloud::Dialogflow::V2::EntityTypes::Client.new do |config|
185
- # config.timeout = 10_000
184
+ # client = ::Google::Cloud::Dialogflow::V2::EntityTypes::Client.new do |config|
185
+ # config.timeout = 10.0
186
186
  # end
187
187
  #
188
188
  # @yield [config] Configure the EntityTypes client.
@@ -214,8 +214,8 @@ module Google
214
214
  config.endpoint = @config.endpoint
215
215
  end
216
216
 
217
- @entity_types_stub = Gapic::ServiceStub.new(
218
- Google::Cloud::Dialogflow::V2::EntityTypes::Stub,
217
+ @entity_types_stub = ::Gapic::ServiceStub.new(
218
+ ::Google::Cloud::Dialogflow::V2::EntityTypes::Stub,
219
219
  credentials: credentials,
220
220
  endpoint: @config.endpoint,
221
221
  channel_args: @config.channel_args,
@@ -226,7 +226,7 @@ module Google
226
226
  ##
227
227
  # Get the associated client for long-running operations.
228
228
  #
229
- # @return [Google::Cloud::Dialogflow::V2::EntityTypes::Operations]
229
+ # @return [::Google::Cloud::Dialogflow::V2::EntityTypes::Operations]
230
230
  #
231
231
  attr_reader :operations_client
232
232
 
@@ -237,12 +237,12 @@ module Google
237
237
  #
238
238
  # @overload list_entity_types(request, options = nil)
239
239
  # Pass arguments to `list_entity_types` via a request object, either of type
240
- # {Google::Cloud::Dialogflow::V2::ListEntityTypesRequest} or an equivalent Hash.
240
+ # {::Google::Cloud::Dialogflow::V2::ListEntityTypesRequest} or an equivalent Hash.
241
241
  #
242
- # @param request [Google::Cloud::Dialogflow::V2::ListEntityTypesRequest, Hash]
242
+ # @param request [::Google::Cloud::Dialogflow::V2::ListEntityTypesRequest, ::Hash]
243
243
  # A request object representing the call parameters. Required. To specify no
244
244
  # parameters, or to keep all the default parameter values, pass an empty Hash.
245
- # @param options [Gapic::CallOptions, Hash]
245
+ # @param options [::Gapic::CallOptions, ::Hash]
246
246
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
247
247
  #
248
248
  # @overload list_entity_types(parent: nil, language_code: nil, page_size: nil, page_token: nil)
@@ -250,42 +250,42 @@ module Google
250
250
  # least one keyword argument is required. To specify no parameters, or to keep all
251
251
  # the default parameter values, pass an empty Hash as a request object (see above).
252
252
  #
253
- # @param parent [String]
253
+ # @param parent [::String]
254
254
  # Required. The agent to list all entity types from.
255
255
  # Format: `projects/<Project ID>/agent`.
256
- # @param language_code [String]
256
+ # @param language_code [::String]
257
257
  # Optional. The language used to access language-specific data.
258
258
  # If not specified, the agent's default language is used.
259
259
  # For more information, see
260
260
  # [Multilingual intent and entity
261
261
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
262
- # @param page_size [Integer]
262
+ # @param page_size [::Integer]
263
263
  # Optional. The maximum number of items to return in a single page. By
264
264
  # default 100 and at most 1000.
265
- # @param page_token [String]
265
+ # @param page_token [::String]
266
266
  # Optional. The next_page_token value returned from a previous list request.
267
267
  #
268
268
  # @yield [response, operation] Access the result along with the RPC operation
269
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::Dialogflow::V2::EntityType>]
270
- # @yieldparam operation [GRPC::ActiveCall::Operation]
269
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dialogflow::V2::EntityType>]
270
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
271
271
  #
272
- # @return [Gapic::PagedEnumerable<Google::Cloud::Dialogflow::V2::EntityType>]
272
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dialogflow::V2::EntityType>]
273
273
  #
274
- # @raise [Google::Cloud::Error] if the RPC is aborted.
274
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
275
275
  #
276
276
  def list_entity_types request, options = nil
277
- raise ArgumentError, "request must be provided" if request.nil?
277
+ raise ::ArgumentError, "request must be provided" if request.nil?
278
278
 
279
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dialogflow::V2::ListEntityTypesRequest
279
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::ListEntityTypesRequest
280
280
 
281
281
  # Converts hash and nil to an options object
282
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
282
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
283
283
 
284
284
  # Customize the options with defaults
285
285
  metadata = @config.rpcs.list_entity_types.metadata.to_h
286
286
 
287
287
  # Set x-goog-api-client and x-goog-user-project headers
288
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
288
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
289
289
  lib_name: @config.lib_name, lib_version: @config.lib_version,
290
290
  gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
291
291
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -303,12 +303,12 @@ module Google
303
303
  retry_policy: @config.retry_policy
304
304
 
305
305
  @entity_types_stub.call_rpc :list_entity_types, request, options: options do |response, operation|
306
- response = Gapic::PagedEnumerable.new @entity_types_stub, :list_entity_types, request, response, operation, options
306
+ response = ::Gapic::PagedEnumerable.new @entity_types_stub, :list_entity_types, request, response, operation, options
307
307
  yield response, operation if block_given?
308
308
  return response
309
309
  end
310
- rescue GRPC::BadStatus => e
311
- raise Google::Cloud::Error.from_error(e)
310
+ rescue ::GRPC::BadStatus => e
311
+ raise ::Google::Cloud::Error.from_error(e)
312
312
  end
313
313
 
314
314
  ##
@@ -316,12 +316,12 @@ module Google
316
316
  #
317
317
  # @overload get_entity_type(request, options = nil)
318
318
  # Pass arguments to `get_entity_type` via a request object, either of type
319
- # {Google::Cloud::Dialogflow::V2::GetEntityTypeRequest} or an equivalent Hash.
319
+ # {::Google::Cloud::Dialogflow::V2::GetEntityTypeRequest} or an equivalent Hash.
320
320
  #
321
- # @param request [Google::Cloud::Dialogflow::V2::GetEntityTypeRequest, Hash]
321
+ # @param request [::Google::Cloud::Dialogflow::V2::GetEntityTypeRequest, ::Hash]
322
322
  # A request object representing the call parameters. Required. To specify no
323
323
  # parameters, or to keep all the default parameter values, pass an empty Hash.
324
- # @param options [Gapic::CallOptions, Hash]
324
+ # @param options [::Gapic::CallOptions, ::Hash]
325
325
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
326
326
  #
327
327
  # @overload get_entity_type(name: nil, language_code: nil)
@@ -329,10 +329,10 @@ module Google
329
329
  # least one keyword argument is required. To specify no parameters, or to keep all
330
330
  # the default parameter values, pass an empty Hash as a request object (see above).
331
331
  #
332
- # @param name [String]
332
+ # @param name [::String]
333
333
  # Required. The name of the entity type.
334
334
  # Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
335
- # @param language_code [String]
335
+ # @param language_code [::String]
336
336
  # Optional. The language used to access language-specific data.
337
337
  # If not specified, the agent's default language is used.
338
338
  # For more information, see
@@ -340,26 +340,26 @@ module Google
340
340
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
341
341
  #
342
342
  # @yield [response, operation] Access the result along with the RPC operation
343
- # @yieldparam response [Google::Cloud::Dialogflow::V2::EntityType]
344
- # @yieldparam operation [GRPC::ActiveCall::Operation]
343
+ # @yieldparam response [::Google::Cloud::Dialogflow::V2::EntityType]
344
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
345
345
  #
346
- # @return [Google::Cloud::Dialogflow::V2::EntityType]
346
+ # @return [::Google::Cloud::Dialogflow::V2::EntityType]
347
347
  #
348
- # @raise [Google::Cloud::Error] if the RPC is aborted.
348
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
349
349
  #
350
350
  def get_entity_type request, options = nil
351
- raise ArgumentError, "request must be provided" if request.nil?
351
+ raise ::ArgumentError, "request must be provided" if request.nil?
352
352
 
353
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dialogflow::V2::GetEntityTypeRequest
353
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::GetEntityTypeRequest
354
354
 
355
355
  # Converts hash and nil to an options object
356
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
356
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
357
357
 
358
358
  # Customize the options with defaults
359
359
  metadata = @config.rpcs.get_entity_type.metadata.to_h
360
360
 
361
361
  # Set x-goog-api-client and x-goog-user-project headers
362
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
362
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
363
363
  lib_name: @config.lib_name, lib_version: @config.lib_version,
364
364
  gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
365
365
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -380,8 +380,8 @@ module Google
380
380
  yield response, operation if block_given?
381
381
  return response
382
382
  end
383
- rescue GRPC::BadStatus => e
384
- raise Google::Cloud::Error.from_error(e)
383
+ rescue ::GRPC::BadStatus => e
384
+ raise ::Google::Cloud::Error.from_error(e)
385
385
  end
386
386
 
387
387
  ##
@@ -389,12 +389,12 @@ module Google
389
389
  #
390
390
  # @overload create_entity_type(request, options = nil)
391
391
  # Pass arguments to `create_entity_type` via a request object, either of type
392
- # {Google::Cloud::Dialogflow::V2::CreateEntityTypeRequest} or an equivalent Hash.
392
+ # {::Google::Cloud::Dialogflow::V2::CreateEntityTypeRequest} or an equivalent Hash.
393
393
  #
394
- # @param request [Google::Cloud::Dialogflow::V2::CreateEntityTypeRequest, Hash]
394
+ # @param request [::Google::Cloud::Dialogflow::V2::CreateEntityTypeRequest, ::Hash]
395
395
  # A request object representing the call parameters. Required. To specify no
396
396
  # parameters, or to keep all the default parameter values, pass an empty Hash.
397
- # @param options [Gapic::CallOptions, Hash]
397
+ # @param options [::Gapic::CallOptions, ::Hash]
398
398
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
399
399
  #
400
400
  # @overload create_entity_type(parent: nil, entity_type: nil, language_code: nil)
@@ -402,12 +402,12 @@ module Google
402
402
  # least one keyword argument is required. To specify no parameters, or to keep all
403
403
  # the default parameter values, pass an empty Hash as a request object (see above).
404
404
  #
405
- # @param parent [String]
405
+ # @param parent [::String]
406
406
  # Required. The agent to create a entity type for.
407
407
  # Format: `projects/<Project ID>/agent`.
408
- # @param entity_type [Google::Cloud::Dialogflow::V2::EntityType, Hash]
408
+ # @param entity_type [::Google::Cloud::Dialogflow::V2::EntityType, ::Hash]
409
409
  # Required. The entity type to create.
410
- # @param language_code [String]
410
+ # @param language_code [::String]
411
411
  # Optional. The language used to access language-specific data.
412
412
  # If not specified, the agent's default language is used.
413
413
  # For more information, see
@@ -415,26 +415,26 @@ module Google
415
415
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
416
416
  #
417
417
  # @yield [response, operation] Access the result along with the RPC operation
418
- # @yieldparam response [Google::Cloud::Dialogflow::V2::EntityType]
419
- # @yieldparam operation [GRPC::ActiveCall::Operation]
418
+ # @yieldparam response [::Google::Cloud::Dialogflow::V2::EntityType]
419
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
420
420
  #
421
- # @return [Google::Cloud::Dialogflow::V2::EntityType]
421
+ # @return [::Google::Cloud::Dialogflow::V2::EntityType]
422
422
  #
423
- # @raise [Google::Cloud::Error] if the RPC is aborted.
423
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
424
424
  #
425
425
  def create_entity_type request, options = nil
426
- raise ArgumentError, "request must be provided" if request.nil?
426
+ raise ::ArgumentError, "request must be provided" if request.nil?
427
427
 
428
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dialogflow::V2::CreateEntityTypeRequest
428
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::CreateEntityTypeRequest
429
429
 
430
430
  # Converts hash and nil to an options object
431
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
431
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
432
432
 
433
433
  # Customize the options with defaults
434
434
  metadata = @config.rpcs.create_entity_type.metadata.to_h
435
435
 
436
436
  # Set x-goog-api-client and x-goog-user-project headers
437
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
437
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
438
438
  lib_name: @config.lib_name, lib_version: @config.lib_version,
439
439
  gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
440
440
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -455,8 +455,8 @@ module Google
455
455
  yield response, operation if block_given?
456
456
  return response
457
457
  end
458
- rescue GRPC::BadStatus => e
459
- raise Google::Cloud::Error.from_error(e)
458
+ rescue ::GRPC::BadStatus => e
459
+ raise ::Google::Cloud::Error.from_error(e)
460
460
  end
461
461
 
462
462
  ##
@@ -464,12 +464,12 @@ module Google
464
464
  #
465
465
  # @overload update_entity_type(request, options = nil)
466
466
  # Pass arguments to `update_entity_type` via a request object, either of type
467
- # {Google::Cloud::Dialogflow::V2::UpdateEntityTypeRequest} or an equivalent Hash.
467
+ # {::Google::Cloud::Dialogflow::V2::UpdateEntityTypeRequest} or an equivalent Hash.
468
468
  #
469
- # @param request [Google::Cloud::Dialogflow::V2::UpdateEntityTypeRequest, Hash]
469
+ # @param request [::Google::Cloud::Dialogflow::V2::UpdateEntityTypeRequest, ::Hash]
470
470
  # A request object representing the call parameters. Required. To specify no
471
471
  # parameters, or to keep all the default parameter values, pass an empty Hash.
472
- # @param options [Gapic::CallOptions, Hash]
472
+ # @param options [::Gapic::CallOptions, ::Hash]
473
473
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
474
474
  #
475
475
  # @overload update_entity_type(entity_type: nil, language_code: nil, update_mask: nil)
@@ -477,38 +477,38 @@ module Google
477
477
  # least one keyword argument is required. To specify no parameters, or to keep all
478
478
  # the default parameter values, pass an empty Hash as a request object (see above).
479
479
  #
480
- # @param entity_type [Google::Cloud::Dialogflow::V2::EntityType, Hash]
480
+ # @param entity_type [::Google::Cloud::Dialogflow::V2::EntityType, ::Hash]
481
481
  # Required. The entity type to update.
482
- # @param language_code [String]
482
+ # @param language_code [::String]
483
483
  # Optional. The language used to access language-specific data.
484
484
  # If not specified, the agent's default language is used.
485
485
  # For more information, see
486
486
  # [Multilingual intent and entity
487
487
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
488
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
488
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
489
489
  # Optional. The mask to control which fields get updated.
490
490
  #
491
491
  # @yield [response, operation] Access the result along with the RPC operation
492
- # @yieldparam response [Google::Cloud::Dialogflow::V2::EntityType]
493
- # @yieldparam operation [GRPC::ActiveCall::Operation]
492
+ # @yieldparam response [::Google::Cloud::Dialogflow::V2::EntityType]
493
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
494
494
  #
495
- # @return [Google::Cloud::Dialogflow::V2::EntityType]
495
+ # @return [::Google::Cloud::Dialogflow::V2::EntityType]
496
496
  #
497
- # @raise [Google::Cloud::Error] if the RPC is aborted.
497
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
498
498
  #
499
499
  def update_entity_type request, options = nil
500
- raise ArgumentError, "request must be provided" if request.nil?
500
+ raise ::ArgumentError, "request must be provided" if request.nil?
501
501
 
502
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dialogflow::V2::UpdateEntityTypeRequest
502
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::UpdateEntityTypeRequest
503
503
 
504
504
  # Converts hash and nil to an options object
505
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
505
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
506
506
 
507
507
  # Customize the options with defaults
508
508
  metadata = @config.rpcs.update_entity_type.metadata.to_h
509
509
 
510
510
  # Set x-goog-api-client and x-goog-user-project headers
511
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
511
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
512
512
  lib_name: @config.lib_name, lib_version: @config.lib_version,
513
513
  gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
514
514
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -529,8 +529,8 @@ module Google
529
529
  yield response, operation if block_given?
530
530
  return response
531
531
  end
532
- rescue GRPC::BadStatus => e
533
- raise Google::Cloud::Error.from_error(e)
532
+ rescue ::GRPC::BadStatus => e
533
+ raise ::Google::Cloud::Error.from_error(e)
534
534
  end
535
535
 
536
536
  ##
@@ -538,12 +538,12 @@ module Google
538
538
  #
539
539
  # @overload delete_entity_type(request, options = nil)
540
540
  # Pass arguments to `delete_entity_type` via a request object, either of type
541
- # {Google::Cloud::Dialogflow::V2::DeleteEntityTypeRequest} or an equivalent Hash.
541
+ # {::Google::Cloud::Dialogflow::V2::DeleteEntityTypeRequest} or an equivalent Hash.
542
542
  #
543
- # @param request [Google::Cloud::Dialogflow::V2::DeleteEntityTypeRequest, Hash]
543
+ # @param request [::Google::Cloud::Dialogflow::V2::DeleteEntityTypeRequest, ::Hash]
544
544
  # A request object representing the call parameters. Required. To specify no
545
545
  # parameters, or to keep all the default parameter values, pass an empty Hash.
546
- # @param options [Gapic::CallOptions, Hash]
546
+ # @param options [::Gapic::CallOptions, ::Hash]
547
547
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
548
548
  #
549
549
  # @overload delete_entity_type(name: nil)
@@ -551,31 +551,31 @@ module Google
551
551
  # least one keyword argument is required. To specify no parameters, or to keep all
552
552
  # the default parameter values, pass an empty Hash as a request object (see above).
553
553
  #
554
- # @param name [String]
554
+ # @param name [::String]
555
555
  # Required. The name of the entity type to delete.
556
556
  # Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
557
557
  #
558
558
  # @yield [response, operation] Access the result along with the RPC operation
559
- # @yieldparam response [Google::Protobuf::Empty]
560
- # @yieldparam operation [GRPC::ActiveCall::Operation]
559
+ # @yieldparam response [::Google::Protobuf::Empty]
560
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
561
561
  #
562
- # @return [Google::Protobuf::Empty]
562
+ # @return [::Google::Protobuf::Empty]
563
563
  #
564
- # @raise [Google::Cloud::Error] if the RPC is aborted.
564
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
565
565
  #
566
566
  def delete_entity_type request, options = nil
567
- raise ArgumentError, "request must be provided" if request.nil?
567
+ raise ::ArgumentError, "request must be provided" if request.nil?
568
568
 
569
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dialogflow::V2::DeleteEntityTypeRequest
569
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::DeleteEntityTypeRequest
570
570
 
571
571
  # Converts hash and nil to an options object
572
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
572
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
573
573
 
574
574
  # Customize the options with defaults
575
575
  metadata = @config.rpcs.delete_entity_type.metadata.to_h
576
576
 
577
577
  # Set x-goog-api-client and x-goog-user-project headers
578
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
578
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
579
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
580
  gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
581
581
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -596,23 +596,23 @@ module Google
596
596
  yield response, operation if block_given?
597
597
  return response
598
598
  end
599
- rescue GRPC::BadStatus => e
600
- raise Google::Cloud::Error.from_error(e)
599
+ rescue ::GRPC::BadStatus => e
600
+ raise ::Google::Cloud::Error.from_error(e)
601
601
  end
602
602
 
603
603
  ##
604
604
  # Updates/Creates multiple entity types in the specified agent.
605
605
  #
606
- # Operation <response: {Google::Cloud::Dialogflow::V2::BatchUpdateEntityTypesResponse BatchUpdateEntityTypesResponse}>
606
+ # Operation <response: {::Google::Cloud::Dialogflow::V2::BatchUpdateEntityTypesResponse BatchUpdateEntityTypesResponse}>
607
607
  #
608
608
  # @overload batch_update_entity_types(request, options = nil)
609
609
  # Pass arguments to `batch_update_entity_types` via a request object, either of type
610
- # {Google::Cloud::Dialogflow::V2::BatchUpdateEntityTypesRequest} or an equivalent Hash.
610
+ # {::Google::Cloud::Dialogflow::V2::BatchUpdateEntityTypesRequest} or an equivalent Hash.
611
611
  #
612
- # @param request [Google::Cloud::Dialogflow::V2::BatchUpdateEntityTypesRequest, Hash]
612
+ # @param request [::Google::Cloud::Dialogflow::V2::BatchUpdateEntityTypesRequest, ::Hash]
613
613
  # A request object representing the call parameters. Required. To specify no
614
614
  # parameters, or to keep all the default parameter values, pass an empty Hash.
615
- # @param options [Gapic::CallOptions, Hash]
615
+ # @param options [::Gapic::CallOptions, ::Hash]
616
616
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
617
617
  #
618
618
  # @overload batch_update_entity_types(parent: nil, entity_type_batch_uri: nil, entity_type_batch_inline: nil, language_code: nil, update_mask: nil)
@@ -620,46 +620,46 @@ module Google
620
620
  # least one keyword argument is required. To specify no parameters, or to keep all
621
621
  # the default parameter values, pass an empty Hash as a request object (see above).
622
622
  #
623
- # @param parent [String]
623
+ # @param parent [::String]
624
624
  # Required. The name of the agent to update or create entity types in.
625
625
  # Format: `projects/<Project ID>/agent`.
626
- # @param entity_type_batch_uri [String]
626
+ # @param entity_type_batch_uri [::String]
627
627
  # The URI to a Google Cloud Storage file containing entity types to update
628
628
  # or create. The file format can either be a serialized proto (of
629
629
  # EntityBatch type) or a JSON object. Note: The URI must start with
630
630
  # "gs://".
631
- # @param entity_type_batch_inline [Google::Cloud::Dialogflow::V2::EntityTypeBatch, Hash]
631
+ # @param entity_type_batch_inline [::Google::Cloud::Dialogflow::V2::EntityTypeBatch, ::Hash]
632
632
  # The collection of entity types to update or create.
633
- # @param language_code [String]
633
+ # @param language_code [::String]
634
634
  # Optional. The language used to access language-specific data.
635
635
  # If not specified, the agent's default language is used.
636
636
  # For more information, see
637
637
  # [Multilingual intent and entity
638
638
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
639
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
639
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
640
640
  # Optional. The mask to control which fields get updated.
641
641
  #
642
642
  # @yield [response, operation] Access the result along with the RPC operation
643
- # @yieldparam response [Gapic::Operation]
644
- # @yieldparam operation [GRPC::ActiveCall::Operation]
643
+ # @yieldparam response [::Gapic::Operation]
644
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
645
645
  #
646
- # @return [Gapic::Operation]
646
+ # @return [::Gapic::Operation]
647
647
  #
648
- # @raise [Google::Cloud::Error] if the RPC is aborted.
648
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
649
649
  #
650
650
  def batch_update_entity_types request, options = nil
651
- raise ArgumentError, "request must be provided" if request.nil?
651
+ raise ::ArgumentError, "request must be provided" if request.nil?
652
652
 
653
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dialogflow::V2::BatchUpdateEntityTypesRequest
653
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::BatchUpdateEntityTypesRequest
654
654
 
655
655
  # Converts hash and nil to an options object
656
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
656
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
657
657
 
658
658
  # Customize the options with defaults
659
659
  metadata = @config.rpcs.batch_update_entity_types.metadata.to_h
660
660
 
661
661
  # Set x-goog-api-client and x-goog-user-project headers
662
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
662
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
663
663
  lib_name: @config.lib_name, lib_version: @config.lib_version,
664
664
  gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
665
665
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -677,27 +677,27 @@ module Google
677
677
  retry_policy: @config.retry_policy
678
678
 
679
679
  @entity_types_stub.call_rpc :batch_update_entity_types, request, options: options do |response, operation|
680
- response = Gapic::Operation.new response, @operations_client, options: options
680
+ response = ::Gapic::Operation.new response, @operations_client, options: options
681
681
  yield response, operation if block_given?
682
682
  return response
683
683
  end
684
- rescue GRPC::BadStatus => e
685
- raise Google::Cloud::Error.from_error(e)
684
+ rescue ::GRPC::BadStatus => e
685
+ raise ::Google::Cloud::Error.from_error(e)
686
686
  end
687
687
 
688
688
  ##
689
689
  # Deletes entity types in the specified agent.
690
690
  #
691
- # Operation <response: {Google::Protobuf::Empty google.protobuf.Empty}>
691
+ # Operation <response: {::Google::Protobuf::Empty google.protobuf.Empty}>
692
692
  #
693
693
  # @overload batch_delete_entity_types(request, options = nil)
694
694
  # Pass arguments to `batch_delete_entity_types` via a request object, either of type
695
- # {Google::Cloud::Dialogflow::V2::BatchDeleteEntityTypesRequest} or an equivalent Hash.
695
+ # {::Google::Cloud::Dialogflow::V2::BatchDeleteEntityTypesRequest} or an equivalent Hash.
696
696
  #
697
- # @param request [Google::Cloud::Dialogflow::V2::BatchDeleteEntityTypesRequest, Hash]
697
+ # @param request [::Google::Cloud::Dialogflow::V2::BatchDeleteEntityTypesRequest, ::Hash]
698
698
  # A request object representing the call parameters. Required. To specify no
699
699
  # parameters, or to keep all the default parameter values, pass an empty Hash.
700
- # @param options [Gapic::CallOptions, Hash]
700
+ # @param options [::Gapic::CallOptions, ::Hash]
701
701
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
702
702
  #
703
703
  # @overload batch_delete_entity_types(parent: nil, entity_type_names: nil)
@@ -705,34 +705,34 @@ module Google
705
705
  # least one keyword argument is required. To specify no parameters, or to keep all
706
706
  # the default parameter values, pass an empty Hash as a request object (see above).
707
707
  #
708
- # @param parent [String]
708
+ # @param parent [::String]
709
709
  # Required. The name of the agent to delete all entities types for. Format:
710
710
  # `projects/<Project ID>/agent`.
711
- # @param entity_type_names [Array<String>]
711
+ # @param entity_type_names [::Array<::String>]
712
712
  # Required. The names entity types to delete. All names must point to the
713
713
  # same agent as `parent`.
714
714
  #
715
715
  # @yield [response, operation] Access the result along with the RPC operation
716
- # @yieldparam response [Gapic::Operation]
717
- # @yieldparam operation [GRPC::ActiveCall::Operation]
716
+ # @yieldparam response [::Gapic::Operation]
717
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
718
718
  #
719
- # @return [Gapic::Operation]
719
+ # @return [::Gapic::Operation]
720
720
  #
721
- # @raise [Google::Cloud::Error] if the RPC is aborted.
721
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
722
722
  #
723
723
  def batch_delete_entity_types request, options = nil
724
- raise ArgumentError, "request must be provided" if request.nil?
724
+ raise ::ArgumentError, "request must be provided" if request.nil?
725
725
 
726
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dialogflow::V2::BatchDeleteEntityTypesRequest
726
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::BatchDeleteEntityTypesRequest
727
727
 
728
728
  # Converts hash and nil to an options object
729
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
729
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
730
730
 
731
731
  # Customize the options with defaults
732
732
  metadata = @config.rpcs.batch_delete_entity_types.metadata.to_h
733
733
 
734
734
  # Set x-goog-api-client and x-goog-user-project headers
735
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
735
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
736
736
  lib_name: @config.lib_name, lib_version: @config.lib_version,
737
737
  gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
738
738
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -750,27 +750,27 @@ module Google
750
750
  retry_policy: @config.retry_policy
751
751
 
752
752
  @entity_types_stub.call_rpc :batch_delete_entity_types, request, options: options do |response, operation|
753
- response = Gapic::Operation.new response, @operations_client, options: options
753
+ response = ::Gapic::Operation.new response, @operations_client, options: options
754
754
  yield response, operation if block_given?
755
755
  return response
756
756
  end
757
- rescue GRPC::BadStatus => e
758
- raise Google::Cloud::Error.from_error(e)
757
+ rescue ::GRPC::BadStatus => e
758
+ raise ::Google::Cloud::Error.from_error(e)
759
759
  end
760
760
 
761
761
  ##
762
762
  # Creates multiple new entities in the specified entity type.
763
763
  #
764
- # Operation <response: {Google::Protobuf::Empty google.protobuf.Empty}>
764
+ # Operation <response: {::Google::Protobuf::Empty google.protobuf.Empty}>
765
765
  #
766
766
  # @overload batch_create_entities(request, options = nil)
767
767
  # Pass arguments to `batch_create_entities` via a request object, either of type
768
- # {Google::Cloud::Dialogflow::V2::BatchCreateEntitiesRequest} or an equivalent Hash.
768
+ # {::Google::Cloud::Dialogflow::V2::BatchCreateEntitiesRequest} or an equivalent Hash.
769
769
  #
770
- # @param request [Google::Cloud::Dialogflow::V2::BatchCreateEntitiesRequest, Hash]
770
+ # @param request [::Google::Cloud::Dialogflow::V2::BatchCreateEntitiesRequest, ::Hash]
771
771
  # A request object representing the call parameters. Required. To specify no
772
772
  # parameters, or to keep all the default parameter values, pass an empty Hash.
773
- # @param options [Gapic::CallOptions, Hash]
773
+ # @param options [::Gapic::CallOptions, ::Hash]
774
774
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
775
775
  #
776
776
  # @overload batch_create_entities(parent: nil, entities: nil, language_code: nil)
@@ -778,12 +778,12 @@ module Google
778
778
  # least one keyword argument is required. To specify no parameters, or to keep all
779
779
  # the default parameter values, pass an empty Hash as a request object (see above).
780
780
  #
781
- # @param parent [String]
781
+ # @param parent [::String]
782
782
  # Required. The name of the entity type to create entities in. Format:
783
783
  # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
784
- # @param entities [Array<Google::Cloud::Dialogflow::V2::EntityType::Entity, Hash>]
784
+ # @param entities [::Array<::Google::Cloud::Dialogflow::V2::EntityType::Entity, ::Hash>]
785
785
  # Required. The entities to create.
786
- # @param language_code [String]
786
+ # @param language_code [::String]
787
787
  # Optional. The language used to access language-specific data.
788
788
  # If not specified, the agent's default language is used.
789
789
  # For more information, see
@@ -791,26 +791,26 @@ module Google
791
791
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
792
792
  #
793
793
  # @yield [response, operation] Access the result along with the RPC operation
794
- # @yieldparam response [Gapic::Operation]
795
- # @yieldparam operation [GRPC::ActiveCall::Operation]
794
+ # @yieldparam response [::Gapic::Operation]
795
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
796
796
  #
797
- # @return [Gapic::Operation]
797
+ # @return [::Gapic::Operation]
798
798
  #
799
- # @raise [Google::Cloud::Error] if the RPC is aborted.
799
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
800
800
  #
801
801
  def batch_create_entities request, options = nil
802
- raise ArgumentError, "request must be provided" if request.nil?
802
+ raise ::ArgumentError, "request must be provided" if request.nil?
803
803
 
804
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dialogflow::V2::BatchCreateEntitiesRequest
804
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::BatchCreateEntitiesRequest
805
805
 
806
806
  # Converts hash and nil to an options object
807
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
807
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
808
808
 
809
809
  # Customize the options with defaults
810
810
  metadata = @config.rpcs.batch_create_entities.metadata.to_h
811
811
 
812
812
  # Set x-goog-api-client and x-goog-user-project headers
813
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
813
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
814
814
  lib_name: @config.lib_name, lib_version: @config.lib_version,
815
815
  gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
816
816
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -828,12 +828,12 @@ module Google
828
828
  retry_policy: @config.retry_policy
829
829
 
830
830
  @entity_types_stub.call_rpc :batch_create_entities, request, options: options do |response, operation|
831
- response = Gapic::Operation.new response, @operations_client, options: options
831
+ response = ::Gapic::Operation.new response, @operations_client, options: options
832
832
  yield response, operation if block_given?
833
833
  return response
834
834
  end
835
- rescue GRPC::BadStatus => e
836
- raise Google::Cloud::Error.from_error(e)
835
+ rescue ::GRPC::BadStatus => e
836
+ raise ::Google::Cloud::Error.from_error(e)
837
837
  end
838
838
 
839
839
  ##
@@ -842,16 +842,16 @@ module Google
842
842
  # specified in the request.
843
843
  #
844
844
  #
845
- # Operation <response: {Google::Protobuf::Empty google.protobuf.Empty}>
845
+ # Operation <response: {::Google::Protobuf::Empty google.protobuf.Empty}>
846
846
  #
847
847
  # @overload batch_update_entities(request, options = nil)
848
848
  # Pass arguments to `batch_update_entities` via a request object, either of type
849
- # {Google::Cloud::Dialogflow::V2::BatchUpdateEntitiesRequest} or an equivalent Hash.
849
+ # {::Google::Cloud::Dialogflow::V2::BatchUpdateEntitiesRequest} or an equivalent Hash.
850
850
  #
851
- # @param request [Google::Cloud::Dialogflow::V2::BatchUpdateEntitiesRequest, Hash]
851
+ # @param request [::Google::Cloud::Dialogflow::V2::BatchUpdateEntitiesRequest, ::Hash]
852
852
  # A request object representing the call parameters. Required. To specify no
853
853
  # parameters, or to keep all the default parameter values, pass an empty Hash.
854
- # @param options [Gapic::CallOptions, Hash]
854
+ # @param options [::Gapic::CallOptions, ::Hash]
855
855
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
856
856
  #
857
857
  # @overload batch_update_entities(parent: nil, entities: nil, language_code: nil, update_mask: nil)
@@ -859,41 +859,41 @@ module Google
859
859
  # least one keyword argument is required. To specify no parameters, or to keep all
860
860
  # the default parameter values, pass an empty Hash as a request object (see above).
861
861
  #
862
- # @param parent [String]
862
+ # @param parent [::String]
863
863
  # Required. The name of the entity type to update or create entities in.
864
864
  # Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
865
- # @param entities [Array<Google::Cloud::Dialogflow::V2::EntityType::Entity, Hash>]
865
+ # @param entities [::Array<::Google::Cloud::Dialogflow::V2::EntityType::Entity, ::Hash>]
866
866
  # Required. The entities to update or create.
867
- # @param language_code [String]
867
+ # @param language_code [::String]
868
868
  # Optional. The language used to access language-specific data.
869
869
  # If not specified, the agent's default language is used.
870
870
  # For more information, see
871
871
  # [Multilingual intent and entity
872
872
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
873
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
873
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
874
874
  # Optional. The mask to control which fields get updated.
875
875
  #
876
876
  # @yield [response, operation] Access the result along with the RPC operation
877
- # @yieldparam response [Gapic::Operation]
878
- # @yieldparam operation [GRPC::ActiveCall::Operation]
877
+ # @yieldparam response [::Gapic::Operation]
878
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
879
879
  #
880
- # @return [Gapic::Operation]
880
+ # @return [::Gapic::Operation]
881
881
  #
882
- # @raise [Google::Cloud::Error] if the RPC is aborted.
882
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
883
883
  #
884
884
  def batch_update_entities request, options = nil
885
- raise ArgumentError, "request must be provided" if request.nil?
885
+ raise ::ArgumentError, "request must be provided" if request.nil?
886
886
 
887
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dialogflow::V2::BatchUpdateEntitiesRequest
887
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::BatchUpdateEntitiesRequest
888
888
 
889
889
  # Converts hash and nil to an options object
890
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
890
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
891
891
 
892
892
  # Customize the options with defaults
893
893
  metadata = @config.rpcs.batch_update_entities.metadata.to_h
894
894
 
895
895
  # Set x-goog-api-client and x-goog-user-project headers
896
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
896
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
897
897
  lib_name: @config.lib_name, lib_version: @config.lib_version,
898
898
  gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
899
899
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -911,28 +911,28 @@ module Google
911
911
  retry_policy: @config.retry_policy
912
912
 
913
913
  @entity_types_stub.call_rpc :batch_update_entities, request, options: options do |response, operation|
914
- response = Gapic::Operation.new response, @operations_client, options: options
914
+ response = ::Gapic::Operation.new response, @operations_client, options: options
915
915
  yield response, operation if block_given?
916
916
  return response
917
917
  end
918
- rescue GRPC::BadStatus => e
919
- raise Google::Cloud::Error.from_error(e)
918
+ rescue ::GRPC::BadStatus => e
919
+ raise ::Google::Cloud::Error.from_error(e)
920
920
  end
921
921
 
922
922
  ##
923
923
  # Deletes entities in the specified entity type.
924
924
  #
925
925
  #
926
- # Operation <response: {Google::Protobuf::Empty google.protobuf.Empty}>
926
+ # Operation <response: {::Google::Protobuf::Empty google.protobuf.Empty}>
927
927
  #
928
928
  # @overload batch_delete_entities(request, options = nil)
929
929
  # Pass arguments to `batch_delete_entities` via a request object, either of type
930
- # {Google::Cloud::Dialogflow::V2::BatchDeleteEntitiesRequest} or an equivalent Hash.
930
+ # {::Google::Cloud::Dialogflow::V2::BatchDeleteEntitiesRequest} or an equivalent Hash.
931
931
  #
932
- # @param request [Google::Cloud::Dialogflow::V2::BatchDeleteEntitiesRequest, Hash]
932
+ # @param request [::Google::Cloud::Dialogflow::V2::BatchDeleteEntitiesRequest, ::Hash]
933
933
  # A request object representing the call parameters. Required. To specify no
934
934
  # parameters, or to keep all the default parameter values, pass an empty Hash.
935
- # @param options [Gapic::CallOptions, Hash]
935
+ # @param options [::Gapic::CallOptions, ::Hash]
936
936
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
937
937
  #
938
938
  # @overload batch_delete_entities(parent: nil, entity_values: nil, language_code: nil)
@@ -940,14 +940,14 @@ module Google
940
940
  # least one keyword argument is required. To specify no parameters, or to keep all
941
941
  # the default parameter values, pass an empty Hash as a request object (see above).
942
942
  #
943
- # @param parent [String]
943
+ # @param parent [::String]
944
944
  # Required. The name of the entity type to delete entries for. Format:
945
945
  # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
946
- # @param entity_values [Array<String>]
946
+ # @param entity_values [::Array<::String>]
947
947
  # Required. The reference `values` of the entities to delete. Note that
948
948
  # these are not fully-qualified names, i.e. they don't start with
949
949
  # `projects/<Project ID>`.
950
- # @param language_code [String]
950
+ # @param language_code [::String]
951
951
  # Optional. The language used to access language-specific data.
952
952
  # If not specified, the agent's default language is used.
953
953
  # For more information, see
@@ -955,26 +955,26 @@ module Google
955
955
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
956
956
  #
957
957
  # @yield [response, operation] Access the result along with the RPC operation
958
- # @yieldparam response [Gapic::Operation]
959
- # @yieldparam operation [GRPC::ActiveCall::Operation]
958
+ # @yieldparam response [::Gapic::Operation]
959
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
960
960
  #
961
- # @return [Gapic::Operation]
961
+ # @return [::Gapic::Operation]
962
962
  #
963
- # @raise [Google::Cloud::Error] if the RPC is aborted.
963
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
964
964
  #
965
965
  def batch_delete_entities request, options = nil
966
- raise ArgumentError, "request must be provided" if request.nil?
966
+ raise ::ArgumentError, "request must be provided" if request.nil?
967
967
 
968
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dialogflow::V2::BatchDeleteEntitiesRequest
968
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::BatchDeleteEntitiesRequest
969
969
 
970
970
  # Converts hash and nil to an options object
971
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
971
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
972
972
 
973
973
  # Customize the options with defaults
974
974
  metadata = @config.rpcs.batch_delete_entities.metadata.to_h
975
975
 
976
976
  # Set x-goog-api-client and x-goog-user-project headers
977
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
977
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
978
978
  lib_name: @config.lib_name, lib_version: @config.lib_version,
979
979
  gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
980
980
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -992,12 +992,12 @@ module Google
992
992
  retry_policy: @config.retry_policy
993
993
 
994
994
  @entity_types_stub.call_rpc :batch_delete_entities, request, options: options do |response, operation|
995
- response = Gapic::Operation.new response, @operations_client, options: options
995
+ response = ::Gapic::Operation.new response, @operations_client, options: options
996
996
  yield response, operation if block_given?
997
997
  return response
998
998
  end
999
- rescue GRPC::BadStatus => e
1000
- raise Google::Cloud::Error.from_error(e)
999
+ rescue ::GRPC::BadStatus => e
1000
+ raise ::Google::Cloud::Error.from_error(e)
1001
1001
  end
1002
1002
 
1003
1003
  ##
@@ -1007,7 +1007,7 @@ module Google
1007
1007
  # providing control over timeouts, retry behavior, logging, transport
1008
1008
  # parameters, and other low-level controls. Certain parameters can also be
1009
1009
  # applied individually to specific RPCs. See
1010
- # {Google::Cloud::Dialogflow::V2::EntityTypes::Client::Configuration::Rpcs}
1010
+ # {::Google::Cloud::Dialogflow::V2::EntityTypes::Client::Configuration::Rpcs}
1011
1011
  # for a list of RPCs that can be configured independently.
1012
1012
  #
1013
1013
  # Configuration can be applied globally to all clients, or to a single client
@@ -1018,22 +1018,22 @@ module Google
1018
1018
  # To modify the global config, setting the timeout for list_entity_types
1019
1019
  # to 20 seconds, and all remaining timeouts to 10 seconds:
1020
1020
  #
1021
- # Google::Cloud::Dialogflow::V2::EntityTypes::Client.configure do |config|
1022
- # config.timeout = 10_000
1023
- # config.rpcs.list_entity_types.timeout = 20_000
1021
+ # ::Google::Cloud::Dialogflow::V2::EntityTypes::Client.configure do |config|
1022
+ # config.timeout = 10.0
1023
+ # config.rpcs.list_entity_types.timeout = 20.0
1024
1024
  # end
1025
1025
  #
1026
1026
  # To apply the above configuration only to a new client:
1027
1027
  #
1028
- # client = Google::Cloud::Dialogflow::V2::EntityTypes::Client.new do |config|
1029
- # config.timeout = 10_000
1030
- # config.rpcs.list_entity_types.timeout = 20_000
1028
+ # client = ::Google::Cloud::Dialogflow::V2::EntityTypes::Client.new do |config|
1029
+ # config.timeout = 10.0
1030
+ # config.rpcs.list_entity_types.timeout = 20.0
1031
1031
  # end
1032
1032
  #
1033
1033
  # @!attribute [rw] endpoint
1034
1034
  # The hostname or hostname:port of the service endpoint.
1035
1035
  # Defaults to `"dialogflow.googleapis.com"`.
1036
- # @return [String]
1036
+ # @return [::String]
1037
1037
  # @!attribute [rw] credentials
1038
1038
  # Credentials to send with calls. You may provide any of the following types:
1039
1039
  # * (`String`) The path to a service account key file in JSON format
@@ -1045,29 +1045,29 @@ module Google
1045
1045
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1046
1046
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1047
1047
  # * (`nil`) indicating no credentials
1048
- # @return [Object]
1048
+ # @return [::Object]
1049
1049
  # @!attribute [rw] scope
1050
1050
  # The OAuth scopes
1051
- # @return [Array<String>]
1051
+ # @return [::Array<::String>]
1052
1052
  # @!attribute [rw] lib_name
1053
1053
  # The library name as recorded in instrumentation and logging
1054
- # @return [String]
1054
+ # @return [::String]
1055
1055
  # @!attribute [rw] lib_version
1056
1056
  # The library version as recorded in instrumentation and logging
1057
- # @return [String]
1057
+ # @return [::String]
1058
1058
  # @!attribute [rw] channel_args
1059
1059
  # Extra parameters passed to the gRPC channel. Note: this is ignored if a
1060
1060
  # `GRPC::Core::Channel` object is provided as the credential.
1061
- # @return [Hash]
1061
+ # @return [::Hash]
1062
1062
  # @!attribute [rw] interceptors
1063
1063
  # An array of interceptors that are run before calls are executed.
1064
- # @return [Array<GRPC::ClientInterceptor>]
1064
+ # @return [::Array<::GRPC::ClientInterceptor>]
1065
1065
  # @!attribute [rw] timeout
1066
- # The call timeout in milliseconds.
1067
- # @return [Numeric]
1066
+ # The call timeout in seconds.
1067
+ # @return [::Numeric]
1068
1068
  # @!attribute [rw] metadata
1069
1069
  # Additional gRPC headers to be sent with the call.
1070
- # @return [Hash{Symbol=>String}]
1070
+ # @return [::Hash{::Symbol=>::String}]
1071
1071
  # @!attribute [rw] retry_policy
1072
1072
  # The retry policy. The value is a hash with the following keys:
1073
1073
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
@@ -1075,10 +1075,10 @@ module Google
1075
1075
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1076
1076
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1077
1077
  # trigger a retry.
1078
- # @return [Hash]
1078
+ # @return [::Hash]
1079
1079
  #
1080
1080
  class Configuration
1081
- extend Gapic::Config
1081
+ extend ::Gapic::Config
1082
1082
 
1083
1083
  config_attr :endpoint, "dialogflow.googleapis.com", String
1084
1084
  config_attr :credentials, nil do |value|
@@ -1086,14 +1086,14 @@ module Google
1086
1086
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1087
1087
  allowed.any? { |klass| klass === value }
1088
1088
  end
1089
- config_attr :scope, nil, String, Array, nil
1090
- config_attr :lib_name, nil, String, nil
1091
- config_attr :lib_version, nil, String, nil
1092
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
1093
- config_attr :interceptors, nil, Array, nil
1094
- config_attr :timeout, nil, Numeric, nil
1095
- config_attr :metadata, nil, Hash, nil
1096
- config_attr :retry_policy, nil, Hash, Proc, nil
1089
+ config_attr :scope, nil, ::String, ::Array, nil
1090
+ config_attr :lib_name, nil, ::String, nil
1091
+ config_attr :lib_version, nil, ::String, nil
1092
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
1093
+ config_attr :interceptors, nil, ::Array, nil
1094
+ config_attr :timeout, nil, ::Numeric, nil
1095
+ config_attr :metadata, nil, ::Hash, nil
1096
+ config_attr :retry_policy, nil, ::Hash, Proc, nil
1097
1097
 
1098
1098
  # @private
1099
1099
  def initialize parent_config = nil
@@ -1134,77 +1134,77 @@ module Google
1134
1134
  class Rpcs
1135
1135
  ##
1136
1136
  # RPC-specific configuration for `list_entity_types`
1137
- # @return [Gapic::Config::Method]
1137
+ # @return [::Gapic::Config::Method]
1138
1138
  #
1139
1139
  attr_reader :list_entity_types
1140
1140
  ##
1141
1141
  # RPC-specific configuration for `get_entity_type`
1142
- # @return [Gapic::Config::Method]
1142
+ # @return [::Gapic::Config::Method]
1143
1143
  #
1144
1144
  attr_reader :get_entity_type
1145
1145
  ##
1146
1146
  # RPC-specific configuration for `create_entity_type`
1147
- # @return [Gapic::Config::Method]
1147
+ # @return [::Gapic::Config::Method]
1148
1148
  #
1149
1149
  attr_reader :create_entity_type
1150
1150
  ##
1151
1151
  # RPC-specific configuration for `update_entity_type`
1152
- # @return [Gapic::Config::Method]
1152
+ # @return [::Gapic::Config::Method]
1153
1153
  #
1154
1154
  attr_reader :update_entity_type
1155
1155
  ##
1156
1156
  # RPC-specific configuration for `delete_entity_type`
1157
- # @return [Gapic::Config::Method]
1157
+ # @return [::Gapic::Config::Method]
1158
1158
  #
1159
1159
  attr_reader :delete_entity_type
1160
1160
  ##
1161
1161
  # RPC-specific configuration for `batch_update_entity_types`
1162
- # @return [Gapic::Config::Method]
1162
+ # @return [::Gapic::Config::Method]
1163
1163
  #
1164
1164
  attr_reader :batch_update_entity_types
1165
1165
  ##
1166
1166
  # RPC-specific configuration for `batch_delete_entity_types`
1167
- # @return [Gapic::Config::Method]
1167
+ # @return [::Gapic::Config::Method]
1168
1168
  #
1169
1169
  attr_reader :batch_delete_entity_types
1170
1170
  ##
1171
1171
  # RPC-specific configuration for `batch_create_entities`
1172
- # @return [Gapic::Config::Method]
1172
+ # @return [::Gapic::Config::Method]
1173
1173
  #
1174
1174
  attr_reader :batch_create_entities
1175
1175
  ##
1176
1176
  # RPC-specific configuration for `batch_update_entities`
1177
- # @return [Gapic::Config::Method]
1177
+ # @return [::Gapic::Config::Method]
1178
1178
  #
1179
1179
  attr_reader :batch_update_entities
1180
1180
  ##
1181
1181
  # RPC-specific configuration for `batch_delete_entities`
1182
- # @return [Gapic::Config::Method]
1182
+ # @return [::Gapic::Config::Method]
1183
1183
  #
1184
1184
  attr_reader :batch_delete_entities
1185
1185
 
1186
1186
  # @private
1187
1187
  def initialize parent_rpcs = nil
1188
1188
  list_entity_types_config = parent_rpcs&.list_entity_types if parent_rpcs&.respond_to? :list_entity_types
1189
- @list_entity_types = Gapic::Config::Method.new list_entity_types_config
1189
+ @list_entity_types = ::Gapic::Config::Method.new list_entity_types_config
1190
1190
  get_entity_type_config = parent_rpcs&.get_entity_type if parent_rpcs&.respond_to? :get_entity_type
1191
- @get_entity_type = Gapic::Config::Method.new get_entity_type_config
1191
+ @get_entity_type = ::Gapic::Config::Method.new get_entity_type_config
1192
1192
  create_entity_type_config = parent_rpcs&.create_entity_type if parent_rpcs&.respond_to? :create_entity_type
1193
- @create_entity_type = Gapic::Config::Method.new create_entity_type_config
1193
+ @create_entity_type = ::Gapic::Config::Method.new create_entity_type_config
1194
1194
  update_entity_type_config = parent_rpcs&.update_entity_type if parent_rpcs&.respond_to? :update_entity_type
1195
- @update_entity_type = Gapic::Config::Method.new update_entity_type_config
1195
+ @update_entity_type = ::Gapic::Config::Method.new update_entity_type_config
1196
1196
  delete_entity_type_config = parent_rpcs&.delete_entity_type if parent_rpcs&.respond_to? :delete_entity_type
1197
- @delete_entity_type = Gapic::Config::Method.new delete_entity_type_config
1197
+ @delete_entity_type = ::Gapic::Config::Method.new delete_entity_type_config
1198
1198
  batch_update_entity_types_config = parent_rpcs&.batch_update_entity_types if parent_rpcs&.respond_to? :batch_update_entity_types
1199
- @batch_update_entity_types = Gapic::Config::Method.new batch_update_entity_types_config
1199
+ @batch_update_entity_types = ::Gapic::Config::Method.new batch_update_entity_types_config
1200
1200
  batch_delete_entity_types_config = parent_rpcs&.batch_delete_entity_types if parent_rpcs&.respond_to? :batch_delete_entity_types
1201
- @batch_delete_entity_types = Gapic::Config::Method.new batch_delete_entity_types_config
1201
+ @batch_delete_entity_types = ::Gapic::Config::Method.new batch_delete_entity_types_config
1202
1202
  batch_create_entities_config = parent_rpcs&.batch_create_entities if parent_rpcs&.respond_to? :batch_create_entities
1203
- @batch_create_entities = Gapic::Config::Method.new batch_create_entities_config
1203
+ @batch_create_entities = ::Gapic::Config::Method.new batch_create_entities_config
1204
1204
  batch_update_entities_config = parent_rpcs&.batch_update_entities if parent_rpcs&.respond_to? :batch_update_entities
1205
- @batch_update_entities = Gapic::Config::Method.new batch_update_entities_config
1205
+ @batch_update_entities = ::Gapic::Config::Method.new batch_update_entities_config
1206
1206
  batch_delete_entities_config = parent_rpcs&.batch_delete_entities if parent_rpcs&.respond_to? :batch_delete_entities
1207
- @batch_delete_entities = Gapic::Config::Method.new batch_delete_entities_config
1207
+ @batch_delete_entities = ::Gapic::Config::Method.new batch_delete_entities_config
1208
1208
 
1209
1209
  yield self if block_given?
1210
1210
  end