google-apis-discoveryengine_v1alpha 0.67.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae43f7322dd5a6b9a367fc3251637b4a0ac4d0ff2dc9bb87fe3adf4be5a15fa5
4
- data.tar.gz: d0a2e2f0b20a9f09115282d6e829c1d35ce12d975d83f3972a9458eff337db95
3
+ metadata.gz: 2147c6961cfc1689ed1d887cea14a0deb144de421bbd6cff5280d6a2ff378cbb
4
+ data.tar.gz: df7630d9a9b961a8c341f4f303e3a84e52f4ddc3e6fffaac975b8aae31387770
5
5
  SHA512:
6
- metadata.gz: b3aab41c2400f4b05d98fec0e31a6de9346885d6f8f271efbda5a20050ccd1948a82c7d1f862105293b4f97daf82b7802729474f2fd049b07417dc5d642083ee
7
- data.tar.gz: 8974e88057f0ce0fefc3da0c811f2ec10bb448b57a170d5c2f54fae8c089ca1d5666d4b72e69543643c9b7047833402ce5b63c1029f9ea4ce46ce410ac3e0aa3
6
+ metadata.gz: 44945ceab2eb57fdc6030abae26f741a6b82f6f51f639eccc5e6494e4cf7b88c6ac9ff457785aea830ee3b207fda7e8b651d953cb5f9576e15ed3d43a44c21ef
7
+ data.tar.gz: 99abc43fefe7cc45124cbd54714b8b1bc4c4d39f8bde0ab0ef6b537f6aeafc80f19fdade3d840d25506a79eb8e2f713a96718bdb0c11608b2b8c4534d1b1e58f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.69.0 (2025-07-13)
4
+
5
+ * Regenerated from discovery document revision 20250706
6
+
7
+ ### v0.68.0 (2025-07-06)
8
+
9
+ * Regenerated from discovery document revision 20250701
10
+
3
11
  ### v0.67.0 (2025-06-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20250619
@@ -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
@@ -9411,7 +9449,7 @@ module Google
9411
9449
  class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun
9412
9450
  include Google::Apis::Core::Hashable
9413
9451
 
9414
- # The number of documents deleted.
9452
+ # Optional. The number of documents deleted.
9415
9453
  # Corresponds to the JSON property `deletedRecordCount`
9416
9454
  # @return [Fixnum]
9417
9455
  attr_accessor :deleted_record_count
@@ -9421,8 +9459,7 @@ module Google
9421
9459
  # @return [String]
9422
9460
  attr_accessor :entity_name
9423
9461
 
9424
- # The total number of documents failed at sync at any stage (extraction,
9425
- # indexing, etc).
9462
+ # Optional. The total number of documents failed at sync at indexing stage.
9426
9463
  # Corresponds to the JSON property `errorRecordCount`
9427
9464
  # @return [Fixnum]
9428
9465
  attr_accessor :error_record_count
@@ -9433,13 +9470,13 @@ module Google
9433
9470
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>]
9434
9471
  attr_accessor :errors
9435
9472
 
9436
- # The number of documents extracted from connector source, ready to be ingested
9437
- # to VAIS.
9473
+ # Optional. The number of documents extracted from connector source, ready to be
9474
+ # ingested to VAIS.
9438
9475
  # Corresponds to the JSON property `extractedRecordCount`
9439
9476
  # @return [Fixnum]
9440
9477
  attr_accessor :extracted_record_count
9441
9478
 
9442
- # The number of documents indexed.
9479
+ # Optional. The number of documents indexed.
9443
9480
  # Corresponds to the JSON property `indexedRecordCount`
9444
9481
  # @return [Fixnum]
9445
9482
  attr_accessor :indexed_record_count
@@ -9449,13 +9486,13 @@ module Google
9449
9486
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress]
9450
9487
  attr_accessor :progress
9451
9488
 
9452
- # The number of documents scheduled to be crawled/extracted from connector
9453
- # source. This only applies to third party connectors.
9489
+ # Optional. The number of documents scheduled to be crawled/extracted from
9490
+ # connector source. This only applies to third party connectors.
9454
9491
  # Corresponds to the JSON property `scheduledRecordCount`
9455
9492
  # @return [Fixnum]
9456
9493
  attr_accessor :scheduled_record_count
9457
9494
 
9458
- # The number of requests sent to 3p API.
9495
+ # Optional. The number of requests sent to 3p API.
9459
9496
  # Corresponds to the JSON property `sourceApiRequestCount`
9460
9497
  # @return [Fixnum]
9461
9498
  attr_accessor :source_api_request_count
@@ -10725,6 +10762,13 @@ module Google
10725
10762
  # @return [Hash<String,Object>]
10726
10763
  attr_accessor :auth_params
10727
10764
 
10765
+ # Tenant information for a connector source. This includes some of the same
10766
+ # information stored in the Credential message, but is limited to only what is
10767
+ # needed to provide a list of accessible tenants to the user.
10768
+ # Corresponds to the JSON property `tenant`
10769
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTenant]
10770
+ attr_accessor :tenant
10771
+
10728
10772
  def initialize(**args)
10729
10773
  update!(**args)
10730
10774
  end
@@ -10733,6 +10777,7 @@ module Google
10733
10777
  def update!(**args)
10734
10778
  @additional_params = args[:additional_params] if args.key?(:additional_params)
10735
10779
  @auth_params = args[:auth_params] if args.key?(:auth_params)
10780
+ @tenant = args[:tenant] if args.key?(:tenant)
10736
10781
  end
10737
10782
  end
10738
10783
 
@@ -10746,6 +10791,11 @@ module Google
10746
10791
  # @return [String]
10747
10792
  attr_accessor :realtime_sync_secret
10748
10793
 
10794
+ # Streaming error details.
10795
+ # Corresponds to the JSON property `streamingError`
10796
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError]
10797
+ attr_accessor :streaming_error
10798
+
10749
10799
  # Optional. Webhook url for the connector to specify additional params for
10750
10800
  # realtime sync.
10751
10801
  # Corresponds to the JSON property `webhookUri`
@@ -10759,10 +10809,41 @@ module Google
10759
10809
  # Update properties of this object
10760
10810
  def update!(**args)
10761
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)
10762
10813
  @webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
10763
10814
  end
10764
10815
  end
10765
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
+
10766
10847
  # Represents an entity in the data source. For example, the `Account` object in
10767
10848
  # Salesforce.
10768
10849
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
@@ -14986,7 +15067,8 @@ module Google
14986
15067
  include Google::Apis::Core::Hashable
14987
15068
 
14988
15069
  # A filter to apply on the list results. The supported features are:
14989
- # user_pseudo_id, state. Example: "user_pseudo_id = some_id"
15070
+ # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
15071
+ # true"
14990
15072
  # Corresponds to the JSON property `filter`
14991
15073
  # @return [String]
14992
15074
  attr_accessor :filter
@@ -16626,6 +16708,31 @@ module Google
16626
16708
  end
16627
16709
  end
16628
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
+
16629
16736
  # Metadata related to the progress of the CrawlRateManagementService.
16630
16737
  # RemoveDedicatedCrawlRate operation. This will be returned by the google.
16631
16738
  # longrunning.Operation.metadata field.
@@ -17651,10 +17758,11 @@ module Google
17651
17758
  # relevance and attractiveness of a search result from a user's perspective. A
17652
17759
  # higher pCTR suggests that the result is more likely to satisfy the user's
17653
17760
  # query and intent, making it a valuable signal for ranking. * `freshness_rank`:
17654
- # freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a
17655
- # rank. Uses proprietary Google model to determine the keyword-based overlap
17656
- # between the query and the document. * `base_rank`: the default rank of the
17657
- # result
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
17658
17766
  # Corresponds to the JSON property `rankingExpression`
17659
17767
  # @return [String]
17660
17768
  attr_accessor :ranking_expression
@@ -20738,6 +20846,42 @@ module Google
20738
20846
  end
20739
20847
  end
20740
20848
 
20849
+ # Tenant information for a connector source. This includes some of the same
20850
+ # information stored in the Credential message, but is limited to only what is
20851
+ # needed to provide a list of accessible tenants to the user.
20852
+ class GoogleCloudDiscoveryengineV1alphaTenant
20853
+ include Google::Apis::Core::Hashable
20854
+
20855
+ # Optional display name for the tenant, e.g. "My Slack Team".
20856
+ # Corresponds to the JSON property `displayName`
20857
+ # @return [String]
20858
+ attr_accessor :display_name
20859
+
20860
+ # The tenant's instance ID. Examples: Jira ("8594f221-9797-5f78-1fa4-
20861
+ # 485e198d7cd0"), Slack ("T123456").
20862
+ # Corresponds to the JSON property `id`
20863
+ # @return [String]
20864
+ attr_accessor :id
20865
+
20866
+ # The URI of the tenant, if applicable. For example, the URI of a Jira instance
20867
+ # is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a
20868
+ # URI.
20869
+ # Corresponds to the JSON property `uri`
20870
+ # @return [String]
20871
+ attr_accessor :uri
20872
+
20873
+ def initialize(**args)
20874
+ update!(**args)
20875
+ end
20876
+
20877
+ # Update properties of this object
20878
+ def update!(**args)
20879
+ @display_name = args[:display_name] if args.key?(:display_name)
20880
+ @id = args[:id] if args.key?(:id)
20881
+ @uri = args[:uri] if args.key?(:uri)
20882
+ end
20883
+ end
20884
+
20741
20885
  # Defines text input.
20742
20886
  class GoogleCloudDiscoveryengineV1alphaTextInput
20743
20887
  include Google::Apis::Core::Hashable
@@ -21863,6 +22007,11 @@ module Google
21863
22007
  # @return [String]
21864
22008
  attr_accessor :data_source
21865
22009
 
22010
+ # Output only. The display name of the data source.
22011
+ # Corresponds to the JSON property `dataSourceDisplayName`
22012
+ # @return [String]
22013
+ attr_accessor :data_source_display_name
22014
+
21866
22015
  # For the data store collection, list of the children data stores.
21867
22016
  # Corresponds to the JSON property `dataStoreComponents`
21868
22017
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent>]
@@ -21896,6 +22045,7 @@ module Google
21896
22045
  def update!(**args)
21897
22046
  @connector_icon_link = args[:connector_icon_link] if args.key?(:connector_icon_link)
21898
22047
  @data_source = args[:data_source] if args.key?(:data_source)
22048
+ @data_source_display_name = args[:data_source_display_name] if args.key?(:data_source_display_name)
21899
22049
  @data_store_components = args[:data_store_components] if args.key?(:data_store_components)
21900
22050
  @display_name = args[:display_name] if args.key?(:display_name)
21901
22051
  @id = args[:id] if args.key?(:id)
@@ -25777,10 +25927,11 @@ module Google
25777
25927
  # relevance and attractiveness of a search result from a user's perspective. A
25778
25928
  # higher pCTR suggests that the result is more likely to satisfy the user's
25779
25929
  # query and intent, making it a valuable signal for ranking. * `freshness_rank`:
25780
- # freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a
25781
- # rank. Uses proprietary Google model to determine the keyword-based overlap
25782
- # between the query and the document. * `base_rank`: the default rank of the
25783
- # result
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
25784
25935
  # Corresponds to the JSON property `rankingExpression`
25785
25936
  # @return [String]
25786
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.67.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 = "20250619"
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
 
@@ -3274,6 +3298,12 @@ module Google
3274
3298
  include Google::Apis::Core::JsonObjectSupport
3275
3299
  end
3276
3300
 
3301
+ class GoogleCloudDiscoveryengineV1alphaTenant
3302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3303
+
3304
+ include Google::Apis::Core::JsonObjectSupport
3305
+ end
3306
+
3277
3307
  class GoogleCloudDiscoveryengineV1alphaTextInput
3278
3308
  class Representation < Google::Apis::Core::JsonRepresentation; end
3279
3309
 
@@ -5762,6 +5792,21 @@ module Google
5762
5792
  end
5763
5793
  end
5764
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
+
5765
5810
  class GoogleCloudDiscoveryengineV1alphaActionConfig
5766
5811
  # @private
5767
5812
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7190,6 +7235,8 @@ module Google
7190
7235
  class Representation < Google::Apis::Core::JsonRepresentation
7191
7236
  hash :additional_params, as: 'additionalParams'
7192
7237
  hash :auth_params, as: 'authParams'
7238
+ property :tenant, as: 'tenant', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTenant, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTenant::Representation
7239
+
7193
7240
  end
7194
7241
  end
7195
7242
 
@@ -7197,10 +7244,21 @@ module Google
7197
7244
  # @private
7198
7245
  class Representation < Google::Apis::Core::JsonRepresentation
7199
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
+
7200
7249
  property :webhook_uri, as: 'webhookUri'
7201
7250
  end
7202
7251
  end
7203
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
+
7204
7262
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
7205
7263
  # @private
7206
7264
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8876,6 +8934,14 @@ module Google
8876
8934
  end
8877
8935
  end
8878
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
+
8879
8945
  class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata
8880
8946
  # @private
8881
8947
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9925,6 +9991,15 @@ module Google
9925
9991
  end
9926
9992
  end
9927
9993
 
9994
+ class GoogleCloudDiscoveryengineV1alphaTenant
9995
+ # @private
9996
+ class Representation < Google::Apis::Core::JsonRepresentation
9997
+ property :display_name, as: 'displayName'
9998
+ property :id, as: 'id'
9999
+ property :uri, as: 'uri'
10000
+ end
10001
+ end
10002
+
9928
10003
  class GoogleCloudDiscoveryengineV1alphaTextInput
9929
10004
  # @private
9930
10005
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10186,6 +10261,7 @@ module Google
10186
10261
  class Representation < Google::Apis::Core::JsonRepresentation
10187
10262
  property :connector_icon_link, as: 'connectorIconLink'
10188
10263
  property :data_source, as: 'dataSource'
10264
+ property :data_source_display_name, as: 'dataSourceDisplayName'
10189
10265
  collection :data_store_components, as: 'dataStoreComponents', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent::Representation
10190
10266
 
10191
10267
  property :display_name, as: 'displayName'
@@ -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. Example: "user_pseudo_id = some_id"
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. Example: "user_pseudo_id = some_id"
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. Example: "user_pseudo_id = some_id"
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.67.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.67.0
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: