google-apis-discoveryengine_v1alpha 0.73.0 → 0.74.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: 15e0c9b6b16f2fdf80f1a48dce6193e77179d5881c609c1e2cd3a87f50977efb
4
- data.tar.gz: 3ffd0587315d2a7d3141280753b529dbd31f5f269a04038f2b2cc8f87752b569
3
+ metadata.gz: d4385e7bb2bf50f393d45768aa36ae24d797a42521ebe8f1ac6ba7b0445ed6e1
4
+ data.tar.gz: 9db018998c9196f1f7c5362a93bb5d53523e7b03875715ae9b58e8873c5cf0fa
5
5
  SHA512:
6
- metadata.gz: 676950c3f073074df47da15c9b71f98e1e86f862ea6af95ada05077eba6fd30e360556270c62aa794cb9cbc02c198c2735ba9418dd1af64d722a7d18b0fe0479
7
- data.tar.gz: f7b64cb8ad35d8fa9656063839e86c2d79144eaa6fecb276cd91ddb6a05207adc4933c9341e94fb70a90366b1033c6ac0beabc4b23880e843e82cc19a435842a
6
+ metadata.gz: ca4967ffdd53d5c4294f323d4876cc6ed6c4c4e5e90aae5b3bb3602e877af7ac59c84252c892a746cb7f9be9147d6eacf524569b73d8aad10257ee2e1bcf417e
7
+ data.tar.gz: 47f2df29c5d59ee421abe67ff8eaba017c7b807241fb43462eac60b0f04d4fe93db94d18369d2385de202f21cf44a41586612e3678a6f7ae73090305803ae34c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.74.0 (2025-08-24)
4
+
5
+ * Regenerated from discovery document revision 20250816
6
+
3
7
  ### v0.73.0 (2025-08-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20250810
@@ -11404,6 +11404,14 @@ module Google
11404
11404
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>]
11405
11405
  attr_accessor :errors
11406
11406
 
11407
+ # Optional. If the connector is a hybrid connector, determines whether ingestion
11408
+ # is enabled and appropriate resources are provisioned during connector creation.
11409
+ # If the connector is not a hybrid connector, this field is ignored.
11410
+ # Corresponds to the JSON property `hybridIngestionDisabled`
11411
+ # @return [Boolean]
11412
+ attr_accessor :hybrid_ingestion_disabled
11413
+ alias_method :hybrid_ingestion_disabled?, :hybrid_ingestion_disabled
11414
+
11407
11415
  # The refresh interval to sync the Access Control List information for the
11408
11416
  # documents ingested by this connector. If not set, the access control list will
11409
11417
  # be refreshed at the default interval of 30 minutes. The identity refresh
@@ -11583,6 +11591,7 @@ module Google
11583
11591
  @end_user_config = args[:end_user_config] if args.key?(:end_user_config)
11584
11592
  @entities = args[:entities] if args.key?(:entities)
11585
11593
  @errors = args[:errors] if args.key?(:errors)
11594
+ @hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
11586
11595
  @identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
11587
11596
  @identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
11588
11597
  @incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
@@ -19690,6 +19699,8 @@ module Google
19690
19699
 
19691
19700
  # Required. Full resource name of DataStore, such as `projects/`project`/
19692
19701
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
19702
+ # The path must include the project number, project id is not supported for this
19703
+ # field.
19693
19704
  # Corresponds to the JSON property `dataStore`
19694
19705
  # @return [String]
19695
19706
  attr_accessor :data_store
@@ -20751,6 +20762,11 @@ module Google
20751
20762
  # @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList>]
20752
20763
  attr_accessor :model_scores
20753
20764
 
20765
+ # A set of ranking signals.
20766
+ # Corresponds to the JSON property `rankSignals`
20767
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals]
20768
+ attr_accessor :rank_signals
20769
+
20754
20770
  def initialize(**args)
20755
20771
  update!(**args)
20756
20772
  end
@@ -20761,6 +20777,99 @@ module Google
20761
20777
  @document = args[:document] if args.key?(:document)
20762
20778
  @id = args[:id] if args.key?(:id)
20763
20779
  @model_scores = args[:model_scores] if args.key?(:model_scores)
20780
+ @rank_signals = args[:rank_signals] if args.key?(:rank_signals)
20781
+ end
20782
+ end
20783
+
20784
+ # A set of ranking signals.
20785
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals
20786
+ include Google::Apis::Core::Hashable
20787
+
20788
+ # Optional. Combined custom boosts for a doc.
20789
+ # Corresponds to the JSON property `boostingFactor`
20790
+ # @return [Float]
20791
+ attr_accessor :boosting_factor
20792
+
20793
+ # Optional. A list of custom clearbox signals.
20794
+ # Corresponds to the JSON property `customSignals`
20795
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal>]
20796
+ attr_accessor :custom_signals
20797
+
20798
+ # Optional. The default rank of the result.
20799
+ # Corresponds to the JSON property `defaultRank`
20800
+ # @return [Float]
20801
+ attr_accessor :default_rank
20802
+
20803
+ # Optional. Age of the document in hours.
20804
+ # Corresponds to the JSON property `documentAge`
20805
+ # @return [Float]
20806
+ attr_accessor :document_age
20807
+
20808
+ # Optional. Keyword matching adjustment.
20809
+ # Corresponds to the JSON property `keywordSimilarityScore`
20810
+ # @return [Float]
20811
+ attr_accessor :keyword_similarity_score
20812
+
20813
+ # Optional. Predicted conversion rate adjustment as a rank.
20814
+ # Corresponds to the JSON property `pctrRank`
20815
+ # @return [Float]
20816
+ attr_accessor :pctr_rank
20817
+
20818
+ # Optional. Semantic relevance adjustment.
20819
+ # Corresponds to the JSON property `relevanceScore`
20820
+ # @return [Float]
20821
+ attr_accessor :relevance_score
20822
+
20823
+ # Optional. Semantic similarity adjustment.
20824
+ # Corresponds to the JSON property `semanticSimilarityScore`
20825
+ # @return [Float]
20826
+ attr_accessor :semantic_similarity_score
20827
+
20828
+ # Optional. Topicality adjustment as a rank.
20829
+ # Corresponds to the JSON property `topicalityRank`
20830
+ # @return [Float]
20831
+ attr_accessor :topicality_rank
20832
+
20833
+ def initialize(**args)
20834
+ update!(**args)
20835
+ end
20836
+
20837
+ # Update properties of this object
20838
+ def update!(**args)
20839
+ @boosting_factor = args[:boosting_factor] if args.key?(:boosting_factor)
20840
+ @custom_signals = args[:custom_signals] if args.key?(:custom_signals)
20841
+ @default_rank = args[:default_rank] if args.key?(:default_rank)
20842
+ @document_age = args[:document_age] if args.key?(:document_age)
20843
+ @keyword_similarity_score = args[:keyword_similarity_score] if args.key?(:keyword_similarity_score)
20844
+ @pctr_rank = args[:pctr_rank] if args.key?(:pctr_rank)
20845
+ @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
20846
+ @semantic_similarity_score = args[:semantic_similarity_score] if args.key?(:semantic_similarity_score)
20847
+ @topicality_rank = args[:topicality_rank] if args.key?(:topicality_rank)
20848
+ end
20849
+ end
20850
+
20851
+ # Custom clearbox signal represented by name and value pair.
20852
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal
20853
+ include Google::Apis::Core::Hashable
20854
+
20855
+ # Optional. Name of the signal.
20856
+ # Corresponds to the JSON property `name`
20857
+ # @return [String]
20858
+ attr_accessor :name
20859
+
20860
+ # Optional. Float value representing the ranking signal (e.g. 1.25 for BM25).
20861
+ # Corresponds to the JSON property `value`
20862
+ # @return [Float]
20863
+ attr_accessor :value
20864
+
20865
+ def initialize(**args)
20866
+ update!(**args)
20867
+ end
20868
+
20869
+ # Update properties of this object
20870
+ def update!(**args)
20871
+ @name = args[:name] if args.key?(:name)
20872
+ @value = args[:value] if args.key?(:value)
20764
20873
  end
20765
20874
  end
20766
20875
 
@@ -28234,6 +28343,8 @@ module Google
28234
28343
 
28235
28344
  # Required. Full resource name of DataStore, such as `projects/`project`/
28236
28345
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
28346
+ # The path must include the project number, project id is not supported for this
28347
+ # field.
28237
28348
  # Corresponds to the JSON property `dataStore`
28238
28349
  # @return [String]
28239
28350
  attr_accessor :data_store
@@ -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.73.0"
19
+ GEM_VERSION = "0.74.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 = "20250810"
25
+ REVISION = "20250816"
26
26
  end
27
27
  end
28
28
  end
@@ -3322,6 +3322,18 @@ module Google
3322
3322
  include Google::Apis::Core::JsonObjectSupport
3323
3323
  end
3324
3324
 
3325
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals
3326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3327
+
3328
+ include Google::Apis::Core::JsonObjectSupport
3329
+ end
3330
+
3331
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal
3332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3333
+
3334
+ include Google::Apis::Core::JsonObjectSupport
3335
+ end
3336
+
3325
3337
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo
3326
3338
  class Representation < Google::Apis::Core::JsonRepresentation; end
3327
3339
 
@@ -7834,6 +7846,7 @@ module Google
7834
7846
 
7835
7847
  collection :errors, as: 'errors', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
7836
7848
 
7849
+ property :hybrid_ingestion_disabled, as: 'hybridIngestionDisabled'
7837
7850
  property :identity_refresh_interval, as: 'identityRefreshInterval'
7838
7851
  property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
7839
7852
 
@@ -10374,6 +10387,32 @@ module Google
10374
10387
  property :id, as: 'id'
10375
10388
  hash :model_scores, as: 'modelScores', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList::Representation
10376
10389
 
10390
+ property :rank_signals, as: 'rankSignals', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals::Representation
10391
+
10392
+ end
10393
+ end
10394
+
10395
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals
10396
+ # @private
10397
+ class Representation < Google::Apis::Core::JsonRepresentation
10398
+ property :boosting_factor, as: 'boostingFactor'
10399
+ collection :custom_signals, as: 'customSignals', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal::Representation
10400
+
10401
+ property :default_rank, as: 'defaultRank'
10402
+ property :document_age, as: 'documentAge'
10403
+ property :keyword_similarity_score, as: 'keywordSimilarityScore'
10404
+ property :pctr_rank, as: 'pctrRank'
10405
+ property :relevance_score, as: 'relevanceScore'
10406
+ property :semantic_similarity_score, as: 'semanticSimilarityScore'
10407
+ property :topicality_rank, as: 'topicalityRank'
10408
+ end
10409
+ end
10410
+
10411
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal
10412
+ # @private
10413
+ class Representation < Google::Apis::Core::JsonRepresentation
10414
+ property :name, as: 'name'
10415
+ property :value, as: 'value'
10377
10416
  end
10378
10417
  end
10379
10418
 
@@ -6146,6 +6146,20 @@ module Google
6146
6146
  # examples of filters would be: * "file_name = 'file_1'" * "file_name = 'file_1'
6147
6147
  # AND mime_type = 'text/plain'" * "last_use_time > '2025-06-14T12:00:00Z'" For a
6148
6148
  # full description of the filter format, please see https://google.aip.dev/160.
6149
+ # @param [String] order_by
6150
+ # Optional. Specifies the order in which files are returned. The value is a
6151
+ # comma-separated string of fields to sort by. For ascending order - just the
6152
+ # field name is used. For descending order - the field name is suffixed with `
6153
+ # desc`. Sorting is stable and applied sequentially according to the order of
6154
+ # fields provided in the string. Supported fields for ordering: * `upload_time`:
6155
+ # The time the file was uploaded. * `file_name`: The name of the file. * `
6156
+ # mime_type`: The MIME type of the file. * `session_name`: The name of the
6157
+ # session the file belongs to. Default Behavior: If the `order_by` field is not
6158
+ # specified, files will be returned sorted by creation time in descending order.
6159
+ # Examples: 1. Sort by file name in ascending order: `file_name` 2. Sort by
6160
+ # upload time in descending order: `upload_time desc` 3. Sort by file name (
6161
+ # ascending), then by content type (MIME type) (descending), and finally by
6162
+ # upload time (ascending): `file_name, mime_type desc, upload_time`
6149
6163
  # @param [Fixnum] page_size
6150
6164
  # Optional. The maximum number of files to return. The service may return fewer
6151
6165
  # than this value. If unspecified, at most 100 files will be returned. The
@@ -6174,12 +6188,13 @@ module Google
6174
6188
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6175
6189
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6176
6190
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6177
- def list_project_location_collection_engine_session_files(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6191
+ def list_project_location_collection_engine_session_files(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6178
6192
  command = make_simple_command(:get, 'v1alpha/{+parent}/files', options)
6179
6193
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse::Representation
6180
6194
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse
6181
6195
  command.params['parent'] = parent unless parent.nil?
6182
6196
  command.query['filter'] = filter unless filter.nil?
6197
+ command.query['orderBy'] = order_by unless order_by.nil?
6183
6198
  command.query['pageSize'] = page_size unless page_size.nil?
6184
6199
  command.query['pageToken'] = page_token unless page_token.nil?
6185
6200
  command.query['fields'] = fields unless fields.nil?
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.73.0
4
+ version: 0.74.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.73.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.74.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: