Skip to content

Commit b3b13a4

Browse files
feat: Automated regeneration of discoveryengine v1alpha client (googleapis#24074)
Auto-created at 2025-08-24 10:37:33 +0000 using the toys pull request generator.
1 parent ff3c7b7 commit b3b13a4

File tree

6 files changed

+189
-3
lines changed

6 files changed

+189
-3
lines changed

api_names_out.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206045,6 +206045,7 @@
206045206045
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/entities/entity": entity
206046206046
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/errors": errors
206047206047
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/errors/error": error
206048+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/hybridIngestionDisabled": hybrid_ingestion_disabled
206048206049
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/identityRefreshInterval": identity_refresh_interval
206049206050
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/identityScheduleConfig": identity_schedule_config
206050206051
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/incrementalRefreshInterval": incremental_refresh_interval
@@ -207458,6 +207459,21 @@
207458207459
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult/id": id
207459207460
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult/modelScores": model_scores
207460207461
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult/modelScores/model_score": model_score
207462+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult/rankSignals": rank_signals
207463+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals": google_cloud_discoveryengine_v1alpha_search_response_search_result_rank_signals
207464+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals/boostingFactor": boosting_factor
207465+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals/customSignals": custom_signals
207466+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals/customSignals/custom_signal": custom_signal
207467+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals/defaultRank": default_rank
207468+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals/documentAge": document_age
207469+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals/keywordSimilarityScore": keyword_similarity_score
207470+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals/pctrRank": pctr_rank
207471+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals/relevanceScore": relevance_score
207472+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals/semanticSimilarityScore": semantic_similarity_score
207473+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals/topicalityRank": topicality_rank
207474+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal": google_cloud_discoveryengine_v1alpha_search_response_search_result_rank_signals_custom_signal
207475+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal/name": name
207476+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal/value": value
207461207477
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo": google_cloud_discoveryengine_v1alpha_search_response_session_info
207462207478
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo/name": name
207463207479
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo/queryId": query_id
@@ -209153,6 +209169,7 @@
209153209169
"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.sessions.delete/name": name
209154209170
"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.sessions.files.list": list_project_location_collection_engine_session_files
209155209171
"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.sessions.files.list/filter": filter
209172+
"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.sessions.files.list/orderBy": order_by
209156209173
"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.sessions.files.list/pageSize": page_size
209157209174
"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.sessions.files.list/pageToken": page_token
209158209175
"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.sessions.files.list/parent": parent

generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-discoveryengine_v1alpha
22

3+
### v0.74.0 (2025-08-24)
4+
5+
* Regenerated from discovery document revision 20250816
6+
37
### v0.73.0 (2025-08-17)
48

59
* Regenerated from discovery document revision 20250810

generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/classes.rb

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11404,6 +11404,14 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector
1140411404
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>]
1140511405
attr_accessor :errors
1140611406

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+
1140711415
# The refresh interval to sync the Access Control List information for the
1140811416
# documents ingested by this connector. If not set, the access control list will
1140911417
# be refreshed at the default interval of 30 minutes. The identity refresh
@@ -11583,6 +11591,7 @@ def update!(**args)
1158311591
@end_user_config = args[:end_user_config] if args.key?(:end_user_config)
1158411592
@entities = args[:entities] if args.key?(:entities)
1158511593
@errors = args[:errors] if args.key?(:errors)
11594+
@hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
1158611595
@identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
1158711596
@identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
1158811597
@incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
@@ -19690,6 +19699,8 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
1969019699

1969119700
# Required. Full resource name of DataStore, such as `projects/`project`/
1969219701
# 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.
1969319704
# Corresponds to the JSON property `dataStore`
1969419705
# @return [String]
1969519706
attr_accessor :data_store
@@ -20751,6 +20762,11 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult
2075120762
# @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList>]
2075220763
attr_accessor :model_scores
2075320764

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+
2075420770
def initialize(**args)
2075520771
update!(**args)
2075620772
end
@@ -20761,6 +20777,99 @@ def update!(**args)
2076120777
@document = args[:document] if args.key?(:document)
2076220778
@id = args[:id] if args.key?(:id)
2076320779
@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)
2076420873
end
2076520874
end
2076620875

@@ -28234,6 +28343,8 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
2823428343

2823528344
# Required. Full resource name of DataStore, such as `projects/`project`/
2823628345
# 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.
2823728348
# Corresponds to the JSON property `dataStore`
2823828349
# @return [String]
2823928350
attr_accessor :data_store

generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DiscoveryengineV1alpha
1818
# Version of the google-apis-discoveryengine_v1alpha gem
19-
GEM_VERSION = "0.73.0"
19+
GEM_VERSION = "0.74.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250810"
25+
REVISION = "20250816"
2626
end
2727
end
2828
end

generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/representations.rb

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3322,6 +3322,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
33223322
include Google::Apis::Core::JsonObjectSupport
33233323
end
33243324

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+
33253337
class GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo
33263338
class Representation < Google::Apis::Core::JsonRepresentation; end
33273339

@@ -7834,6 +7846,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
78347846

78357847
collection :errors, as: 'errors', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
78367848

7849+
property :hybrid_ingestion_disabled, as: 'hybridIngestionDisabled'
78377850
property :identity_refresh_interval, as: 'identityRefreshInterval'
78387851
property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
78397852

@@ -10374,6 +10387,32 @@ class Representation < Google::Apis::Core::JsonRepresentation
1037410387
property :id, as: 'id'
1037510388
hash :model_scores, as: 'modelScores', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList::Representation
1037610389

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'
1037710416
end
1037810417
end
1037910418

generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/service.rb

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6146,6 +6146,20 @@ def get_project_location_collection_engine_session_answer(name, fields: nil, quo
61466146
# examples of filters would be: * "file_name = 'file_1'" * "file_name = 'file_1'
61476147
# AND mime_type = 'text/plain'" * "last_use_time > '2025-06-14T12:00:00Z'" For a
61486148
# 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`
61496163
# @param [Fixnum] page_size
61506164
# Optional. The maximum number of files to return. The service may return fewer
61516165
# than this value. If unspecified, at most 100 files will be returned. The
@@ -6174,12 +6188,13 @@ def get_project_location_collection_engine_session_answer(name, fields: nil, quo
61746188
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
61756189
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
61766190
# @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)
61786192
command = make_simple_command(:get, 'v1alpha/{+parent}/files', options)
61796193
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse::Representation
61806194
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse
61816195
command.params['parent'] = parent unless parent.nil?
61826196
command.query['filter'] = filter unless filter.nil?
6197+
command.query['orderBy'] = order_by unless order_by.nil?
61836198
command.query['pageSize'] = page_size unless page_size.nil?
61846199
command.query['pageToken'] = page_token unless page_token.nil?
61856200
command.query['fields'] = fields unless fields.nil?

0 commit comments

Comments
 (0)