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