Skip to content

Commit cc763ce

Browse files
feat: Automated regeneration of discoveryengine v1 client (googleapis#23695)
Auto-created at 2025-07-13 10:41:47 +0000 using the toys pull request generator.
1 parent 7a92aea commit cc763ce

File tree

6 files changed

+81
-14
lines changed

6 files changed

+81
-14
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200162,7 +200162,11 @@
200162200162
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig/tenant": tenant
200163200163
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig": google_cloud_discoveryengine_v1alpha_data_connector_realtime_sync_config
200164200164
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/realtimeSyncSecret": realtime_sync_secret
200165+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/streamingError": streaming_error
200165200166
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/webhookUri": webhook_uri
200167+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError": google_cloud_discoveryengine_v1alpha_data_connector_realtime_sync_config_streaming_error
200168+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError/error": error
200169+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError/streamingErrorReason": streaming_error_reason
200166200170
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity": google_cloud_discoveryengine_v1alpha_data_connector_source_entity
200167200171
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity/dataStore": data_store
200168200172
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity/entityName": entity_name

generated/google-apis-discoveryengine_v1/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_v1
22

3+
### v0.45.0 (2025-07-13)
4+
5+
* Regenerated from discovery document revision 20250706
6+
37
### v0.44.0 (2025-07-06)
48

59
* Regenerated from discovery document revision 20250701

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

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14091,6 +14091,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
1409114091
# @return [String]
1409214092
attr_accessor :realtime_sync_secret
1409314093

14094+
# Streaming error details.
14095+
# Corresponds to the JSON property `streamingError`
14096+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError]
14097+
attr_accessor :streaming_error
14098+
1409414099
# Optional. Webhook url for the connector to specify additional params for
1409514100
# realtime sync.
1409614101
# Corresponds to the JSON property `webhookUri`
@@ -14104,10 +14109,41 @@ def initialize(**args)
1410414109
# Update properties of this object
1410514110
def update!(**args)
1410614111
@realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
14112+
@streaming_error = args[:streaming_error] if args.key?(:streaming_error)
1410714113
@webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
1410814114
end
1410914115
end
1411014116

14117+
# Streaming error details.
14118+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
14119+
include Google::Apis::Core::Hashable
14120+
14121+
# The `Status` type defines a logical error model that is suitable for different
14122+
# programming environments, including REST APIs and RPC APIs. It is used by [
14123+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
14124+
# data: error code, error message, and error details. You can find out more
14125+
# about this error model and how to work with it in the [API Design Guide](https:
14126+
# //cloud.google.com/apis/design/errors).
14127+
# Corresponds to the JSON property `error`
14128+
# @return [Google::Apis::DiscoveryengineV1::GoogleRpcStatus]
14129+
attr_accessor :error
14130+
14131+
# Optional. Streaming error.
14132+
# Corresponds to the JSON property `streamingErrorReason`
14133+
# @return [String]
14134+
attr_accessor :streaming_error_reason
14135+
14136+
def initialize(**args)
14137+
update!(**args)
14138+
end
14139+
14140+
# Update properties of this object
14141+
def update!(**args)
14142+
@error = args[:error] if args.key?(:error)
14143+
@streaming_error_reason = args[:streaming_error_reason] if args.key?(:streaming_error_reason)
14144+
end
14145+
end
14146+
1411114147
# Represents an entity in the data source. For example, the `Account` object in
1411214148
# Salesforce.
1411314149
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
@@ -16535,7 +16571,8 @@ class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
1653516571
include Google::Apis::Core::Hashable
1653616572

1653716573
# A filter to apply on the list results. The supported features are:
16538-
# user_pseudo_id, state. Example: "user_pseudo_id = some_id"
16574+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
16575+
# true"
1653916576
# Corresponds to the JSON property `filter`
1654016577
# @return [String]
1654116578
attr_accessor :filter
@@ -17736,10 +17773,11 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest
1773617773
# relevance and attractiveness of a search result from a user's perspective. A
1773717774
# higher pCTR suggests that the result is more likely to satisfy the user's
1773817775
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
17739-
# freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a
17740-
# rank. Uses proprietary Google model to determine the keyword-based overlap
17741-
# between the query and the document. * `base_rank`: the default rank of the
17742-
# result
17776+
# freshness adjustment as a rank * `document_age`: The time in hours elapsed
17777+
# since the document was last updated, a floating-point number (e.g., 0.25 means
17778+
# 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
17779+
# proprietary Google model to determine the keyword-based overlap between the
17780+
# query and the document. * `base_rank`: the default rank of the result
1774317781
# Corresponds to the JSON property `rankingExpression`
1774417782
# @return [String]
1774517783
attr_accessor :ranking_expression
@@ -23098,10 +23136,11 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
2309823136
# relevance and attractiveness of a search result from a user's perspective. A
2309923137
# higher pCTR suggests that the result is more likely to satisfy the user's
2310023138
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
23101-
# freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a
23102-
# rank. Uses proprietary Google model to determine the keyword-based overlap
23103-
# between the query and the document. * `base_rank`: the default rank of the
23104-
# result
23139+
# freshness adjustment as a rank * `document_age`: The time in hours elapsed
23140+
# since the document was last updated, a floating-point number (e.g., 0.25 means
23141+
# 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
23142+
# proprietary Google model to determine the keyword-based overlap between the
23143+
# query and the document. * `base_rank`: the default rank of the result
2310523144
# Corresponds to the JSON property `rankingExpression`
2310623145
# @return [String]
2310723146
attr_accessor :ranking_expression

generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/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 DiscoveryengineV1
1818
# Version of the google-apis-discoveryengine_v1 gem
19-
GEM_VERSION = "0.44.0"
19+
GEM_VERSION = "0.45.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 = "20250701"
25+
REVISION = "20250706"
2626
end
2727
end
2828
end

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2230,6 +2230,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
22302230
include Google::Apis::Core::JsonObjectSupport
22312231
end
22322232

2233+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
2234+
class Representation < Google::Apis::Core::JsonRepresentation; end
2235+
2236+
include Google::Apis::Core::JsonObjectSupport
2237+
end
2238+
22332239
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
22342240
class Representation < Google::Apis::Core::JsonRepresentation; end
22352241

@@ -7770,10 +7776,21 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
77707776
# @private
77717777
class Representation < Google::Apis::Core::JsonRepresentation
77727778
property :realtime_sync_secret, as: 'realtimeSyncSecret'
7779+
property :streaming_error, as: 'streamingError', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError::Representation
7780+
77737781
property :webhook_uri, as: 'webhookUri'
77747782
end
77757783
end
77767784

7785+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
7786+
# @private
7787+
class Representation < Google::Apis::Core::JsonRepresentation
7788+
property :error, as: 'error', class: Google::Apis::DiscoveryengineV1::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleRpcStatus::Representation
7789+
7790+
property :streaming_error_reason, as: 'streamingErrorReason'
7791+
end
7792+
end
7793+
77777794
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
77787795
# @private
77797796
class Representation < Google::Apis::Core::JsonRepresentation

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2426,7 +2426,8 @@ def get_project_location_collection_data_store_session(name, include_answer_deta
24262426
# location`/collections/`collection`/dataStores/`data_store_id``
24272427
# @param [String] filter
24282428
# A filter to apply on the list results. The supported features are:
2429-
# user_pseudo_id, state. Example: "user_pseudo_id = some_id"
2429+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
2430+
# true"
24302431
# @param [String] order_by
24312432
# A comma-separated list of fields to order by, sorted in ascending order. Use "
24322433
# desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -4500,7 +4501,8 @@ def get_project_location_collection_engine_session(name, include_answer_details:
45004501
# location`/collections/`collection`/dataStores/`data_store_id``
45014502
# @param [String] filter
45024503
# A filter to apply on the list results. The supported features are:
4503-
# user_pseudo_id, state. Example: "user_pseudo_id = some_id"
4504+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
4505+
# true"
45044506
# @param [String] order_by
45054507
# A comma-separated list of fields to order by, sorted in ascending order. Use "
45064508
# desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -6604,7 +6606,8 @@ def get_project_location_data_store_session(name, include_answer_details: nil, f
66046606
# location`/collections/`collection`/dataStores/`data_store_id``
66056607
# @param [String] filter
66066608
# A filter to apply on the list results. The supported features are:
6607-
# user_pseudo_id, state. Example: "user_pseudo_id = some_id"
6609+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
6610+
# true"
66086611
# @param [String] order_by
66096612
# A comma-separated list of fields to order by, sorted in ascending order. Use "
66106613
# desc" after a field name for descending. Supported fields: * `update_time` * `

0 commit comments

Comments
 (0)