google-apis-discoveryengine_v1beta 0.72.0 → 0.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +48 -9
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +17 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +6 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e3b3e13504f8c185dd7174eba154c97120dab1653fc5405f7aa06e01f27dc58
|
4
|
+
data.tar.gz: dd59b29e4e2a1c5e7ecf850cd722c14c2f00bbb0864754807b905a2c21f8a315
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6e40c8baaeb3e32e7b74b1d8d601aa501a9c5bb8a8eb1a1294662123fea159886d22e0a05ca111050e16e67c08f6d664461242ef603cbbb6cd549f435274827
|
7
|
+
data.tar.gz: 1c1dcafcd856e54285fcb74369f4cafb84947fc5c7f7344b1d58d7f24df6697ad9d5b6801ffe8d6c92cb9b6cee487b143f8226cfeded4f1fff53cdba1a05b813
|
data/CHANGELOG.md
CHANGED
@@ -6862,6 +6862,11 @@ module Google
|
|
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 @@ module Google
|
|
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 @@ module Google
|
|
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.
|
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 @@ module Google
|
|
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 * `
|
10511
|
-
#
|
10512
|
-
#
|
10513
|
-
#
|
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 @@ module Google
|
|
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 * `
|
22298
|
-
#
|
22299
|
-
#
|
22300
|
-
#
|
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
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1beta
|
18
18
|
# Version of the google-apis-discoveryengine_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.73.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250706"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1090,6 +1090,12 @@ module Google
|
|
1090
1090
|
include Google::Apis::Core::JsonObjectSupport
|
1091
1091
|
end
|
1092
1092
|
|
1093
|
+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1095
|
+
|
1096
|
+
include Google::Apis::Core::JsonObjectSupport
|
1097
|
+
end
|
1098
|
+
|
1093
1099
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
|
1094
1100
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1095
1101
|
|
@@ -6025,10 +6031,21 @@ module Google
|
|
6025
6031
|
# @private
|
6026
6032
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6027
6033
|
property :realtime_sync_secret, as: 'realtimeSyncSecret'
|
6034
|
+
property :streaming_error, as: 'streamingError', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError::Representation
|
6035
|
+
|
6028
6036
|
property :webhook_uri, as: 'webhookUri'
|
6029
6037
|
end
|
6030
6038
|
end
|
6031
6039
|
|
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
|
+
|
6032
6049
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
|
6033
6050
|
# @private
|
6034
6051
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2648,7 +2648,8 @@ module Google
|
|
2648
2648
|
# location`/collections/`collection`/dataStores/`data_store_id``
|
2649
2649
|
# @param [String] filter
|
2650
2650
|
# A filter to apply on the list results. The supported features are:
|
2651
|
-
# user_pseudo_id, state.
|
2651
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
2652
|
+
# true"
|
2652
2653
|
# @param [String] order_by
|
2653
2654
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
2654
2655
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -4934,7 +4935,8 @@ module Google
|
|
4934
4935
|
# location`/collections/`collection`/dataStores/`data_store_id``
|
4935
4936
|
# @param [String] filter
|
4936
4937
|
# A filter to apply on the list results. The supported features are:
|
4937
|
-
# user_pseudo_id, state.
|
4938
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
4939
|
+
# true"
|
4938
4940
|
# @param [String] order_by
|
4939
4941
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
4940
4942
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -7146,7 +7148,8 @@ module Google
|
|
7146
7148
|
# location`/collections/`collection`/dataStores/`data_store_id``
|
7147
7149
|
# @param [String] filter
|
7148
7150
|
# A filter to apply on the list results. The supported features are:
|
7149
|
-
# user_pseudo_id, state.
|
7151
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
7152
|
+
# true"
|
7150
7153
|
# @param [String] order_by
|
7151
7154
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
7152
7155
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.73.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.73.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|