google-apis-dialogflow_v2 0.92.0 → 0.94.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3523,8 +3523,8 @@ module Google
3523
3523
  end
3524
3524
 
3525
3525
  # Creates a conversation profile in the specified project. ConversationProfile.
3526
- # CreateTime and ConversationProfile.UpdateTime aren't populated in the response.
3527
- # You can retrieve them via GetConversationProfile API.
3526
+ # create_time and ConversationProfile.update_time aren't populated in the
3527
+ # response. You can retrieve them via GetConversationProfile API.
3528
3528
  # @param [String] parent
3529
3529
  # Required. The project to create a conversation profile for. Format: `projects//
3530
3530
  # locations/`.
@@ -3658,8 +3658,8 @@ module Google
3658
3658
  execute_or_queue_command(command, &block)
3659
3659
  end
3660
3660
 
3661
- # Updates the specified conversation profile. ConversationProfile.CreateTime and
3662
- # ConversationProfile.UpdateTime aren't populated in the response. You can
3661
+ # Updates the specified conversation profile. ConversationProfile.create_time
3662
+ # and ConversationProfile.update_time aren't populated in the response. You can
3663
3663
  # retrieve them via GetConversationProfile API.
3664
3664
  # @param [String] name
3665
3665
  # The unique identifier of this conversation profile. Format: `projects//
@@ -3794,8 +3794,8 @@ module Google
3794
3794
  # Optional. Identifier of the conversation. Generally it's auto generated by
3795
3795
  # Google. Only set it if you cannot wait for the response to return a auto-
3796
3796
  # generated one to you. The conversation ID must be compliant with the
3797
- # regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If
3798
- # the field is provided, the caller is resposible for 1. the uniqueness of the
3797
+ # regression formula `a-zA-Z*` with the characters length in range of [3,64]. If
3798
+ # the field is provided, the caller is responsible for 1. the uniqueness of the
3799
3799
  # ID, otherwise the request will be rejected. 2. the consistency for whether to
3800
3800
  # use custom ID or not under a project to better ensure uniqueness.
3801
3801
  # @param [String] fields
@@ -4344,9 +4344,9 @@ module Google
4344
4344
  # @param [String] generator_id
4345
4345
  # Optional. The ID to use for the generator, which will become the final
4346
4346
  # component of the generator's resource name. The generator ID must be compliant
4347
- # with the regression fomula `a-zA-Z*` with the characters length in range of [3,
4348
- # 64]. If the field is not provided, an Id will be auto-generated. If the field
4349
- # is provided, the caller is resposible for 1. the uniqueness of the ID,
4347
+ # with the regression formula `a-zA-Z*` with the characters length in range of [
4348
+ # 3,64]. If the field is not provided, an Id will be auto-generated. If the
4349
+ # field is provided, the caller is responsible for 1. the uniqueness of the ID,
4350
4350
  # otherwise the request will be rejected. 2. the consistency for whether to use
4351
4351
  # custom ID or not under a project to better ensure uniqueness.
4352
4352
  # @param [String] fields
@@ -5013,6 +5013,36 @@ module Google
5013
5013
  execute_or_queue_command(command, &block)
5014
5014
  end
5015
5015
 
5016
+ # Gets location-level encryption key specification.
5017
+ # @param [String] name
5018
+ # Required. The name of the encryption spec resource to get.
5019
+ # @param [String] fields
5020
+ # Selector specifying which fields to include in a partial response.
5021
+ # @param [String] quota_user
5022
+ # Available to use for quota purposes for server-side applications. Can be any
5023
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5024
+ # @param [Google::Apis::RequestOptions] options
5025
+ # Request-specific options
5026
+ #
5027
+ # @yield [result, err] Result & error if block supplied
5028
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec] parsed result object
5029
+ # @yieldparam err [StandardError] error object if request failed
5030
+ #
5031
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec]
5032
+ #
5033
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5034
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5035
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5036
+ def get_project_location_encryption_spec(name, fields: nil, quota_user: nil, options: nil, &block)
5037
+ command = make_simple_command(:get, 'v2/{+name}', options)
5038
+ command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec::Representation
5039
+ command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec
5040
+ command.params['name'] = name unless name.nil?
5041
+ command.query['fields'] = fields unless fields.nil?
5042
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5043
+ execute_or_queue_command(command, &block)
5044
+ end
5045
+
5016
5046
  # Lists information about the supported locations for this service.
5017
5047
  # @param [String] name
5018
5048
  # The resource that owns the locations collection, if applicable.
@@ -8146,8 +8176,8 @@ module Google
8146
8176
  end
8147
8177
 
8148
8178
  # Creates a conversation profile in the specified project. ConversationProfile.
8149
- # CreateTime and ConversationProfile.UpdateTime aren't populated in the response.
8150
- # You can retrieve them via GetConversationProfile API.
8179
+ # create_time and ConversationProfile.update_time aren't populated in the
8180
+ # response. You can retrieve them via GetConversationProfile API.
8151
8181
  # @param [String] parent
8152
8182
  # Required. The project to create a conversation profile for. Format: `projects//
8153
8183
  # locations/`.
@@ -8281,8 +8311,8 @@ module Google
8281
8311
  execute_or_queue_command(command, &block)
8282
8312
  end
8283
8313
 
8284
- # Updates the specified conversation profile. ConversationProfile.CreateTime and
8285
- # ConversationProfile.UpdateTime aren't populated in the response. You can
8314
+ # Updates the specified conversation profile. ConversationProfile.create_time
8315
+ # and ConversationProfile.update_time aren't populated in the response. You can
8286
8316
  # retrieve them via GetConversationProfile API.
8287
8317
  # @param [String] name
8288
8318
  # The unique identifier of this conversation profile. Format: `projects//
@@ -8417,8 +8447,8 @@ module Google
8417
8447
  # Optional. Identifier of the conversation. Generally it's auto generated by
8418
8448
  # Google. Only set it if you cannot wait for the response to return a auto-
8419
8449
  # generated one to you. The conversation ID must be compliant with the
8420
- # regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If
8421
- # the field is provided, the caller is resposible for 1. the uniqueness of the
8450
+ # regression formula `a-zA-Z*` with the characters length in range of [3,64]. If
8451
+ # the field is provided, the caller is responsible for 1. the uniqueness of the
8422
8452
  # ID, otherwise the request will be rejected. 2. the consistency for whether to
8423
8453
  # use custom ID or not under a project to better ensure uniqueness.
8424
8454
  # @param [String] fields
@@ -8959,6 +8989,44 @@ module Google
8959
8989
  execute_or_queue_command(command, &block)
8960
8990
  end
8961
8991
 
8992
+ # Initializes a location-level encryption key specification. An error will be
8993
+ # thrown if the location has resources already created before the initialization.
8994
+ # Once the encryption specification is initialized at a location, it is
8995
+ # immutable and all newly created resources under the location will be encrypted
8996
+ # with the existing specification.
8997
+ # @param [String] name
8998
+ # Immutable. The resource name of the encryption key specification resource.
8999
+ # Format: projects/`project`/locations/`location`/encryptionSpec
9000
+ # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest] google_cloud_dialogflow_v2_initialize_encryption_spec_request_object
9001
+ # @param [String] fields
9002
+ # Selector specifying which fields to include in a partial response.
9003
+ # @param [String] quota_user
9004
+ # Available to use for quota purposes for server-side applications. Can be any
9005
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9006
+ # @param [Google::Apis::RequestOptions] options
9007
+ # Request-specific options
9008
+ #
9009
+ # @yield [result, err] Result & error if block supplied
9010
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleLongrunningOperation] parsed result object
9011
+ # @yieldparam err [StandardError] error object if request failed
9012
+ #
9013
+ # @return [Google::Apis::DialogflowV2::GoogleLongrunningOperation]
9014
+ #
9015
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9016
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9017
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9018
+ def initialize_project_location_encryption_spec(name, google_cloud_dialogflow_v2_initialize_encryption_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
9019
+ command = make_simple_command(:post, 'v2/{+name}:initialize', options)
9020
+ command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
9021
+ command.request_object = google_cloud_dialogflow_v2_initialize_encryption_spec_request_object
9022
+ command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
9023
+ command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningOperation
9024
+ command.params['name'] = name unless name.nil?
9025
+ command.query['fields'] = fields unless fields.nil?
9026
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9027
+ execute_or_queue_command(command, &block)
9028
+ end
9029
+
8962
9030
  # Creates a generator.
8963
9031
  # @param [String] parent
8964
9032
  # Required. The project/location to create generator for. Format: `projects//
@@ -8967,9 +9035,9 @@ module Google
8967
9035
  # @param [String] generator_id
8968
9036
  # Optional. The ID to use for the generator, which will become the final
8969
9037
  # component of the generator's resource name. The generator ID must be compliant
8970
- # with the regression fomula `a-zA-Z*` with the characters length in range of [3,
8971
- # 64]. If the field is not provided, an Id will be auto-generated. If the field
8972
- # is provided, the caller is resposible for 1. the uniqueness of the ID,
9038
+ # with the regression formula `a-zA-Z*` with the characters length in range of [
9039
+ # 3,64]. If the field is not provided, an Id will be auto-generated. If the
9040
+ # field is provided, the caller is responsible for 1. the uniqueness of the ID,
8973
9041
  # otherwise the request will be rejected. 2. the consistency for whether to use
8974
9042
  # custom ID or not under a project to better ensure uniqueness.
8975
9043
  # @param [String] fields
@@ -9036,7 +9104,7 @@ module Google
9036
9104
  # Retrieves a generator.
9037
9105
  # @param [String] name
9038
9106
  # Required. The generator resource name to retrieve. Format: `projects//
9039
- # locations/`/generators/`
9107
+ # locations//generators/`
9040
9108
  # @param [String] fields
9041
9109
  # Selector specifying which fields to include in a partial response.
9042
9110
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.92.0
4
+ version: 0.94.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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.92.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.94.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
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 V2