google-apis-dialogflow_v2beta1 0.90.0 → 0.92.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 fomula `a-zA-Z*` with the characters length in range of [3,64]. If
3516
- # the field is provided, the caller is resposible for 1. the uniqueness of the
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 fomula `a-zA-Z*` with the characters length in range of [3,
4197
- # 64]. If the field is not provided, an Id will be auto-generated. If the field
4198
- # is provided, the caller is resposible for 1. the uniqueness of the ID,
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
@@ -4847,6 +4847,36 @@ module Google
4847
4847
  execute_or_queue_command(command, &block)
4848
4848
  end
4849
4849
 
4850
+ # Gets location-level encryption key specification.
4851
+ # @param [String] name
4852
+ # Required. The name of the encryption spec resource to get.
4853
+ # @param [String] fields
4854
+ # Selector specifying which fields to include in a partial response.
4855
+ # @param [String] quota_user
4856
+ # Available to use for quota purposes for server-side applications. Can be any
4857
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4858
+ # @param [Google::Apis::RequestOptions] options
4859
+ # Request-specific options
4860
+ #
4861
+ # @yield [result, err] Result & error if block supplied
4862
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec] parsed result object
4863
+ # @yieldparam err [StandardError] error object if request failed
4864
+ #
4865
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec]
4866
+ #
4867
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4868
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4869
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4870
+ def get_project_location_encryption_spec(name, fields: nil, quota_user: nil, options: nil, &block)
4871
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
4872
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
4873
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec
4874
+ command.params['name'] = name unless name.nil?
4875
+ command.query['fields'] = fields unless fields.nil?
4876
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4877
+ execute_or_queue_command(command, &block)
4878
+ end
4879
+
4850
4880
  # Lists information about the supported locations for this service.
4851
4881
  # @param [String] name
4852
4882
  # The resource that owns the locations collection, if applicable.
@@ -7838,8 +7868,8 @@ module Google
7838
7868
  # Optional. Identifier of the conversation. Generally it's auto generated by
7839
7869
  # Google. Only set it if you cannot wait for the response to return a auto-
7840
7870
  # generated one to you. The conversation ID must be compliant with the
7841
- # regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If
7842
- # the field is provided, the caller is resposible for 1. the uniqueness of the
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
7843
7873
  # ID, otherwise the request will be rejected. 2. the consistency for whether to
7844
7874
  # use custom ID or not under a project to better ensure uniqueness.
7845
7875
  # @param [String] fields
@@ -8417,6 +8447,44 @@ module Google
8417
8447
  execute_or_queue_command(command, &block)
8418
8448
  end
8419
8449
 
8450
+ # Initializes a location-level encryption key specification. An error will be
8451
+ # thrown if the location has resources already created before the initialization.
8452
+ # Once the encryption specification is initialized at a location, it is
8453
+ # immutable and all newly created resources under the location will be encrypted
8454
+ # with the existing specification.
8455
+ # @param [String] name
8456
+ # Immutable. The resource name of the encryption key specification resource.
8457
+ # Format: projects/`project`/locations/`location`/encryptionSpec
8458
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest] google_cloud_dialogflow_v2beta1_initialize_encryption_spec_request_object
8459
+ # @param [String] fields
8460
+ # Selector specifying which fields to include in a partial response.
8461
+ # @param [String] quota_user
8462
+ # Available to use for quota purposes for server-side applications. Can be any
8463
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8464
+ # @param [Google::Apis::RequestOptions] options
8465
+ # Request-specific options
8466
+ #
8467
+ # @yield [result, err] Result & error if block supplied
8468
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
8469
+ # @yieldparam err [StandardError] error object if request failed
8470
+ #
8471
+ # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
8472
+ #
8473
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8474
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8475
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8476
+ def initialize_project_location_encryption_spec(name, google_cloud_dialogflow_v2beta1_initialize_encryption_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8477
+ command = make_simple_command(:post, 'v2beta1/{+name}:initialize', options)
8478
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
8479
+ command.request_object = google_cloud_dialogflow_v2beta1_initialize_encryption_spec_request_object
8480
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
8481
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
8482
+ command.params['name'] = name unless name.nil?
8483
+ command.query['fields'] = fields unless fields.nil?
8484
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8485
+ execute_or_queue_command(command, &block)
8486
+ end
8487
+
8420
8488
  # Creates a generator.
8421
8489
  # @param [String] parent
8422
8490
  # Required. The project/location to create generator for. Format: `projects//
@@ -8425,9 +8493,9 @@ module Google
8425
8493
  # @param [String] generator_id
8426
8494
  # Optional. The ID to use for the generator, which will become the final
8427
8495
  # component of the generator's resource name. The generator ID must be compliant
8428
- # with the regression fomula `a-zA-Z*` with the characters length in range of [3,
8429
- # 64]. If the field is not provided, an Id will be auto-generated. If the field
8430
- # is provided, the caller is resposible for 1. the uniqueness of the ID,
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,
8431
8499
  # otherwise the request will be rejected. 2. the consistency for whether to use
8432
8500
  # custom ID or not under a project to better ensure uniqueness.
8433
8501
  # @param [String] fields
@@ -9194,6 +9262,177 @@ module Google
9194
9262
  execute_or_queue_command(command, &block)
9195
9263
  end
9196
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
+
9197
9436
  # Generates and returns a suggestion for a conversation that does not have a
9198
9437
  # resource created for it.
9199
9438
  # @param [String] parent
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.90.0
4
+ version: 0.92.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-06-27 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.90.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.92.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.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dialogflow API V2beta1