google-apis-discoveryengine_v1 0.19.0 → 0.20.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.
@@ -229,6 +229,8 @@ module Google
229
229
  # Required. The parent resource name, such as `projects/`project`/locations/`
230
230
  # location`/collections/`collection``.
231
231
  # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStore] google_cloud_discoveryengine_v1_data_store_object
232
+ # @param [String] cmek_config_name
233
+ # Resource name of the CmekConfig to use for protecting this DataStore.
232
234
  # @param [Boolean] create_advanced_site_search
233
235
  # A boolean flag indicating whether user want to directly create an advanced
234
236
  # data store for site search. If the data store is not configured as site search
@@ -239,6 +241,9 @@ module Google
239
241
  # component of the DataStore's resource name. This field must conform to [RFC-
240
242
  # 1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63
241
243
  # characters. Otherwise, an INVALID_ARGUMENT error is returned.
244
+ # @param [Boolean] disable_cmek
245
+ # DataStore without CMEK protections. If a default CmekConfig is set for the
246
+ # project, setting this field will override the default CmekConfig as well.
242
247
  # @param [Boolean] skip_default_schema_creation
243
248
  # A boolean flag indicating whether to skip the default schema creation for the
244
249
  # data store. Only enable this flag if you are certain that the default schema
@@ -262,15 +267,17 @@ module Google
262
267
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
263
268
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
264
269
  # @raise [Google::Apis::AuthorizationError] Authorization is required
265
- def create_project_location_collection_data_store(parent, google_cloud_discoveryengine_v1_data_store_object = nil, create_advanced_site_search: nil, data_store_id: nil, skip_default_schema_creation: nil, fields: nil, quota_user: nil, options: nil, &block)
270
+ def create_project_location_collection_data_store(parent, google_cloud_discoveryengine_v1_data_store_object = nil, cmek_config_name: nil, create_advanced_site_search: nil, data_store_id: nil, disable_cmek: nil, skip_default_schema_creation: nil, fields: nil, quota_user: nil, options: nil, &block)
266
271
  command = make_simple_command(:post, 'v1/{+parent}/dataStores', options)
267
272
  command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStore::Representation
268
273
  command.request_object = google_cloud_discoveryengine_v1_data_store_object
269
274
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
270
275
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
271
276
  command.params['parent'] = parent unless parent.nil?
277
+ command.query['cmekConfigName'] = cmek_config_name unless cmek_config_name.nil?
272
278
  command.query['createAdvancedSiteSearch'] = create_advanced_site_search unless create_advanced_site_search.nil?
273
279
  command.query['dataStoreId'] = data_store_id unless data_store_id.nil?
280
+ command.query['disableCmek'] = disable_cmek unless disable_cmek.nil?
274
281
  command.query['skipDefaultSchemaCreation'] = skip_default_schema_creation unless skip_default_schema_creation.nil?
275
282
  command.query['fields'] = fields unless fields.nil?
276
283
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -4129,6 +4136,8 @@ module Google
4129
4136
  # Required. The parent resource name, such as `projects/`project`/locations/`
4130
4137
  # location`/collections/`collection``.
4131
4138
  # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStore] google_cloud_discoveryengine_v1_data_store_object
4139
+ # @param [String] cmek_config_name
4140
+ # Resource name of the CmekConfig to use for protecting this DataStore.
4132
4141
  # @param [Boolean] create_advanced_site_search
4133
4142
  # A boolean flag indicating whether user want to directly create an advanced
4134
4143
  # data store for site search. If the data store is not configured as site search
@@ -4139,6 +4148,9 @@ module Google
4139
4148
  # component of the DataStore's resource name. This field must conform to [RFC-
4140
4149
  # 1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63
4141
4150
  # characters. Otherwise, an INVALID_ARGUMENT error is returned.
4151
+ # @param [Boolean] disable_cmek
4152
+ # DataStore without CMEK protections. If a default CmekConfig is set for the
4153
+ # project, setting this field will override the default CmekConfig as well.
4142
4154
  # @param [Boolean] skip_default_schema_creation
4143
4155
  # A boolean flag indicating whether to skip the default schema creation for the
4144
4156
  # data store. Only enable this flag if you are certain that the default schema
@@ -4162,15 +4174,17 @@ module Google
4162
4174
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4163
4175
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4164
4176
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4165
- def create_project_location_data_store(parent, google_cloud_discoveryengine_v1_data_store_object = nil, create_advanced_site_search: nil, data_store_id: nil, skip_default_schema_creation: nil, fields: nil, quota_user: nil, options: nil, &block)
4177
+ def create_project_location_data_store(parent, google_cloud_discoveryengine_v1_data_store_object = nil, cmek_config_name: nil, create_advanced_site_search: nil, data_store_id: nil, disable_cmek: nil, skip_default_schema_creation: nil, fields: nil, quota_user: nil, options: nil, &block)
4166
4178
  command = make_simple_command(:post, 'v1/{+parent}/dataStores', options)
4167
4179
  command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStore::Representation
4168
4180
  command.request_object = google_cloud_discoveryengine_v1_data_store_object
4169
4181
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
4170
4182
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
4171
4183
  command.params['parent'] = parent unless parent.nil?
4184
+ command.query['cmekConfigName'] = cmek_config_name unless cmek_config_name.nil?
4172
4185
  command.query['createAdvancedSiteSearch'] = create_advanced_site_search unless create_advanced_site_search.nil?
4173
4186
  command.query['dataStoreId'] = data_store_id unless data_store_id.nil?
4187
+ command.query['disableCmek'] = disable_cmek unless disable_cmek.nil?
4174
4188
  command.query['skipDefaultSchemaCreation'] = skip_default_schema_creation unless skip_default_schema_creation.nil?
4175
4189
  command.query['fields'] = fields unless fields.nil?
4176
4190
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.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-10-13 00:00:00.000000000 Z
11
+ date: 2024-10-27 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-discoveryengine_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
63
63
  post_install_message:
64
64
  rdoc_options: []