google-apis-discoveryengine_v1alpha 0.68.0 → 0.70.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +836 -55
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +402 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +94 -6
- metadata +2 -2
@@ -889,6 +889,44 @@ module Google
|
|
889
889
|
execute_or_queue_command(command, &block)
|
890
890
|
end
|
891
891
|
|
892
|
+
# Uses the per-user refresh token minted with AcquireAndStoreRefreshToken to
|
893
|
+
# generate and return a new access token and its details. Takes the access token
|
894
|
+
# from cache if available. Rotates the stored refresh token if needed. Uses the
|
895
|
+
# end user identity to return the user specific access token. Does *not* return
|
896
|
+
# the credentials configured by the administrator. Used by Agentspace action
|
897
|
+
# execution and Agentspace UI.
|
898
|
+
# @param [String] name
|
899
|
+
# Required. The resource name of the connector for which a token is queried.
|
900
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest] google_cloud_discoveryengine_v1alpha_acquire_access_token_request_object
|
901
|
+
# @param [String] fields
|
902
|
+
# Selector specifying which fields to include in a partial response.
|
903
|
+
# @param [String] quota_user
|
904
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
905
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
906
|
+
# @param [Google::Apis::RequestOptions] options
|
907
|
+
# Request-specific options
|
908
|
+
#
|
909
|
+
# @yield [result, err] Result & error if block supplied
|
910
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse] parsed result object
|
911
|
+
# @yieldparam err [StandardError] error object if request failed
|
912
|
+
#
|
913
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse]
|
914
|
+
#
|
915
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
916
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
917
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
918
|
+
def acquire_project_location_collection_data_connector_access_token(name, google_cloud_discoveryengine_v1alpha_acquire_access_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
919
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:acquireAccessToken', options)
|
920
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest::Representation
|
921
|
+
command.request_object = google_cloud_discoveryengine_v1alpha_acquire_access_token_request_object
|
922
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse::Representation
|
923
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse
|
924
|
+
command.params['name'] = name unless name.nil?
|
925
|
+
command.query['fields'] = fields unless fields.nil?
|
926
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
927
|
+
execute_or_queue_command(command, &block)
|
928
|
+
end
|
929
|
+
|
892
930
|
# Get the secret for the associated connector.
|
893
931
|
# @param [String] name
|
894
932
|
# Required. The full resource name of the associated data connector.
|
@@ -3434,7 +3472,8 @@ module Google
|
|
3434
3472
|
# location`/collections/`collection`/dataStores/`data_store_id``
|
3435
3473
|
# @param [String] filter
|
3436
3474
|
# A filter to apply on the list results. The supported features are:
|
3437
|
-
# user_pseudo_id, state.
|
3475
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
3476
|
+
# true"
|
3438
3477
|
# @param [String] order_by
|
3439
3478
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
3440
3479
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -4516,6 +4555,9 @@ module Google
|
|
4516
4555
|
# the end user's view. It's recommended to set to true for maturely developed
|
4517
4556
|
# widgets, as it improves widget performance. Set to false to see changes
|
4518
4557
|
# reflected in prod right away, if your widget is under development.
|
4558
|
+
# @param [Boolean] get_widget_config_request_option_turn_off_collection_components
|
4559
|
+
# Optional. Whether to turn off collection_components in WidgetConfig to reduce
|
4560
|
+
# latency and data transmission.
|
4519
4561
|
# @param [String] fields
|
4520
4562
|
# Selector specifying which fields to include in a partial response.
|
4521
4563
|
# @param [String] quota_user
|
@@ -4533,12 +4575,13 @@ module Google
|
|
4533
4575
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4534
4576
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4535
4577
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4536
|
-
def get_project_location_collection_data_store_widget_config(name, accept_cache: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4578
|
+
def get_project_location_collection_data_store_widget_config(name, accept_cache: nil, get_widget_config_request_option_turn_off_collection_components: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4537
4579
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
4538
4580
|
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfig::Representation
|
4539
4581
|
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfig
|
4540
4582
|
command.params['name'] = name unless name.nil?
|
4541
4583
|
command.query['acceptCache'] = accept_cache unless accept_cache.nil?
|
4584
|
+
command.query['getWidgetConfigRequestOption.turnOffCollectionComponents'] = get_widget_config_request_option_turn_off_collection_components unless get_widget_config_request_option_turn_off_collection_components.nil?
|
4542
4585
|
command.query['fields'] = fields unless fields.nil?
|
4543
4586
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4544
4587
|
execute_or_queue_command(command, &block)
|
@@ -4836,6 +4879,41 @@ module Google
|
|
4836
4879
|
execute_or_queue_command(command, &block)
|
4837
4880
|
end
|
4838
4881
|
|
4882
|
+
# Assists the user with a query in a streaming fashion.
|
4883
|
+
# @param [String] name
|
4884
|
+
# Required. The resource name of the Assistant. Format: `projects/`project`/
|
4885
|
+
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
|
4886
|
+
# assistant``
|
4887
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequest] google_cloud_discoveryengine_v1alpha_stream_assist_request_object
|
4888
|
+
# @param [String] fields
|
4889
|
+
# Selector specifying which fields to include in a partial response.
|
4890
|
+
# @param [String] quota_user
|
4891
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4892
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4893
|
+
# @param [Google::Apis::RequestOptions] options
|
4894
|
+
# Request-specific options
|
4895
|
+
#
|
4896
|
+
# @yield [result, err] Result & error if block supplied
|
4897
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistResponse] parsed result object
|
4898
|
+
# @yieldparam err [StandardError] error object if request failed
|
4899
|
+
#
|
4900
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistResponse]
|
4901
|
+
#
|
4902
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4903
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4904
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4905
|
+
def stream_project_location_collection_engine_assistant_assist(name, google_cloud_discoveryengine_v1alpha_stream_assist_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4906
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:streamAssist', options)
|
4907
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequest::Representation
|
4908
|
+
command.request_object = google_cloud_discoveryengine_v1alpha_stream_assist_request_object
|
4909
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistResponse::Representation
|
4910
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistResponse
|
4911
|
+
command.params['name'] = name unless name.nil?
|
4912
|
+
command.query['fields'] = fields unless fields.nil?
|
4913
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4914
|
+
execute_or_queue_command(command, &block)
|
4915
|
+
end
|
4916
|
+
|
4839
4917
|
# Completes the user input with advanced keyword suggestions.
|
4840
4918
|
# @param [String] completion_config
|
4841
4919
|
# Required. The completion_config of the parent dataStore or engine resource
|
@@ -5826,7 +5904,8 @@ module Google
|
|
5826
5904
|
# location`/collections/`collection`/dataStores/`data_store_id``
|
5827
5905
|
# @param [String] filter
|
5828
5906
|
# A filter to apply on the list results. The supported features are:
|
5829
|
-
# user_pseudo_id, state.
|
5907
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
5908
|
+
# true"
|
5830
5909
|
# @param [String] order_by
|
5831
5910
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
5832
5911
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -5953,6 +6032,9 @@ module Google
|
|
5953
6032
|
# the end user's view. It's recommended to set to true for maturely developed
|
5954
6033
|
# widgets, as it improves widget performance. Set to false to see changes
|
5955
6034
|
# reflected in prod right away, if your widget is under development.
|
6035
|
+
# @param [Boolean] get_widget_config_request_option_turn_off_collection_components
|
6036
|
+
# Optional. Whether to turn off collection_components in WidgetConfig to reduce
|
6037
|
+
# latency and data transmission.
|
5956
6038
|
# @param [String] fields
|
5957
6039
|
# Selector specifying which fields to include in a partial response.
|
5958
6040
|
# @param [String] quota_user
|
@@ -5970,12 +6052,13 @@ module Google
|
|
5970
6052
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5971
6053
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5972
6054
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5973
|
-
def get_project_location_collection_engine_widget_config(name, accept_cache: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6055
|
+
def get_project_location_collection_engine_widget_config(name, accept_cache: nil, get_widget_config_request_option_turn_off_collection_components: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5974
6056
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
5975
6057
|
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfig::Representation
|
5976
6058
|
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfig
|
5977
6059
|
command.params['name'] = name unless name.nil?
|
5978
6060
|
command.query['acceptCache'] = accept_cache unless accept_cache.nil?
|
6061
|
+
command.query['getWidgetConfigRequestOption.turnOffCollectionComponents'] = get_widget_config_request_option_turn_off_collection_components unless get_widget_config_request_option_turn_off_collection_components.nil?
|
5979
6062
|
command.query['fields'] = fields unless fields.nil?
|
5980
6063
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5981
6064
|
execute_or_queue_command(command, &block)
|
@@ -8275,7 +8358,8 @@ module Google
|
|
8275
8358
|
# location`/collections/`collection`/dataStores/`data_store_id``
|
8276
8359
|
# @param [String] filter
|
8277
8360
|
# A filter to apply on the list results. The supported features are:
|
8278
|
-
# user_pseudo_id, state.
|
8361
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
8362
|
+
# true"
|
8279
8363
|
# @param [String] order_by
|
8280
8364
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
8281
8365
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -9067,6 +9151,9 @@ module Google
|
|
9067
9151
|
# the end user's view. It's recommended to set to true for maturely developed
|
9068
9152
|
# widgets, as it improves widget performance. Set to false to see changes
|
9069
9153
|
# reflected in prod right away, if your widget is under development.
|
9154
|
+
# @param [Boolean] get_widget_config_request_option_turn_off_collection_components
|
9155
|
+
# Optional. Whether to turn off collection_components in WidgetConfig to reduce
|
9156
|
+
# latency and data transmission.
|
9070
9157
|
# @param [String] fields
|
9071
9158
|
# Selector specifying which fields to include in a partial response.
|
9072
9159
|
# @param [String] quota_user
|
@@ -9084,12 +9171,13 @@ module Google
|
|
9084
9171
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9085
9172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9086
9173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9087
|
-
def get_project_location_data_store_widget_config(name, accept_cache: nil, fields: nil, quota_user: nil, options: nil, &block)
|
9174
|
+
def get_project_location_data_store_widget_config(name, accept_cache: nil, get_widget_config_request_option_turn_off_collection_components: nil, fields: nil, quota_user: nil, options: nil, &block)
|
9088
9175
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
9089
9176
|
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfig::Representation
|
9090
9177
|
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfig
|
9091
9178
|
command.params['name'] = name unless name.nil?
|
9092
9179
|
command.query['acceptCache'] = accept_cache unless accept_cache.nil?
|
9180
|
+
command.query['getWidgetConfigRequestOption.turnOffCollectionComponents'] = get_widget_config_request_option_turn_off_collection_components unless get_widget_config_request_option_turn_off_collection_components.nil?
|
9093
9181
|
command.query['fields'] = fields unless fields.nil?
|
9094
9182
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9095
9183
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.70.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.70.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|