@@ -6862,6 +6862,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
6862
6862
# @return [String]
6863
6863
attr_accessor :realtime_sync_secret
6864
6864
6865
+ # Streaming error details.
6866
+ # Corresponds to the JSON property `streamingError`
6867
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError]
6868
+ attr_accessor :streaming_error
6869
+
6865
6870
# Optional. Webhook url for the connector to specify additional params for
6866
6871
# realtime sync.
6867
6872
# Corresponds to the JSON property `webhookUri`
@@ -6875,10 +6880,41 @@ def initialize(**args)
6875
6880
# Update properties of this object
6876
6881
def update!(**args)
6877
6882
@realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
6883
+ @streaming_error = args[:streaming_error] if args.key?(:streaming_error)
6878
6884
@webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
6879
6885
end
6880
6886
end
6881
6887
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
+
6882
6918
# Represents an entity in the data source. For example, the `Account` object in
6883
6919
# Salesforce.
6884
6920
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
@@ -9306,7 +9342,8 @@ class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
9306
9342
include Google::Apis::Core::Hashable
9307
9343
9308
9344
# 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"
9310
9347
# Corresponds to the JSON property `filter`
9311
9348
# @return [String]
9312
9349
attr_accessor :filter
@@ -10507,10 +10544,11 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest
10507
10544
# relevance and attractiveness of a search result from a user's perspective. A
10508
10545
# higher pCTR suggests that the result is more likely to satisfy the user's
10509
10546
# 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
10514
10552
# Corresponds to the JSON property `rankingExpression`
10515
10553
# @return [String]
10516
10554
attr_accessor :ranking_expression
@@ -22294,10 +22332,11 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
22294
22332
# relevance and attractiveness of a search result from a user's perspective. A
22295
22333
# higher pCTR suggests that the result is more likely to satisfy the user's
22296
22334
# 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
22301
22340
# Corresponds to the JSON property `rankingExpression`
22302
22341
# @return [String]
22303
22342
attr_accessor :ranking_expression
0 commit comments