@@ -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
0 commit comments