@@ -14091,6 +14091,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
14091
14091
# @return [String]
14092
14092
attr_accessor :realtime_sync_secret
14093
14093
14094
+ # Streaming error details.
14095
+ # Corresponds to the JSON property `streamingError`
14096
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError]
14097
+ attr_accessor :streaming_error
14098
+
14094
14099
# Optional. Webhook url for the connector to specify additional params for
14095
14100
# realtime sync.
14096
14101
# Corresponds to the JSON property `webhookUri`
@@ -14104,10 +14109,41 @@ def initialize(**args)
14104
14109
# Update properties of this object
14105
14110
def update!(**args)
14106
14111
@realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
14112
+ @streaming_error = args[:streaming_error] if args.key?(:streaming_error)
14107
14113
@webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
14108
14114
end
14109
14115
end
14110
14116
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
+
14111
14147
# Represents an entity in the data source. For example, the `Account` object in
14112
14148
# Salesforce.
14113
14149
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
@@ -16535,7 +16571,8 @@ class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
16535
16571
include Google::Apis::Core::Hashable
16536
16572
16537
16573
# 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"
16539
16576
# Corresponds to the JSON property `filter`
16540
16577
# @return [String]
16541
16578
attr_accessor :filter
@@ -17736,10 +17773,11 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest
17736
17773
# relevance and attractiveness of a search result from a user's perspective. A
17737
17774
# higher pCTR suggests that the result is more likely to satisfy the user's
17738
17775
# 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
17743
17781
# Corresponds to the JSON property `rankingExpression`
17744
17782
# @return [String]
17745
17783
attr_accessor :ranking_expression
@@ -23098,10 +23136,11 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
23098
23136
# relevance and attractiveness of a search result from a user's perspective. A
23099
23137
# higher pCTR suggests that the result is more likely to satisfy the user's
23100
23138
# 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
23105
23144
# Corresponds to the JSON property `rankingExpression`
23106
23145
# @return [String]
23107
23146
attr_accessor :ranking_expression
0 commit comments