google-apis-discoveryengine_v1 0.7.0 → 0.9.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_v1/classes.rb +5093 -1326
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +3197 -1704
- data/lib/google/apis/discoveryengine_v1/service.rb +209 -0
- metadata +3 -3
@@ -852,6 +852,75 @@ module Google
|
|
852
852
|
execute_or_queue_command(command, &block)
|
853
853
|
end
|
854
854
|
|
855
|
+
# Imports CompletionSuggestions for a DataStore.
|
856
|
+
# @param [String] parent
|
857
|
+
# Required. The parent data store resource name for which to import customer
|
858
|
+
# autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*
|
859
|
+
# /dataStores/*`
|
860
|
+
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest] google_cloud_discoveryengine_v1_import_completion_suggestions_request_object
|
861
|
+
# @param [String] fields
|
862
|
+
# Selector specifying which fields to include in a partial response.
|
863
|
+
# @param [String] quota_user
|
864
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
865
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
866
|
+
# @param [Google::Apis::RequestOptions] options
|
867
|
+
# Request-specific options
|
868
|
+
#
|
869
|
+
# @yield [result, err] Result & error if block supplied
|
870
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
|
871
|
+
# @yieldparam err [StandardError] error object if request failed
|
872
|
+
#
|
873
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
|
874
|
+
#
|
875
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
876
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
877
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
878
|
+
def import_project_location_collection_data_store_completion_suggestion(parent, google_cloud_discoveryengine_v1_import_completion_suggestions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
879
|
+
command = make_simple_command(:post, 'v1/{+parent}/completionSuggestions:import', options)
|
880
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest::Representation
|
881
|
+
command.request_object = google_cloud_discoveryengine_v1_import_completion_suggestions_request_object
|
882
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
|
883
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
|
884
|
+
command.params['parent'] = parent unless parent.nil?
|
885
|
+
command.query['fields'] = fields unless fields.nil?
|
886
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
887
|
+
execute_or_queue_command(command, &block)
|
888
|
+
end
|
889
|
+
|
890
|
+
# Permanently deletes all CompletionSuggestions for a DataStore.
|
891
|
+
# @param [String] parent
|
892
|
+
# Required. The parent data store resource name for which to purge completion
|
893
|
+
# suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
|
894
|
+
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest] google_cloud_discoveryengine_v1_purge_completion_suggestions_request_object
|
895
|
+
# @param [String] fields
|
896
|
+
# Selector specifying which fields to include in a partial response.
|
897
|
+
# @param [String] quota_user
|
898
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
899
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
900
|
+
# @param [Google::Apis::RequestOptions] options
|
901
|
+
# Request-specific options
|
902
|
+
#
|
903
|
+
# @yield [result, err] Result & error if block supplied
|
904
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
|
905
|
+
# @yieldparam err [StandardError] error object if request failed
|
906
|
+
#
|
907
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
|
908
|
+
#
|
909
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
910
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
911
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
912
|
+
def purge_project_location_collection_data_store_completion_suggestion(parent, google_cloud_discoveryengine_v1_purge_completion_suggestions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
913
|
+
command = make_simple_command(:post, 'v1/{+parent}/completionSuggestions:purge', options)
|
914
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest::Representation
|
915
|
+
command.request_object = google_cloud_discoveryengine_v1_purge_completion_suggestions_request_object
|
916
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
|
917
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
|
918
|
+
command.params['parent'] = parent unless parent.nil?
|
919
|
+
command.query['fields'] = fields unless fields.nil?
|
920
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
921
|
+
execute_or_queue_command(command, &block)
|
922
|
+
end
|
923
|
+
|
855
924
|
# Creates a Control. By default 1000 controls are allowed for a data store. A
|
856
925
|
# request can be submitted to adjust this limit. If the Control to create
|
857
926
|
# already exists, an ALREADY_EXISTS error is returned.
|
@@ -4535,6 +4604,75 @@ module Google
|
|
4535
4604
|
execute_or_queue_command(command, &block)
|
4536
4605
|
end
|
4537
4606
|
|
4607
|
+
# Imports CompletionSuggestions for a DataStore.
|
4608
|
+
# @param [String] parent
|
4609
|
+
# Required. The parent data store resource name for which to import customer
|
4610
|
+
# autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*
|
4611
|
+
# /dataStores/*`
|
4612
|
+
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest] google_cloud_discoveryengine_v1_import_completion_suggestions_request_object
|
4613
|
+
# @param [String] fields
|
4614
|
+
# Selector specifying which fields to include in a partial response.
|
4615
|
+
# @param [String] quota_user
|
4616
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4617
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4618
|
+
# @param [Google::Apis::RequestOptions] options
|
4619
|
+
# Request-specific options
|
4620
|
+
#
|
4621
|
+
# @yield [result, err] Result & error if block supplied
|
4622
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
|
4623
|
+
# @yieldparam err [StandardError] error object if request failed
|
4624
|
+
#
|
4625
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
|
4626
|
+
#
|
4627
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4628
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4629
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4630
|
+
def import_project_location_data_store_completion_suggestion(parent, google_cloud_discoveryengine_v1_import_completion_suggestions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4631
|
+
command = make_simple_command(:post, 'v1/{+parent}/completionSuggestions:import', options)
|
4632
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest::Representation
|
4633
|
+
command.request_object = google_cloud_discoveryengine_v1_import_completion_suggestions_request_object
|
4634
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
|
4635
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
|
4636
|
+
command.params['parent'] = parent unless parent.nil?
|
4637
|
+
command.query['fields'] = fields unless fields.nil?
|
4638
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4639
|
+
execute_or_queue_command(command, &block)
|
4640
|
+
end
|
4641
|
+
|
4642
|
+
# Permanently deletes all CompletionSuggestions for a DataStore.
|
4643
|
+
# @param [String] parent
|
4644
|
+
# Required. The parent data store resource name for which to purge completion
|
4645
|
+
# suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
|
4646
|
+
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest] google_cloud_discoveryengine_v1_purge_completion_suggestions_request_object
|
4647
|
+
# @param [String] fields
|
4648
|
+
# Selector specifying which fields to include in a partial response.
|
4649
|
+
# @param [String] quota_user
|
4650
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4651
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4652
|
+
# @param [Google::Apis::RequestOptions] options
|
4653
|
+
# Request-specific options
|
4654
|
+
#
|
4655
|
+
# @yield [result, err] Result & error if block supplied
|
4656
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
|
4657
|
+
# @yieldparam err [StandardError] error object if request failed
|
4658
|
+
#
|
4659
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
|
4660
|
+
#
|
4661
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4662
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4663
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4664
|
+
def purge_project_location_data_store_completion_suggestion(parent, google_cloud_discoveryengine_v1_purge_completion_suggestions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4665
|
+
command = make_simple_command(:post, 'v1/{+parent}/completionSuggestions:purge', options)
|
4666
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest::Representation
|
4667
|
+
command.request_object = google_cloud_discoveryengine_v1_purge_completion_suggestions_request_object
|
4668
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
|
4669
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
|
4670
|
+
command.params['parent'] = parent unless parent.nil?
|
4671
|
+
command.query['fields'] = fields unless fields.nil?
|
4672
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4673
|
+
execute_or_queue_command(command, &block)
|
4674
|
+
end
|
4675
|
+
|
4538
4676
|
# Creates a Control. By default 1000 controls are allowed for a data store. A
|
4539
4677
|
# request can be submitted to adjust this limit. If the Control to create
|
4540
4678
|
# already exists, an ALREADY_EXISTS error is returned.
|
@@ -6177,6 +6315,77 @@ module Google
|
|
6177
6315
|
execute_or_queue_command(command, &block)
|
6178
6316
|
end
|
6179
6317
|
|
6318
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
6319
|
+
# to poll the operation result at intervals as recommended by the API service.
|
6320
|
+
# @param [String] name
|
6321
|
+
# The name of the operation resource.
|
6322
|
+
# @param [String] fields
|
6323
|
+
# Selector specifying which fields to include in a partial response.
|
6324
|
+
# @param [String] quota_user
|
6325
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6326
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6327
|
+
# @param [Google::Apis::RequestOptions] options
|
6328
|
+
# Request-specific options
|
6329
|
+
#
|
6330
|
+
# @yield [result, err] Result & error if block supplied
|
6331
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
|
6332
|
+
# @yieldparam err [StandardError] error object if request failed
|
6333
|
+
#
|
6334
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
|
6335
|
+
#
|
6336
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6337
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6338
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6339
|
+
def get_project_location_identity_mapping_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
6340
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
6341
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
|
6342
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
|
6343
|
+
command.params['name'] = name unless name.nil?
|
6344
|
+
command.query['fields'] = fields unless fields.nil?
|
6345
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6346
|
+
execute_or_queue_command(command, &block)
|
6347
|
+
end
|
6348
|
+
|
6349
|
+
# Lists operations that match the specified filter in the request. If the server
|
6350
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
6351
|
+
# @param [String] name
|
6352
|
+
# The name of the operation's parent resource.
|
6353
|
+
# @param [String] filter
|
6354
|
+
# The standard list filter.
|
6355
|
+
# @param [Fixnum] page_size
|
6356
|
+
# The standard list page size.
|
6357
|
+
# @param [String] page_token
|
6358
|
+
# The standard list page token.
|
6359
|
+
# @param [String] fields
|
6360
|
+
# Selector specifying which fields to include in a partial response.
|
6361
|
+
# @param [String] quota_user
|
6362
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6363
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6364
|
+
# @param [Google::Apis::RequestOptions] options
|
6365
|
+
# Request-specific options
|
6366
|
+
#
|
6367
|
+
# @yield [result, err] Result & error if block supplied
|
6368
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse] parsed result object
|
6369
|
+
# @yieldparam err [StandardError] error object if request failed
|
6370
|
+
#
|
6371
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse]
|
6372
|
+
#
|
6373
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6374
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6375
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6376
|
+
def list_project_location_identity_mapping_store_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6377
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
6378
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
|
6379
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
|
6380
|
+
command.params['name'] = name unless name.nil?
|
6381
|
+
command.query['filter'] = filter unless filter.nil?
|
6382
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
6383
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
6384
|
+
command.query['fields'] = fields unless fields.nil?
|
6385
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6386
|
+
execute_or_queue_command(command, &block)
|
6387
|
+
end
|
6388
|
+
|
6180
6389
|
# Gets the latest state of a long-running operation. Clients can use this method
|
6181
6390
|
# to poll the operation result at intervals as recommended by the API service.
|
6182
6391
|
# @param [String] name
|
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.
|
4
|
+
version: 0.9.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-07-25 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.9.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: []
|