google-apis-discoveryengine_v1alpha 0.37.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +660 -4
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +312 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +81 -4
- metadata +3 -3
@@ -226,6 +226,75 @@ module Google
|
|
226
226
|
execute_or_queue_command(command, &block)
|
227
227
|
end
|
228
228
|
|
229
|
+
# Gets the AclConfig.
|
230
|
+
# @param [String] name
|
231
|
+
# Required. Resource name of AclConfig, such as `projects/*/locations/*/
|
232
|
+
# aclConfig`. If the caller does not have permission to access the AclConfig,
|
233
|
+
# regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
|
234
|
+
# @param [String] fields
|
235
|
+
# Selector specifying which fields to include in a partial response.
|
236
|
+
# @param [String] quota_user
|
237
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
238
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
239
|
+
# @param [Google::Apis::RequestOptions] options
|
240
|
+
# Request-specific options
|
241
|
+
#
|
242
|
+
# @yield [result, err] Result & error if block supplied
|
243
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig] parsed result object
|
244
|
+
# @yieldparam err [StandardError] error object if request failed
|
245
|
+
#
|
246
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig]
|
247
|
+
#
|
248
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
249
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
250
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
251
|
+
def get_project_location_acl_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
252
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
253
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig::Representation
|
254
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig
|
255
|
+
command.params['name'] = name unless name.nil?
|
256
|
+
command.query['fields'] = fields unless fields.nil?
|
257
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
258
|
+
execute_or_queue_command(command, &block)
|
259
|
+
end
|
260
|
+
|
261
|
+
# Default Acl Configuration for use in a location of a customer's project.
|
262
|
+
# Updates will only reflect to new data stores. Existing data stores will still
|
263
|
+
# use the old value.
|
264
|
+
# @param [String] name
|
265
|
+
# Immutable. The full resource name of the acl configuration. Format: `projects/`
|
266
|
+
# project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
|
267
|
+
# string with a length limit of 1024 characters.
|
268
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig] google_cloud_discoveryengine_v1alpha_acl_config_object
|
269
|
+
# @param [String] fields
|
270
|
+
# Selector specifying which fields to include in a partial response.
|
271
|
+
# @param [String] quota_user
|
272
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
273
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
274
|
+
# @param [Google::Apis::RequestOptions] options
|
275
|
+
# Request-specific options
|
276
|
+
#
|
277
|
+
# @yield [result, err] Result & error if block supplied
|
278
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig] parsed result object
|
279
|
+
# @yieldparam err [StandardError] error object if request failed
|
280
|
+
#
|
281
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig]
|
282
|
+
#
|
283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
286
|
+
def update_project_location_acl_config(name, google_cloud_discoveryengine_v1alpha_acl_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
287
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
288
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig::Representation
|
289
|
+
command.request_object = google_cloud_discoveryengine_v1alpha_acl_config_object
|
290
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig::Representation
|
291
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig
|
292
|
+
command.params['name'] = name unless name.nil?
|
293
|
+
command.query['fields'] = fields unless fields.nil?
|
294
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
295
|
+
execute_or_queue_command(command, &block)
|
296
|
+
end
|
297
|
+
|
229
298
|
# Gets the latest state of a long-running operation. Clients can use this method
|
230
299
|
# to poll the operation result at intervals as recommended by the API service.
|
231
300
|
# @param [String] name
|
@@ -319,7 +388,7 @@ module Google
|
|
319
388
|
# imported search events. * `document-completable` - Using suggestions taken
|
320
389
|
# directly from user-imported document fields marked as completable. Default
|
321
390
|
# values: * `document` is the default model for regular dataStores. * `search-
|
322
|
-
# history` is the default model for site search dataStores.
|
391
|
+
# history` is the default model for site search dataStores. *
|
323
392
|
# @param [String] user_pseudo_id
|
324
393
|
# A unique identifier for tracking visitors. For example, this could be
|
325
394
|
# implemented with an HTTP cookie, which should be able to uniquely identify a
|
@@ -914,6 +983,9 @@ module Google
|
|
914
983
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument] google_cloud_discoveryengine_v1alpha_document_object
|
915
984
|
# @param [Boolean] allow_missing
|
916
985
|
# If set to true, and the Document is not found, a new Document will be created.
|
986
|
+
# @param [String] update_mask
|
987
|
+
# Indicates which fields in the provided imported 'document' to update. If not
|
988
|
+
# set, will by default update all fields.
|
917
989
|
# @param [String] fields
|
918
990
|
# Selector specifying which fields to include in a partial response.
|
919
991
|
# @param [String] quota_user
|
@@ -931,7 +1003,7 @@ module Google
|
|
931
1003
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
932
1004
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
933
1005
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
934
|
-
def patch_project_location_collection_data_store_branch_document(name, google_cloud_discoveryengine_v1alpha_document_object = nil, allow_missing: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1006
|
+
def patch_project_location_collection_data_store_branch_document(name, google_cloud_discoveryengine_v1alpha_document_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
935
1007
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
936
1008
|
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument::Representation
|
937
1009
|
command.request_object = google_cloud_discoveryengine_v1alpha_document_object
|
@@ -939,6 +1011,7 @@ module Google
|
|
939
1011
|
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument
|
940
1012
|
command.params['name'] = name unless name.nil?
|
941
1013
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
1014
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
942
1015
|
command.query['fields'] = fields unless fields.nil?
|
943
1016
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
944
1017
|
execute_or_queue_command(command, &block)
|
@@ -3522,7 +3595,7 @@ module Google
|
|
3522
3595
|
# imported search events. * `document-completable` - Using suggestions taken
|
3523
3596
|
# directly from user-imported document fields marked as completable. Default
|
3524
3597
|
# values: * `document` is the default model for regular dataStores. * `search-
|
3525
|
-
# history` is the default model for site search dataStores.
|
3598
|
+
# history` is the default model for site search dataStores. *
|
3526
3599
|
# @param [String] user_pseudo_id
|
3527
3600
|
# A unique identifier for tracking visitors. For example, this could be
|
3528
3601
|
# implemented with an HTTP cookie, which should be able to uniquely identify a
|
@@ -4082,6 +4155,9 @@ module Google
|
|
4082
4155
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument] google_cloud_discoveryengine_v1alpha_document_object
|
4083
4156
|
# @param [Boolean] allow_missing
|
4084
4157
|
# If set to true, and the Document is not found, a new Document will be created.
|
4158
|
+
# @param [String] update_mask
|
4159
|
+
# Indicates which fields in the provided imported 'document' to update. If not
|
4160
|
+
# set, will by default update all fields.
|
4085
4161
|
# @param [String] fields
|
4086
4162
|
# Selector specifying which fields to include in a partial response.
|
4087
4163
|
# @param [String] quota_user
|
@@ -4099,7 +4175,7 @@ module Google
|
|
4099
4175
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4100
4176
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4101
4177
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4102
|
-
def patch_project_location_data_store_branch_document(name, google_cloud_discoveryengine_v1alpha_document_object = nil, allow_missing: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4178
|
+
def patch_project_location_data_store_branch_document(name, google_cloud_discoveryengine_v1alpha_document_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4103
4179
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
4104
4180
|
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument::Representation
|
4105
4181
|
command.request_object = google_cloud_discoveryengine_v1alpha_document_object
|
@@ -4107,6 +4183,7 @@ module Google
|
|
4107
4183
|
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument
|
4108
4184
|
command.params['name'] = name unless name.nil?
|
4109
4185
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
4186
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4110
4187
|
command.query['fields'] = fields unless fields.nil?
|
4111
4188
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4112
4189
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.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-03-10 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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.39.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|