Skip to content

Commit 9feb125

Browse files
feat: Automated regeneration of discoveryengine v1beta client (googleapis#23684)
Auto-created at 2025-07-13 10:11:03 +0000 using the toys pull request generator.
1 parent 9145cae commit 9feb125

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
@@ -207977,7 +207977,11 @@
207977207977
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig/tenant": tenant
207978207978
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig": google_cloud_discoveryengine_v1alpha_data_connector_realtime_sync_config
207979207979
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/realtimeSyncSecret": realtime_sync_secret
207980+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/streamingError": streaming_error
207980207981
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/webhookUri": webhook_uri
207982+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError": google_cloud_discoveryengine_v1alpha_data_connector_realtime_sync_config_streaming_error
207983+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError/error": error
207984+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError/streamingErrorReason": streaming_error_reason
207981207985
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity": google_cloud_discoveryengine_v1alpha_data_connector_source_entity
207982207986
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity/dataStore": data_store
207983207987
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity/entityName": entity_name

generated/google-apis-discoveryengine_v1beta/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_v1beta
22

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

59
* Regenerated from discovery document revision 20250701

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

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6862,6 +6862,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
68626862
# @return [String]
68636863
attr_accessor :realtime_sync_secret
68646864

6865+
# Streaming error details.
6866+
# Corresponds to the JSON property `streamingError`
6867+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError]
6868+
attr_accessor :streaming_error
6869+
68656870
# Optional. Webhook url for the connector to specify additional params for
68666871
# realtime sync.
68676872
# Corresponds to the JSON property `webhookUri`
@@ -6875,10 +6880,41 @@ def initialize(**args)
68756880
# Update properties of this object
68766881
def update!(**args)
68776882
@realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
6883+
@streaming_error = args[:streaming_error] if args.key?(:streaming_error)
68786884
@webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
68796885
end
68806886
end
68816887

6888+
# Streaming error details.
6889+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
6890+
include Google::Apis::Core::Hashable
6891+
6892+
# The `Status` type defines a logical error model that is suitable for different
6893+
# programming environments, including REST APIs and RPC APIs. It is used by [
6894+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
6895+
# data: error code, error message, and error details. You can find out more
6896+
# about this error model and how to work with it in the [API Design Guide](https:
6897+
# //cloud.google.com/apis/design/errors).
6898+
# Corresponds to the JSON property `error`
6899+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus]
6900+
attr_accessor :error
6901+
6902+
# Optional. Streaming error.
6903+
# Corresponds to the JSON property `streamingErrorReason`
6904+
# @return [String]
6905+
attr_accessor :streaming_error_reason
6906+
6907+
def initialize(**args)
6908+
update!(**args)
6909+
end
6910+
6911+
# Update properties of this object
6912+
def update!(**args)
6913+
@error = args[:error] if args.key?(:error)
6914+
@streaming_error_reason = args[:streaming_error_reason] if args.key?(:streaming_error_reason)
6915+
end
6916+
end
6917+
68826918
# Represents an entity in the data source. For example, the `Account` object in
68836919
# Salesforce.
68846920
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
@@ -9306,7 +9342,8 @@ class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
93069342
include Google::Apis::Core::Hashable
93079343

93089344
# A filter to apply on the list results. The supported features are:
9309-
# user_pseudo_id, state. Example: "user_pseudo_id = some_id"
9345+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
9346+
# true"
93109347
# Corresponds to the JSON property `filter`
93119348
# @return [String]
93129349
attr_accessor :filter
@@ -10507,10 +10544,11 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest
1050710544
# relevance and attractiveness of a search result from a user's perspective. A
1050810545
# higher pCTR suggests that the result is more likely to satisfy the user's
1050910546
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
10510-
# freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a
10511-
# rank. Uses proprietary Google model to determine the keyword-based overlap
10512-
# between the query and the document. * `base_rank`: the default rank of the
10513-
# result
10547+
# freshness adjustment as a rank * `document_age`: The time in hours elapsed
10548+
# since the document was last updated, a floating-point number (e.g., 0.25 means
10549+
# 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
10550+
# proprietary Google model to determine the keyword-based overlap between the
10551+
# query and the document. * `base_rank`: the default rank of the result
1051410552
# Corresponds to the JSON property `rankingExpression`
1051510553
# @return [String]
1051610554
attr_accessor :ranking_expression
@@ -22294,10 +22332,11 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
2229422332
# relevance and attractiveness of a search result from a user's perspective. A
2229522333
# higher pCTR suggests that the result is more likely to satisfy the user's
2229622334
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
22297-
# freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a
22298-
# rank. Uses proprietary Google model to determine the keyword-based overlap
22299-
# between the query and the document. * `base_rank`: the default rank of the
22300-
# result
22335+
# freshness adjustment as a rank * `document_age`: The time in hours elapsed
22336+
# since the document was last updated, a floating-point number (e.g., 0.25 means
22337+
# 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
22338+
# proprietary Google model to determine the keyword-based overlap between the
22339+
# query and the document. * `base_rank`: the default rank of the result
2230122340
# Corresponds to the JSON property `rankingExpression`
2230222341
# @return [String]
2230322342
attr_accessor :ranking_expression

generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/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 DiscoveryengineV1beta
1818
# Version of the google-apis-discoveryengine_v1beta gem
19-
GEM_VERSION = "0.72.0"
19+
GEM_VERSION = "0.73.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_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
10901090
include Google::Apis::Core::JsonObjectSupport
10911091
end
10921092

1093+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
1094+
class Representation < Google::Apis::Core::JsonRepresentation; end
1095+
1096+
include Google::Apis::Core::JsonObjectSupport
1097+
end
1098+
10931099
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
10941100
class Representation < Google::Apis::Core::JsonRepresentation; end
10951101

@@ -6025,10 +6031,21 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
60256031
# @private
60266032
class Representation < Google::Apis::Core::JsonRepresentation
60276033
property :realtime_sync_secret, as: 'realtimeSyncSecret'
6034+
property :streaming_error, as: 'streamingError', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError::Representation
6035+
60286036
property :webhook_uri, as: 'webhookUri'
60296037
end
60306038
end
60316039

6040+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
6041+
# @private
6042+
class Representation < Google::Apis::Core::JsonRepresentation
6043+
property :error, as: 'error', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
6044+
6045+
property :streaming_error_reason, as: 'streamingErrorReason'
6046+
end
6047+
end
6048+
60326049
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
60336050
# @private
60346051
class Representation < Google::Apis::Core::JsonRepresentation

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2648,7 +2648,8 @@ def get_project_location_collection_data_store_session(name, include_answer_deta
26482648
# location`/collections/`collection`/dataStores/`data_store_id``
26492649
# @param [String] filter
26502650
# A filter to apply on the list results. The supported features are:
2651-
# user_pseudo_id, state. Example: "user_pseudo_id = some_id"
2651+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
2652+
# true"
26522653
# @param [String] order_by
26532654
# A comma-separated list of fields to order by, sorted in ascending order. Use "
26542655
# desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -4934,7 +4935,8 @@ def get_project_location_collection_engine_session(name, include_answer_details:
49344935
# location`/collections/`collection`/dataStores/`data_store_id``
49354936
# @param [String] filter
49364937
# A filter to apply on the list results. The supported features are:
4937-
# user_pseudo_id, state. Example: "user_pseudo_id = some_id"
4938+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
4939+
# true"
49384940
# @param [String] order_by
49394941
# A comma-separated list of fields to order by, sorted in ascending order. Use "
49404942
# desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -7146,7 +7148,8 @@ def get_project_location_data_store_session(name, include_answer_details: nil, f
71467148
# location`/collections/`collection`/dataStores/`data_store_id``
71477149
# @param [String] filter
71487150
# A filter to apply on the list results. The supported features are:
7149-
# user_pseudo_id, state. Example: "user_pseudo_id = some_id"
7151+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
7152+
# true"
71507153
# @param [String] order_by
71517154
# A comma-separated list of fields to order by, sorted in ascending order. Use "
71527155
# desc" after a field name for descending. Supported fields: * `update_time` * `

0 commit comments

Comments
 (0)