google-apis-discoveryengine_v1alpha 0.68.0 → 0.69.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 +4 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +111 -9
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +58 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +59 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2147c6961cfc1689ed1d887cea14a0deb144de421bbd6cff5280d6a2ff378cbb
|
4
|
+
data.tar.gz: df7630d9a9b961a8c341f4f303e3a84e52f4ddc3e6fffaac975b8aae31387770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44945ceab2eb57fdc6030abae26f741a6b82f6f51f639eccc5e6494e4cf7b88c6ac9ff457785aea830ee3b207fda7e8b651d953cb5f9576e15ed3d43a44c21ef
|
7
|
+
data.tar.gz: 99abc43fefe7cc45124cbd54714b8b1bc4c4d39f8bde0ab0ef6b537f6aeafc80f19fdade3d840d25506a79eb8e2f713a96718bdb0c11608b2b8c4534d1b1e58f
|
data/CHANGELOG.md
CHANGED
@@ -5469,6 +5469,44 @@ module Google
|
|
5469
5469
|
end
|
5470
5470
|
end
|
5471
5471
|
|
5472
|
+
# Request message for the DataConnectorService.AcquireAccessToken method.
|
5473
|
+
class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest
|
5474
|
+
include Google::Apis::Core::Hashable
|
5475
|
+
|
5476
|
+
def initialize(**args)
|
5477
|
+
update!(**args)
|
5478
|
+
end
|
5479
|
+
|
5480
|
+
# Update properties of this object
|
5481
|
+
def update!(**args)
|
5482
|
+
end
|
5483
|
+
end
|
5484
|
+
|
5485
|
+
# Response message for the DataConnectorService.AcquireAccessToken method.
|
5486
|
+
class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse
|
5487
|
+
include Google::Apis::Core::Hashable
|
5488
|
+
|
5489
|
+
# The created access token.
|
5490
|
+
# Corresponds to the JSON property `accessToken`
|
5491
|
+
# @return [String]
|
5492
|
+
attr_accessor :access_token
|
5493
|
+
|
5494
|
+
# Describes a refresh token.
|
5495
|
+
# Corresponds to the JSON property `refreshTokenInfo`
|
5496
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo]
|
5497
|
+
attr_accessor :refresh_token_info
|
5498
|
+
|
5499
|
+
def initialize(**args)
|
5500
|
+
update!(**args)
|
5501
|
+
end
|
5502
|
+
|
5503
|
+
# Update properties of this object
|
5504
|
+
def update!(**args)
|
5505
|
+
@access_token = args[:access_token] if args.key?(:access_token)
|
5506
|
+
@refresh_token_info = args[:refresh_token_info] if args.key?(:refresh_token_info)
|
5507
|
+
end
|
5508
|
+
end
|
5509
|
+
|
5472
5510
|
# Informations to support actions on the connector.
|
5473
5511
|
class GoogleCloudDiscoveryengineV1alphaActionConfig
|
5474
5512
|
include Google::Apis::Core::Hashable
|
@@ -10753,6 +10791,11 @@ module Google
|
|
10753
10791
|
# @return [String]
|
10754
10792
|
attr_accessor :realtime_sync_secret
|
10755
10793
|
|
10794
|
+
# Streaming error details.
|
10795
|
+
# Corresponds to the JSON property `streamingError`
|
10796
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError]
|
10797
|
+
attr_accessor :streaming_error
|
10798
|
+
|
10756
10799
|
# Optional. Webhook url for the connector to specify additional params for
|
10757
10800
|
# realtime sync.
|
10758
10801
|
# Corresponds to the JSON property `webhookUri`
|
@@ -10766,10 +10809,41 @@ module Google
|
|
10766
10809
|
# Update properties of this object
|
10767
10810
|
def update!(**args)
|
10768
10811
|
@realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
|
10812
|
+
@streaming_error = args[:streaming_error] if args.key?(:streaming_error)
|
10769
10813
|
@webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
|
10770
10814
|
end
|
10771
10815
|
end
|
10772
10816
|
|
10817
|
+
# Streaming error details.
|
10818
|
+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
|
10819
|
+
include Google::Apis::Core::Hashable
|
10820
|
+
|
10821
|
+
# The `Status` type defines a logical error model that is suitable for different
|
10822
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
10823
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
10824
|
+
# data: error code, error message, and error details. You can find out more
|
10825
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
10826
|
+
# //cloud.google.com/apis/design/errors).
|
10827
|
+
# Corresponds to the JSON property `error`
|
10828
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus]
|
10829
|
+
attr_accessor :error
|
10830
|
+
|
10831
|
+
# Optional. Streaming error.
|
10832
|
+
# Corresponds to the JSON property `streamingErrorReason`
|
10833
|
+
# @return [String]
|
10834
|
+
attr_accessor :streaming_error_reason
|
10835
|
+
|
10836
|
+
def initialize(**args)
|
10837
|
+
update!(**args)
|
10838
|
+
end
|
10839
|
+
|
10840
|
+
# Update properties of this object
|
10841
|
+
def update!(**args)
|
10842
|
+
@error = args[:error] if args.key?(:error)
|
10843
|
+
@streaming_error_reason = args[:streaming_error_reason] if args.key?(:streaming_error_reason)
|
10844
|
+
end
|
10845
|
+
end
|
10846
|
+
|
10773
10847
|
# Represents an entity in the data source. For example, the `Account` object in
|
10774
10848
|
# Salesforce.
|
10775
10849
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
|
@@ -14993,7 +15067,8 @@ module Google
|
|
14993
15067
|
include Google::Apis::Core::Hashable
|
14994
15068
|
|
14995
15069
|
# A filter to apply on the list results. The supported features are:
|
14996
|
-
# user_pseudo_id, state.
|
15070
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
15071
|
+
# true"
|
14997
15072
|
# Corresponds to the JSON property `filter`
|
14998
15073
|
# @return [String]
|
14999
15074
|
attr_accessor :filter
|
@@ -16633,6 +16708,31 @@ module Google
|
|
16633
16708
|
end
|
16634
16709
|
end
|
16635
16710
|
|
16711
|
+
# Describes a refresh token.
|
16712
|
+
class GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo
|
16713
|
+
include Google::Apis::Core::Hashable
|
16714
|
+
|
16715
|
+
# Required. The connection for which this token applies.
|
16716
|
+
# Corresponds to the JSON property `name`
|
16717
|
+
# @return [String]
|
16718
|
+
attr_accessor :name
|
16719
|
+
|
16720
|
+
# The list of scopes for this token.
|
16721
|
+
# Corresponds to the JSON property `scopes`
|
16722
|
+
# @return [Array<String>]
|
16723
|
+
attr_accessor :scopes
|
16724
|
+
|
16725
|
+
def initialize(**args)
|
16726
|
+
update!(**args)
|
16727
|
+
end
|
16728
|
+
|
16729
|
+
# Update properties of this object
|
16730
|
+
def update!(**args)
|
16731
|
+
@name = args[:name] if args.key?(:name)
|
16732
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
16733
|
+
end
|
16734
|
+
end
|
16735
|
+
|
16636
16736
|
# Metadata related to the progress of the CrawlRateManagementService.
|
16637
16737
|
# RemoveDedicatedCrawlRate operation. This will be returned by the google.
|
16638
16738
|
# longrunning.Operation.metadata field.
|
@@ -17658,10 +17758,11 @@ module Google
|
|
17658
17758
|
# relevance and attractiveness of a search result from a user's perspective. A
|
17659
17759
|
# higher pCTR suggests that the result is more likely to satisfy the user's
|
17660
17760
|
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
|
17661
|
-
# freshness adjustment as a rank * `
|
17662
|
-
#
|
17663
|
-
#
|
17664
|
-
#
|
17761
|
+
# freshness adjustment as a rank * `document_age`: The time in hours elapsed
|
17762
|
+
# since the document was last updated, a floating-point number (e.g., 0.25 means
|
17763
|
+
# 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
|
17764
|
+
# proprietary Google model to determine the keyword-based overlap between the
|
17765
|
+
# query and the document. * `base_rank`: the default rank of the result
|
17665
17766
|
# Corresponds to the JSON property `rankingExpression`
|
17666
17767
|
# @return [String]
|
17667
17768
|
attr_accessor :ranking_expression
|
@@ -25826,10 +25927,11 @@ module Google
|
|
25826
25927
|
# relevance and attractiveness of a search result from a user's perspective. A
|
25827
25928
|
# higher pCTR suggests that the result is more likely to satisfy the user's
|
25828
25929
|
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
|
25829
|
-
# freshness adjustment as a rank * `
|
25830
|
-
#
|
25831
|
-
#
|
25832
|
-
#
|
25930
|
+
# freshness adjustment as a rank * `document_age`: The time in hours elapsed
|
25931
|
+
# since the document was last updated, a floating-point number (e.g., 0.25 means
|
25932
|
+
# 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
|
25933
|
+
# proprietary Google model to determine the keyword-based overlap between the
|
25934
|
+
# query and the document. * `base_rank`: the default rank of the result
|
25833
25935
|
# Corresponds to the JSON property `rankingExpression`
|
25834
25936
|
# @return [String]
|
25835
25937
|
attr_accessor :ranking_expression
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1alpha
|
18
18
|
# Version of the google-apis-discoveryengine_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.69.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250706"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -826,6 +826,18 @@ module Google
|
|
826
826
|
include Google::Apis::Core::JsonObjectSupport
|
827
827
|
end
|
828
828
|
|
829
|
+
class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest
|
830
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
|
+
|
832
|
+
include Google::Apis::Core::JsonObjectSupport
|
833
|
+
end
|
834
|
+
|
835
|
+
class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse
|
836
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
837
|
+
|
838
|
+
include Google::Apis::Core::JsonObjectSupport
|
839
|
+
end
|
840
|
+
|
829
841
|
class GoogleCloudDiscoveryengineV1alphaActionConfig
|
830
842
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
843
|
|
@@ -1642,6 +1654,12 @@ module Google
|
|
1642
1654
|
include Google::Apis::Core::JsonObjectSupport
|
1643
1655
|
end
|
1644
1656
|
|
1657
|
+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
|
1658
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1659
|
+
|
1660
|
+
include Google::Apis::Core::JsonObjectSupport
|
1661
|
+
end
|
1662
|
+
|
1645
1663
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
|
1646
1664
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1647
1665
|
|
@@ -2674,6 +2692,12 @@ module Google
|
|
2674
2692
|
include Google::Apis::Core::JsonObjectSupport
|
2675
2693
|
end
|
2676
2694
|
|
2695
|
+
class GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo
|
2696
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2697
|
+
|
2698
|
+
include Google::Apis::Core::JsonObjectSupport
|
2699
|
+
end
|
2700
|
+
|
2677
2701
|
class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata
|
2678
2702
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2679
2703
|
|
@@ -5768,6 +5792,21 @@ module Google
|
|
5768
5792
|
end
|
5769
5793
|
end
|
5770
5794
|
|
5795
|
+
class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest
|
5796
|
+
# @private
|
5797
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5798
|
+
end
|
5799
|
+
end
|
5800
|
+
|
5801
|
+
class GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse
|
5802
|
+
# @private
|
5803
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5804
|
+
property :access_token, as: 'accessToken'
|
5805
|
+
property :refresh_token_info, as: 'refreshTokenInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo::Representation
|
5806
|
+
|
5807
|
+
end
|
5808
|
+
end
|
5809
|
+
|
5771
5810
|
class GoogleCloudDiscoveryengineV1alphaActionConfig
|
5772
5811
|
# @private
|
5773
5812
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7205,10 +7244,21 @@ module Google
|
|
7205
7244
|
# @private
|
7206
7245
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7207
7246
|
property :realtime_sync_secret, as: 'realtimeSyncSecret'
|
7247
|
+
property :streaming_error, as: 'streamingError', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError::Representation
|
7248
|
+
|
7208
7249
|
property :webhook_uri, as: 'webhookUri'
|
7209
7250
|
end
|
7210
7251
|
end
|
7211
7252
|
|
7253
|
+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
|
7254
|
+
# @private
|
7255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7256
|
+
property :error, as: 'error', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
|
7257
|
+
|
7258
|
+
property :streaming_error_reason, as: 'streamingErrorReason'
|
7259
|
+
end
|
7260
|
+
end
|
7261
|
+
|
7212
7262
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
|
7213
7263
|
# @private
|
7214
7264
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8884,6 +8934,14 @@ module Google
|
|
8884
8934
|
end
|
8885
8935
|
end
|
8886
8936
|
|
8937
|
+
class GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo
|
8938
|
+
# @private
|
8939
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8940
|
+
property :name, as: 'name'
|
8941
|
+
collection :scopes, as: 'scopes'
|
8942
|
+
end
|
8943
|
+
end
|
8944
|
+
|
8887
8945
|
class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata
|
8888
8946
|
# @private
|
8889
8947
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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)
|
@@ -5826,7 +5869,8 @@ module Google
|
|
5826
5869
|
# location`/collections/`collection`/dataStores/`data_store_id``
|
5827
5870
|
# @param [String] filter
|
5828
5871
|
# A filter to apply on the list results. The supported features are:
|
5829
|
-
# user_pseudo_id, state.
|
5872
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
5873
|
+
# true"
|
5830
5874
|
# @param [String] order_by
|
5831
5875
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
5832
5876
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -5953,6 +5997,9 @@ module Google
|
|
5953
5997
|
# the end user's view. It's recommended to set to true for maturely developed
|
5954
5998
|
# widgets, as it improves widget performance. Set to false to see changes
|
5955
5999
|
# reflected in prod right away, if your widget is under development.
|
6000
|
+
# @param [Boolean] get_widget_config_request_option_turn_off_collection_components
|
6001
|
+
# Optional. Whether to turn off collection_components in WidgetConfig to reduce
|
6002
|
+
# latency and data transmission.
|
5956
6003
|
# @param [String] fields
|
5957
6004
|
# Selector specifying which fields to include in a partial response.
|
5958
6005
|
# @param [String] quota_user
|
@@ -5970,12 +6017,13 @@ module Google
|
|
5970
6017
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5971
6018
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5972
6019
|
# @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)
|
6020
|
+
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
6021
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
5975
6022
|
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfig::Representation
|
5976
6023
|
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfig
|
5977
6024
|
command.params['name'] = name unless name.nil?
|
5978
6025
|
command.query['acceptCache'] = accept_cache unless accept_cache.nil?
|
6026
|
+
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
6027
|
command.query['fields'] = fields unless fields.nil?
|
5980
6028
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5981
6029
|
execute_or_queue_command(command, &block)
|
@@ -8275,7 +8323,8 @@ module Google
|
|
8275
8323
|
# location`/collections/`collection`/dataStores/`data_store_id``
|
8276
8324
|
# @param [String] filter
|
8277
8325
|
# A filter to apply on the list results. The supported features are:
|
8278
|
-
# user_pseudo_id, state.
|
8326
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
8327
|
+
# true"
|
8279
8328
|
# @param [String] order_by
|
8280
8329
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
8281
8330
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -9067,6 +9116,9 @@ module Google
|
|
9067
9116
|
# the end user's view. It's recommended to set to true for maturely developed
|
9068
9117
|
# widgets, as it improves widget performance. Set to false to see changes
|
9069
9118
|
# reflected in prod right away, if your widget is under development.
|
9119
|
+
# @param [Boolean] get_widget_config_request_option_turn_off_collection_components
|
9120
|
+
# Optional. Whether to turn off collection_components in WidgetConfig to reduce
|
9121
|
+
# latency and data transmission.
|
9070
9122
|
# @param [String] fields
|
9071
9123
|
# Selector specifying which fields to include in a partial response.
|
9072
9124
|
# @param [String] quota_user
|
@@ -9084,12 +9136,13 @@ module Google
|
|
9084
9136
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9085
9137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9086
9138
|
# @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)
|
9139
|
+
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
9140
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
9089
9141
|
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfig::Representation
|
9090
9142
|
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfig
|
9091
9143
|
command.params['name'] = name unless name.nil?
|
9092
9144
|
command.query['acceptCache'] = accept_cache unless accept_cache.nil?
|
9145
|
+
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
9146
|
command.query['fields'] = fields unless fields.nil?
|
9094
9147
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9095
9148
|
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.69.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.69.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:
|