google-apis-discoveryengine_v1beta 0.71.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 +8 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +100 -18
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +34 -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
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1beta
|
2
2
|
|
3
|
+
### v0.73.0 (2025-07-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250706
|
6
|
+
|
7
|
+
### v0.72.0 (2025-07-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250701
|
10
|
+
|
3
11
|
### v0.71.0 (2025-06-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250619
|
@@ -5877,7 +5877,7 @@ module Google
|
|
5877
5877
|
class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun
|
5878
5878
|
include Google::Apis::Core::Hashable
|
5879
5879
|
|
5880
|
-
# The number of documents deleted.
|
5880
|
+
# Optional. The number of documents deleted.
|
5881
5881
|
# Corresponds to the JSON property `deletedRecordCount`
|
5882
5882
|
# @return [Fixnum]
|
5883
5883
|
attr_accessor :deleted_record_count
|
@@ -5887,8 +5887,7 @@ module Google
|
|
5887
5887
|
# @return [String]
|
5888
5888
|
attr_accessor :entity_name
|
5889
5889
|
|
5890
|
-
# The total number of documents failed at sync at
|
5891
|
-
# indexing, etc).
|
5890
|
+
# Optional. The total number of documents failed at sync at indexing stage.
|
5892
5891
|
# Corresponds to the JSON property `errorRecordCount`
|
5893
5892
|
# @return [Fixnum]
|
5894
5893
|
attr_accessor :error_record_count
|
@@ -5899,13 +5898,13 @@ module Google
|
|
5899
5898
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus>]
|
5900
5899
|
attr_accessor :errors
|
5901
5900
|
|
5902
|
-
# The number of documents extracted from connector source, ready to be
|
5903
|
-
# to VAIS.
|
5901
|
+
# Optional. The number of documents extracted from connector source, ready to be
|
5902
|
+
# ingested to VAIS.
|
5904
5903
|
# Corresponds to the JSON property `extractedRecordCount`
|
5905
5904
|
# @return [Fixnum]
|
5906
5905
|
attr_accessor :extracted_record_count
|
5907
5906
|
|
5908
|
-
# The number of documents indexed.
|
5907
|
+
# Optional. The number of documents indexed.
|
5909
5908
|
# Corresponds to the JSON property `indexedRecordCount`
|
5910
5909
|
# @return [Fixnum]
|
5911
5910
|
attr_accessor :indexed_record_count
|
@@ -5915,13 +5914,13 @@ module Google
|
|
5915
5914
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress]
|
5916
5915
|
attr_accessor :progress
|
5917
5916
|
|
5918
|
-
# The number of documents scheduled to be crawled/extracted from
|
5919
|
-
# source. This only applies to third party connectors.
|
5917
|
+
# Optional. The number of documents scheduled to be crawled/extracted from
|
5918
|
+
# connector source. This only applies to third party connectors.
|
5920
5919
|
# Corresponds to the JSON property `scheduledRecordCount`
|
5921
5920
|
# @return [Fixnum]
|
5922
5921
|
attr_accessor :scheduled_record_count
|
5923
5922
|
|
5924
|
-
# The number of requests sent to 3p API.
|
5923
|
+
# Optional. The number of requests sent to 3p API.
|
5925
5924
|
# Corresponds to the JSON property `sourceApiRequestCount`
|
5926
5925
|
# @return [Fixnum]
|
5927
5926
|
attr_accessor :source_api_request_count
|
@@ -6834,6 +6833,13 @@ module Google
|
|
6834
6833
|
# @return [Hash<String,Object>]
|
6835
6834
|
attr_accessor :auth_params
|
6836
6835
|
|
6836
|
+
# Tenant information for a connector source. This includes some of the same
|
6837
|
+
# information stored in the Credential message, but is limited to only what is
|
6838
|
+
# needed to provide a list of accessible tenants to the user.
|
6839
|
+
# Corresponds to the JSON property `tenant`
|
6840
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTenant]
|
6841
|
+
attr_accessor :tenant
|
6842
|
+
|
6837
6843
|
def initialize(**args)
|
6838
6844
|
update!(**args)
|
6839
6845
|
end
|
@@ -6842,6 +6848,7 @@ module Google
|
|
6842
6848
|
def update!(**args)
|
6843
6849
|
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
6844
6850
|
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
6851
|
+
@tenant = args[:tenant] if args.key?(:tenant)
|
6845
6852
|
end
|
6846
6853
|
end
|
6847
6854
|
|
@@ -6855,6 +6862,11 @@ module Google
|
|
6855
6862
|
# @return [String]
|
6856
6863
|
attr_accessor :realtime_sync_secret
|
6857
6864
|
|
6865
|
+
# Streaming error details.
|
6866
|
+
# Corresponds to the JSON property `streamingError`
|
6867
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError]
|
6868
|
+
attr_accessor :streaming_error
|
6869
|
+
|
6858
6870
|
# Optional. Webhook url for the connector to specify additional params for
|
6859
6871
|
# realtime sync.
|
6860
6872
|
# Corresponds to the JSON property `webhookUri`
|
@@ -6868,10 +6880,41 @@ module Google
|
|
6868
6880
|
# Update properties of this object
|
6869
6881
|
def update!(**args)
|
6870
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)
|
6871
6884
|
@webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
|
6872
6885
|
end
|
6873
6886
|
end
|
6874
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
|
+
|
6875
6918
|
# Represents an entity in the data source. For example, the `Account` object in
|
6876
6919
|
# Salesforce.
|
6877
6920
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
|
@@ -9299,7 +9342,8 @@ module Google
|
|
9299
9342
|
include Google::Apis::Core::Hashable
|
9300
9343
|
|
9301
9344
|
# A filter to apply on the list results. The supported features are:
|
9302
|
-
# user_pseudo_id, state.
|
9345
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
9346
|
+
# true"
|
9303
9347
|
# Corresponds to the JSON property `filter`
|
9304
9348
|
# @return [String]
|
9305
9349
|
attr_accessor :filter
|
@@ -10500,10 +10544,11 @@ module Google
|
|
10500
10544
|
# relevance and attractiveness of a search result from a user's perspective. A
|
10501
10545
|
# higher pCTR suggests that the result is more likely to satisfy the user's
|
10502
10546
|
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
|
10503
|
-
# freshness adjustment as a rank * `
|
10504
|
-
#
|
10505
|
-
#
|
10506
|
-
#
|
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
|
10507
10552
|
# Corresponds to the JSON property `rankingExpression`
|
10508
10553
|
# @return [String]
|
10509
10554
|
attr_accessor :ranking_expression
|
@@ -12070,6 +12115,42 @@ module Google
|
|
12070
12115
|
end
|
12071
12116
|
end
|
12072
12117
|
|
12118
|
+
# Tenant information for a connector source. This includes some of the same
|
12119
|
+
# information stored in the Credential message, but is limited to only what is
|
12120
|
+
# needed to provide a list of accessible tenants to the user.
|
12121
|
+
class GoogleCloudDiscoveryengineV1alphaTenant
|
12122
|
+
include Google::Apis::Core::Hashable
|
12123
|
+
|
12124
|
+
# Optional display name for the tenant, e.g. "My Slack Team".
|
12125
|
+
# Corresponds to the JSON property `displayName`
|
12126
|
+
# @return [String]
|
12127
|
+
attr_accessor :display_name
|
12128
|
+
|
12129
|
+
# The tenant's instance ID. Examples: Jira ("8594f221-9797-5f78-1fa4-
|
12130
|
+
# 485e198d7cd0"), Slack ("T123456").
|
12131
|
+
# Corresponds to the JSON property `id`
|
12132
|
+
# @return [String]
|
12133
|
+
attr_accessor :id
|
12134
|
+
|
12135
|
+
# The URI of the tenant, if applicable. For example, the URI of a Jira instance
|
12136
|
+
# is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a
|
12137
|
+
# URI.
|
12138
|
+
# Corresponds to the JSON property `uri`
|
12139
|
+
# @return [String]
|
12140
|
+
attr_accessor :uri
|
12141
|
+
|
12142
|
+
def initialize(**args)
|
12143
|
+
update!(**args)
|
12144
|
+
end
|
12145
|
+
|
12146
|
+
# Update properties of this object
|
12147
|
+
def update!(**args)
|
12148
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
12149
|
+
@id = args[:id] if args.key?(:id)
|
12150
|
+
@uri = args[:uri] if args.key?(:uri)
|
12151
|
+
end
|
12152
|
+
end
|
12153
|
+
|
12073
12154
|
# Metadata related to the progress of the TrainCustomModel operation. This is
|
12074
12155
|
# returned by the google.longrunning.Operation.metadata field.
|
12075
12156
|
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata
|
@@ -22251,10 +22332,11 @@ module Google
|
|
22251
22332
|
# relevance and attractiveness of a search result from a user's perspective. A
|
22252
22333
|
# higher pCTR suggests that the result is more likely to satisfy the user's
|
22253
22334
|
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
|
22254
|
-
# freshness adjustment as a rank * `
|
22255
|
-
#
|
22256
|
-
#
|
22257
|
-
#
|
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
|
22258
22340
|
# Corresponds to the JSON property `rankingExpression`
|
22259
22341
|
# @return [String]
|
22260
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
|
|
@@ -1900,6 +1906,12 @@ module Google
|
|
1900
1906
|
include Google::Apis::Core::JsonObjectSupport
|
1901
1907
|
end
|
1902
1908
|
|
1909
|
+
class GoogleCloudDiscoveryengineV1alphaTenant
|
1910
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1911
|
+
|
1912
|
+
include Google::Apis::Core::JsonObjectSupport
|
1913
|
+
end
|
1914
|
+
|
1903
1915
|
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata
|
1904
1916
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1905
1917
|
|
@@ -6010,6 +6022,8 @@ module Google
|
|
6010
6022
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6011
6023
|
hash :additional_params, as: 'additionalParams'
|
6012
6024
|
hash :auth_params, as: 'authParams'
|
6025
|
+
property :tenant, as: 'tenant', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTenant, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTenant::Representation
|
6026
|
+
|
6013
6027
|
end
|
6014
6028
|
end
|
6015
6029
|
|
@@ -6017,10 +6031,21 @@ module Google
|
|
6017
6031
|
# @private
|
6018
6032
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6019
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
|
+
|
6020
6036
|
property :webhook_uri, as: 'webhookUri'
|
6021
6037
|
end
|
6022
6038
|
end
|
6023
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
|
+
|
6024
6049
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
|
6025
6050
|
# @private
|
6026
6051
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7383,6 +7408,15 @@ module Google
|
|
7383
7408
|
end
|
7384
7409
|
end
|
7385
7410
|
|
7411
|
+
class GoogleCloudDiscoveryengineV1alphaTenant
|
7412
|
+
# @private
|
7413
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7414
|
+
property :display_name, as: 'displayName'
|
7415
|
+
property :id, as: 'id'
|
7416
|
+
property :uri, as: 'uri'
|
7417
|
+
end
|
7418
|
+
end
|
7419
|
+
|
7386
7420
|
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata
|
7387
7421
|
# @private
|
7388
7422
|
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:
|