google-apis-dialogflow_v2beta1 0.91.0 → 0.93.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +535 -480
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +184 -292
- data/lib/google/apis/dialogflow_v2beta1/service.rb +185 -14
- metadata +4 -4
@@ -3512,8 +3512,8 @@ module Google
|
|
3512
3512
|
# Optional. Identifier of the conversation. Generally it's auto generated by
|
3513
3513
|
# Google. Only set it if you cannot wait for the response to return a auto-
|
3514
3514
|
# generated one to you. The conversation ID must be compliant with the
|
3515
|
-
# regression
|
3516
|
-
# the field is provided, the caller is
|
3515
|
+
# regression formula `a-zA-Z*` with the characters length in range of [3,64]. If
|
3516
|
+
# the field is provided, the caller is responsible for 1. the uniqueness of the
|
3517
3517
|
# ID, otherwise the request will be rejected. 2. the consistency for whether to
|
3518
3518
|
# use custom ID or not under a project to better ensure uniqueness.
|
3519
3519
|
# @param [String] fields
|
@@ -4193,9 +4193,9 @@ module Google
|
|
4193
4193
|
# @param [String] generator_id
|
4194
4194
|
# Optional. The ID to use for the generator, which will become the final
|
4195
4195
|
# component of the generator's resource name. The generator ID must be compliant
|
4196
|
-
# with the regression
|
4197
|
-
# 64]. If the field is not provided, an Id will be auto-generated. If the
|
4198
|
-
# is provided, the caller is
|
4196
|
+
# with the regression formula `a-zA-Z*` with the characters length in range of [
|
4197
|
+
# 3,64]. If the field is not provided, an Id will be auto-generated. If the
|
4198
|
+
# field is provided, the caller is responsible for 1. the uniqueness of the ID,
|
4199
4199
|
# otherwise the request will be rejected. 2. the consistency for whether to use
|
4200
4200
|
# custom ID or not under a project to better ensure uniqueness.
|
4201
4201
|
# @param [String] fields
|
@@ -7868,8 +7868,8 @@ module Google
|
|
7868
7868
|
# Optional. Identifier of the conversation. Generally it's auto generated by
|
7869
7869
|
# Google. Only set it if you cannot wait for the response to return a auto-
|
7870
7870
|
# generated one to you. The conversation ID must be compliant with the
|
7871
|
-
# regression
|
7872
|
-
# the field is provided, the caller is
|
7871
|
+
# regression formula `a-zA-Z*` with the characters length in range of [3,64]. If
|
7872
|
+
# the field is provided, the caller is responsible for 1. the uniqueness of the
|
7873
7873
|
# ID, otherwise the request will be rejected. 2. the consistency for whether to
|
7874
7874
|
# use custom ID or not under a project to better ensure uniqueness.
|
7875
7875
|
# @param [String] fields
|
@@ -8493,9 +8493,9 @@ module Google
|
|
8493
8493
|
# @param [String] generator_id
|
8494
8494
|
# Optional. The ID to use for the generator, which will become the final
|
8495
8495
|
# component of the generator's resource name. The generator ID must be compliant
|
8496
|
-
# with the regression
|
8497
|
-
# 64]. If the field is not provided, an Id will be auto-generated. If the
|
8498
|
-
# is provided, the caller is
|
8496
|
+
# with the regression formula `a-zA-Z*` with the characters length in range of [
|
8497
|
+
# 3,64]. If the field is not provided, an Id will be auto-generated. If the
|
8498
|
+
# field is provided, the caller is responsible for 1. the uniqueness of the ID,
|
8499
8499
|
# otherwise the request will be rejected. 2. the consistency for whether to use
|
8500
8500
|
# custom ID or not under a project to better ensure uniqueness.
|
8501
8501
|
# @param [String] fields
|
@@ -9160,8 +9160,8 @@ module Google
|
|
9160
9160
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
9161
9161
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
9162
9162
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
9163
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
9164
|
-
# corresponding to `Code.CANCELLED`.
|
9163
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
9164
|
+
# , corresponding to `Code.CANCELLED`.
|
9165
9165
|
# @param [String] name
|
9166
9166
|
# The name of the operation resource to be cancelled.
|
9167
9167
|
# @param [String] fields
|
@@ -9262,6 +9262,177 @@ module Google
|
|
9262
9262
|
execute_or_queue_command(command, &block)
|
9263
9263
|
end
|
9264
9264
|
|
9265
|
+
# Creates a SipTrunk for a specified location.
|
9266
|
+
# @param [String] parent
|
9267
|
+
# Required. The location to create a SIP trunk for. Format: `projects//locations/
|
9268
|
+
# `.
|
9269
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk] google_cloud_dialogflow_v2beta1_sip_trunk_object
|
9270
|
+
# @param [String] fields
|
9271
|
+
# Selector specifying which fields to include in a partial response.
|
9272
|
+
# @param [String] quota_user
|
9273
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9274
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9275
|
+
# @param [Google::Apis::RequestOptions] options
|
9276
|
+
# Request-specific options
|
9277
|
+
#
|
9278
|
+
# @yield [result, err] Result & error if block supplied
|
9279
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk] parsed result object
|
9280
|
+
# @yieldparam err [StandardError] error object if request failed
|
9281
|
+
#
|
9282
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk]
|
9283
|
+
#
|
9284
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9285
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9286
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9287
|
+
def create_project_location_sip_trunk(parent, google_cloud_dialogflow_v2beta1_sip_trunk_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
9288
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/sipTrunks', options)
|
9289
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk::Representation
|
9290
|
+
command.request_object = google_cloud_dialogflow_v2beta1_sip_trunk_object
|
9291
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk::Representation
|
9292
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk
|
9293
|
+
command.params['parent'] = parent unless parent.nil?
|
9294
|
+
command.query['fields'] = fields unless fields.nil?
|
9295
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9296
|
+
execute_or_queue_command(command, &block)
|
9297
|
+
end
|
9298
|
+
|
9299
|
+
# Deletes a specified SipTrunk.
|
9300
|
+
# @param [String] name
|
9301
|
+
# Required. The name of the SIP trunk to delete. Format: `projects//locations//
|
9302
|
+
# sipTrunks/`.
|
9303
|
+
# @param [String] fields
|
9304
|
+
# Selector specifying which fields to include in a partial response.
|
9305
|
+
# @param [String] quota_user
|
9306
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9307
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9308
|
+
# @param [Google::Apis::RequestOptions] options
|
9309
|
+
# Request-specific options
|
9310
|
+
#
|
9311
|
+
# @yield [result, err] Result & error if block supplied
|
9312
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
9313
|
+
# @yieldparam err [StandardError] error object if request failed
|
9314
|
+
#
|
9315
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
9316
|
+
#
|
9317
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9318
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9319
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9320
|
+
def delete_project_location_sip_trunk(name, fields: nil, quota_user: nil, options: nil, &block)
|
9321
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
9322
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
9323
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
9324
|
+
command.params['name'] = name unless name.nil?
|
9325
|
+
command.query['fields'] = fields unless fields.nil?
|
9326
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9327
|
+
execute_or_queue_command(command, &block)
|
9328
|
+
end
|
9329
|
+
|
9330
|
+
# Retrieves the specified SipTrunk.
|
9331
|
+
# @param [String] name
|
9332
|
+
# Required. The name of the SIP trunk to delete. Format: `projects//locations//
|
9333
|
+
# sipTrunks/`.
|
9334
|
+
# @param [String] fields
|
9335
|
+
# Selector specifying which fields to include in a partial response.
|
9336
|
+
# @param [String] quota_user
|
9337
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9338
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9339
|
+
# @param [Google::Apis::RequestOptions] options
|
9340
|
+
# Request-specific options
|
9341
|
+
#
|
9342
|
+
# @yield [result, err] Result & error if block supplied
|
9343
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk] parsed result object
|
9344
|
+
# @yieldparam err [StandardError] error object if request failed
|
9345
|
+
#
|
9346
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk]
|
9347
|
+
#
|
9348
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9349
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9350
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9351
|
+
def get_project_location_sip_trunk(name, fields: nil, quota_user: nil, options: nil, &block)
|
9352
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
9353
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk::Representation
|
9354
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk
|
9355
|
+
command.params['name'] = name unless name.nil?
|
9356
|
+
command.query['fields'] = fields unless fields.nil?
|
9357
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9358
|
+
execute_or_queue_command(command, &block)
|
9359
|
+
end
|
9360
|
+
|
9361
|
+
# Returns a list of SipTrunks in the specified location.
|
9362
|
+
# @param [String] parent
|
9363
|
+
# Required. The location to list SIP trunks from. Format: `projects//locations/`.
|
9364
|
+
# @param [Fixnum] page_size
|
9365
|
+
# Optional. The maximum number of items to return in a single page. By default
|
9366
|
+
# 100 and at most 1000.
|
9367
|
+
# @param [String] page_token
|
9368
|
+
# Optional. The next_page_token value returned from a previous list request.
|
9369
|
+
# @param [String] fields
|
9370
|
+
# Selector specifying which fields to include in a partial response.
|
9371
|
+
# @param [String] quota_user
|
9372
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9373
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9374
|
+
# @param [Google::Apis::RequestOptions] options
|
9375
|
+
# Request-specific options
|
9376
|
+
#
|
9377
|
+
# @yield [result, err] Result & error if block supplied
|
9378
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSipTrunksResponse] parsed result object
|
9379
|
+
# @yieldparam err [StandardError] error object if request failed
|
9380
|
+
#
|
9381
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSipTrunksResponse]
|
9382
|
+
#
|
9383
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9384
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9385
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9386
|
+
def list_project_location_sip_trunks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
9387
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/sipTrunks', options)
|
9388
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSipTrunksResponse::Representation
|
9389
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSipTrunksResponse
|
9390
|
+
command.params['parent'] = parent unless parent.nil?
|
9391
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
9392
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
9393
|
+
command.query['fields'] = fields unless fields.nil?
|
9394
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9395
|
+
execute_or_queue_command(command, &block)
|
9396
|
+
end
|
9397
|
+
|
9398
|
+
# Updates the specified SipTrunk.
|
9399
|
+
# @param [String] name
|
9400
|
+
# Identifier. The unique identifier of the SIP trunk. Format: `projects//
|
9401
|
+
# locations//sipTrunks/`.
|
9402
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk] google_cloud_dialogflow_v2beta1_sip_trunk_object
|
9403
|
+
# @param [String] update_mask
|
9404
|
+
# Optional. The mask to control which fields get updated. If the mask is not
|
9405
|
+
# present, all fields will be updated.
|
9406
|
+
# @param [String] fields
|
9407
|
+
# Selector specifying which fields to include in a partial response.
|
9408
|
+
# @param [String] quota_user
|
9409
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9410
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9411
|
+
# @param [Google::Apis::RequestOptions] options
|
9412
|
+
# Request-specific options
|
9413
|
+
#
|
9414
|
+
# @yield [result, err] Result & error if block supplied
|
9415
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk] parsed result object
|
9416
|
+
# @yieldparam err [StandardError] error object if request failed
|
9417
|
+
#
|
9418
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk]
|
9419
|
+
#
|
9420
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9421
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9422
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9423
|
+
def patch_project_location_sip_trunk(name, google_cloud_dialogflow_v2beta1_sip_trunk_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
9424
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
9425
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk::Representation
|
9426
|
+
command.request_object = google_cloud_dialogflow_v2beta1_sip_trunk_object
|
9427
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk::Representation
|
9428
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk
|
9429
|
+
command.params['name'] = name unless name.nil?
|
9430
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
9431
|
+
command.query['fields'] = fields unless fields.nil?
|
9432
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9433
|
+
execute_or_queue_command(command, &block)
|
9434
|
+
end
|
9435
|
+
|
9265
9436
|
# Generates and returns a suggestion for a conversation that does not have a
|
9266
9437
|
# resource created for it.
|
9267
9438
|
# @param [String] parent
|
@@ -9372,8 +9543,8 @@ module Google
|
|
9372
9543
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
9373
9544
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
9374
9545
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
9375
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
9376
|
-
# corresponding to `Code.CANCELLED`.
|
9546
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
9547
|
+
# , corresponding to `Code.CANCELLED`.
|
9377
9548
|
# @param [String] name
|
9378
9549
|
# The name of the operation resource to be cancelled.
|
9379
9550
|
# @param [String] fields
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.93.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.93.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Dialogflow API V2beta1
|