google-apis-aiplatform_v1beta1 0.45.0 → 0.47.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/aiplatform_v1beta1/classes.rb +278 -14
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +109 -1
- data/lib/google/apis/aiplatform_v1beta1/service.rb +185 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21bf8dcfdcd72560b5429c5b463f9949e6839337cf36bbd3a0e4fd6b15fcda72
|
4
|
+
data.tar.gz: c5dc2b04cb2fba116c414c0b65ba68789327e34f7a3d6e085b5ed741ed160785
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a34e69621d92be2102d7a4506a94923cbe926b55b93c7405a10c45ca960fc9b77e62d72118631ca4eb9687084b7cdc903c4c966c2463297d13dfdcd776ebf146
|
7
|
+
data.tar.gz: a3d2c2f34476b1e46c42d13f022ead2a95432dbabd2d028c53c285ce2ee095015810fe81f50d6c2de44d0fa65fa1b23802dee52ecf774568218376ccec4288d9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-aiplatform_v1beta1
|
2
2
|
|
3
|
+
### v0.47.0 (2025-05-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250519
|
6
|
+
|
7
|
+
### v0.46.0 (2025-05-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250502
|
10
|
+
|
3
11
|
### v0.45.0 (2025-05-11)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250501
|
@@ -934,6 +934,11 @@ module Google
|
|
934
934
|
# @return [String]
|
935
935
|
attr_accessor :api_key_secret_version
|
936
936
|
|
937
|
+
# The API key string. Either this or `api_key_secret_version` must be set.
|
938
|
+
# Corresponds to the JSON property `apiKeyString`
|
939
|
+
# @return [String]
|
940
|
+
attr_accessor :api_key_string
|
941
|
+
|
937
942
|
def initialize(**args)
|
938
943
|
update!(**args)
|
939
944
|
end
|
@@ -941,6 +946,7 @@ module Google
|
|
941
946
|
# Update properties of this object
|
942
947
|
def update!(**args)
|
943
948
|
@api_key_secret_version = args[:api_key_secret_version] if args.key?(:api_key_secret_version)
|
949
|
+
@api_key_string = args[:api_key_string] if args.key?(:api_key_string)
|
944
950
|
end
|
945
951
|
end
|
946
952
|
|
@@ -3166,6 +3172,12 @@ module Google
|
|
3166
3172
|
# @return [String]
|
3167
3173
|
attr_accessor :display_name
|
3168
3174
|
|
3175
|
+
# Represents a customer-managed encryption key spec that can be applied to a top-
|
3176
|
+
# level resource.
|
3177
|
+
# Corresponds to the JSON property `encryptionSpec`
|
3178
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
3179
|
+
attr_accessor :encryption_spec
|
3180
|
+
|
3169
3181
|
# Timestamp of when this resource is considered expired. This is *always*
|
3170
3182
|
# provided on output, regardless of what was sent on input.
|
3171
3183
|
# Corresponds to the JSON property `expireTime`
|
@@ -3230,6 +3242,7 @@ module Google
|
|
3230
3242
|
@contents = args[:contents] if args.key?(:contents)
|
3231
3243
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3232
3244
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3245
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
3233
3246
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
3234
3247
|
@model = args[:model] if args.key?(:model)
|
3235
3248
|
@name = args[:name] if args.key?(:name)
|
@@ -7370,6 +7383,11 @@ module Google
|
|
7370
7383
|
class GoogleCloudAiplatformV1beta1DeployedModelRef
|
7371
7384
|
include Google::Apis::Core::Hashable
|
7372
7385
|
|
7386
|
+
# Immutable. The ID of the Checkpoint deployed in the DeployedModel.
|
7387
|
+
# Corresponds to the JSON property `checkpointId`
|
7388
|
+
# @return [String]
|
7389
|
+
attr_accessor :checkpoint_id
|
7390
|
+
|
7373
7391
|
# Immutable. An ID of a DeployedModel in the above Endpoint.
|
7374
7392
|
# Corresponds to the JSON property `deployedModelId`
|
7375
7393
|
# @return [String]
|
@@ -7386,6 +7404,7 @@ module Google
|
|
7386
7404
|
|
7387
7405
|
# Update properties of this object
|
7388
7406
|
def update!(**args)
|
7407
|
+
@checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
|
7389
7408
|
@deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id)
|
7390
7409
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
7391
7410
|
end
|
@@ -9115,7 +9134,7 @@ module Google
|
|
9115
9134
|
end
|
9116
9135
|
end
|
9117
9136
|
|
9118
|
-
#
|
9137
|
+
#
|
9119
9138
|
class GoogleCloudAiplatformV1beta1Example
|
9120
9139
|
include Google::Apis::Core::Hashable
|
9121
9140
|
|
@@ -9135,12 +9154,6 @@ module Google
|
|
9135
9154
|
# @return [String]
|
9136
9155
|
attr_accessor :example_id
|
9137
9156
|
|
9138
|
-
# Identifier. The resource name of the Example. Format: `projects/`project`/
|
9139
|
-
# locations/`location`/reasoningEngines/`reasoning_engine`/examples/`example``
|
9140
|
-
# Corresponds to the JSON property `name`
|
9141
|
-
# @return [String]
|
9142
|
-
attr_accessor :name
|
9143
|
-
|
9144
9157
|
# A ContentsExample to be used with GenerateContent alongside information
|
9145
9158
|
# required for storage and retrieval with Example Store.
|
9146
9159
|
# Corresponds to the JSON property `storedContentsExample`
|
@@ -9156,7 +9169,6 @@ module Google
|
|
9156
9169
|
@create_time = args[:create_time] if args.key?(:create_time)
|
9157
9170
|
@display_name = args[:display_name] if args.key?(:display_name)
|
9158
9171
|
@example_id = args[:example_id] if args.key?(:example_id)
|
9159
|
-
@name = args[:name] if args.key?(:name)
|
9160
9172
|
@stored_contents_example = args[:stored_contents_example] if args.key?(:stored_contents_example)
|
9161
9173
|
end
|
9162
9174
|
end
|
@@ -10978,6 +10990,104 @@ module Google
|
|
10978
10990
|
end
|
10979
10991
|
end
|
10980
10992
|
|
10993
|
+
# Retrieve from data source powered by external API for grounding. The external
|
10994
|
+
# API is not owned by Google, but need to follow the pre-defined API spec.
|
10995
|
+
class GoogleCloudAiplatformV1beta1ExternalApi
|
10996
|
+
include Google::Apis::Core::Hashable
|
10997
|
+
|
10998
|
+
# The generic reusable api auth config. Deprecated. Please use AuthConfig (
|
10999
|
+
# google/cloud/aiplatform/master/auth.proto) instead.
|
11000
|
+
# Corresponds to the JSON property `apiAuth`
|
11001
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuth]
|
11002
|
+
attr_accessor :api_auth
|
11003
|
+
|
11004
|
+
# The API spec that the external API implements.
|
11005
|
+
# Corresponds to the JSON property `apiSpec`
|
11006
|
+
# @return [String]
|
11007
|
+
attr_accessor :api_spec
|
11008
|
+
|
11009
|
+
# Auth configuration to run the extension.
|
11010
|
+
# Corresponds to the JSON property `authConfig`
|
11011
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig]
|
11012
|
+
attr_accessor :auth_config
|
11013
|
+
|
11014
|
+
# The search parameters to use for the ELASTIC_SEARCH spec.
|
11015
|
+
# Corresponds to the JSON property `elasticSearchParams`
|
11016
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams]
|
11017
|
+
attr_accessor :elastic_search_params
|
11018
|
+
|
11019
|
+
# The endpoint of the external API. The system will call the API at this
|
11020
|
+
# endpoint to retrieve the data for grounding. Example: https://acme.com:443/
|
11021
|
+
# search
|
11022
|
+
# Corresponds to the JSON property `endpoint`
|
11023
|
+
# @return [String]
|
11024
|
+
attr_accessor :endpoint
|
11025
|
+
|
11026
|
+
# The search parameters to use for SIMPLE_SEARCH spec.
|
11027
|
+
# Corresponds to the JSON property `simpleSearchParams`
|
11028
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams]
|
11029
|
+
attr_accessor :simple_search_params
|
11030
|
+
|
11031
|
+
def initialize(**args)
|
11032
|
+
update!(**args)
|
11033
|
+
end
|
11034
|
+
|
11035
|
+
# Update properties of this object
|
11036
|
+
def update!(**args)
|
11037
|
+
@api_auth = args[:api_auth] if args.key?(:api_auth)
|
11038
|
+
@api_spec = args[:api_spec] if args.key?(:api_spec)
|
11039
|
+
@auth_config = args[:auth_config] if args.key?(:auth_config)
|
11040
|
+
@elastic_search_params = args[:elastic_search_params] if args.key?(:elastic_search_params)
|
11041
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
11042
|
+
@simple_search_params = args[:simple_search_params] if args.key?(:simple_search_params)
|
11043
|
+
end
|
11044
|
+
end
|
11045
|
+
|
11046
|
+
# The search parameters to use for the ELASTIC_SEARCH spec.
|
11047
|
+
class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams
|
11048
|
+
include Google::Apis::Core::Hashable
|
11049
|
+
|
11050
|
+
# The ElasticSearch index to use.
|
11051
|
+
# Corresponds to the JSON property `index`
|
11052
|
+
# @return [String]
|
11053
|
+
attr_accessor :index
|
11054
|
+
|
11055
|
+
# Optional. Number of hits (chunks) to request. When specified, it is passed to
|
11056
|
+
# Elasticsearch as the `num_hits` param.
|
11057
|
+
# Corresponds to the JSON property `numHits`
|
11058
|
+
# @return [Fixnum]
|
11059
|
+
attr_accessor :num_hits
|
11060
|
+
|
11061
|
+
# The ElasticSearch search template to use.
|
11062
|
+
# Corresponds to the JSON property `searchTemplate`
|
11063
|
+
# @return [String]
|
11064
|
+
attr_accessor :search_template
|
11065
|
+
|
11066
|
+
def initialize(**args)
|
11067
|
+
update!(**args)
|
11068
|
+
end
|
11069
|
+
|
11070
|
+
# Update properties of this object
|
11071
|
+
def update!(**args)
|
11072
|
+
@index = args[:index] if args.key?(:index)
|
11073
|
+
@num_hits = args[:num_hits] if args.key?(:num_hits)
|
11074
|
+
@search_template = args[:search_template] if args.key?(:search_template)
|
11075
|
+
end
|
11076
|
+
end
|
11077
|
+
|
11078
|
+
# The search parameters to use for SIMPLE_SEARCH spec.
|
11079
|
+
class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams
|
11080
|
+
include Google::Apis::Core::Hashable
|
11081
|
+
|
11082
|
+
def initialize(**args)
|
11083
|
+
update!(**args)
|
11084
|
+
end
|
11085
|
+
|
11086
|
+
# Update properties of this object
|
11087
|
+
def update!(**args)
|
11088
|
+
end
|
11089
|
+
end
|
11090
|
+
|
10981
11091
|
# The fact used in grounding.
|
10982
11092
|
class GoogleCloudAiplatformV1beta1Fact
|
10983
11093
|
include Google::Apis::Core::Hashable
|
@@ -11877,7 +11987,7 @@ module Google
|
|
11877
11987
|
|
11878
11988
|
# Optional. Drift threshold. If calculated difference with baseline data larger
|
11879
11989
|
# than threshold, it will be considered as the feature has drift. If not present,
|
11880
|
-
# the threshold will be default to 0.3.
|
11990
|
+
# the threshold will be default to 0.3. Must be in range [0, 1).
|
11881
11991
|
# Corresponds to the JSON property `driftThreshold`
|
11882
11992
|
# @return [Float]
|
11883
11993
|
attr_accessor :drift_threshold
|
@@ -15034,6 +15144,13 @@ module Google
|
|
15034
15144
|
class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
|
15035
15145
|
include Google::Apis::Core::Hashable
|
15036
15146
|
|
15147
|
+
# Optional. Indicates whether to include thoughts in the response. If true,
|
15148
|
+
# thoughts are returned only when available.
|
15149
|
+
# Corresponds to the JSON property `includeThoughts`
|
15150
|
+
# @return [Boolean]
|
15151
|
+
attr_accessor :include_thoughts
|
15152
|
+
alias_method :include_thoughts?, :include_thoughts
|
15153
|
+
|
15037
15154
|
# Optional. Indicates the thinking budget in tokens. This is only applied when
|
15038
15155
|
# enable_thinking is true.
|
15039
15156
|
# Corresponds to the JSON property `thinkingBudget`
|
@@ -15046,6 +15163,7 @@ module Google
|
|
15046
15163
|
|
15047
15164
|
# Update properties of this object
|
15048
15165
|
def update!(**args)
|
15166
|
+
@include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts)
|
15049
15167
|
@thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
|
15050
15168
|
end
|
15051
15169
|
end
|
@@ -16038,6 +16156,16 @@ module Google
|
|
16038
16156
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileTransformationConfig]
|
16039
16157
|
attr_accessor :rag_file_transformation_config
|
16040
16158
|
|
16159
|
+
# Rebuilds the ANN index to optimize for recall on the imported data. Only
|
16160
|
+
# applicable for RagCorpora running on RagManagedDb with `retrieval_strategy`
|
16161
|
+
# set to `ANN`. The rebuild will be performed using the existing ANN config set
|
16162
|
+
# on the RagCorpus. To change the ANN config, please use the UpdateRagCorpus API.
|
16163
|
+
# Default is false, i.e., index is not rebuilt.
|
16164
|
+
# Corresponds to the JSON property `rebuildAnnIndex`
|
16165
|
+
# @return [Boolean]
|
16166
|
+
attr_accessor :rebuild_ann_index
|
16167
|
+
alias_method :rebuild_ann_index?, :rebuild_ann_index
|
16168
|
+
|
16041
16169
|
# The SharePointSources to pass to ImportRagFiles.
|
16042
16170
|
# Corresponds to the JSON property `sharePointSources`
|
16043
16171
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SharePointSources]
|
@@ -16066,6 +16194,7 @@ module Google
|
|
16066
16194
|
@rag_file_chunking_config = args[:rag_file_chunking_config] if args.key?(:rag_file_chunking_config)
|
16067
16195
|
@rag_file_parsing_config = args[:rag_file_parsing_config] if args.key?(:rag_file_parsing_config)
|
16068
16196
|
@rag_file_transformation_config = args[:rag_file_transformation_config] if args.key?(:rag_file_transformation_config)
|
16197
|
+
@rebuild_ann_index = args[:rebuild_ann_index] if args.key?(:rebuild_ann_index)
|
16069
16198
|
@share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
|
16070
16199
|
@slack_source = args[:slack_source] if args.key?(:slack_source)
|
16071
16200
|
end
|
@@ -20914,6 +21043,12 @@ module Google
|
|
20914
21043
|
# @return [String]
|
20915
21044
|
attr_accessor :display_name
|
20916
21045
|
|
21046
|
+
# Represents a customer-managed encryption key spec that can be applied to a top-
|
21047
|
+
# level resource.
|
21048
|
+
# Corresponds to the JSON property `encryptionSpec`
|
21049
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
21050
|
+
attr_accessor :encryption_spec
|
21051
|
+
|
20917
21052
|
# Specification of Model explanation.
|
20918
21053
|
# Corresponds to the JSON property `explanationSpec`
|
20919
21054
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpec]
|
@@ -20983,6 +21118,7 @@ module Google
|
|
20983
21118
|
def update!(**args)
|
20984
21119
|
@create_time = args[:create_time] if args.key?(:create_time)
|
20985
21120
|
@display_name = args[:display_name] if args.key?(:display_name)
|
21121
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
20986
21122
|
@explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
|
20987
21123
|
@model_monitoring_schema = args[:model_monitoring_schema] if args.key?(:model_monitoring_schema)
|
20988
21124
|
@model_monitoring_target = args[:model_monitoring_target] if args.key?(:model_monitoring_target)
|
@@ -28341,6 +28477,12 @@ module Google
|
|
28341
28477
|
# @return [String]
|
28342
28478
|
attr_accessor :display_name
|
28343
28479
|
|
28480
|
+
# Represents a customer-managed encryption key spec that can be applied to a top-
|
28481
|
+
# level resource.
|
28482
|
+
# Corresponds to the JSON property `encryptionSpec`
|
28483
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
28484
|
+
attr_accessor :encryption_spec
|
28485
|
+
|
28344
28486
|
# Output only. The resource name of the RagCorpus.
|
28345
28487
|
# Corresponds to the JSON property `name`
|
28346
28488
|
# @return [String]
|
@@ -28386,6 +28528,7 @@ module Google
|
|
28386
28528
|
@create_time = args[:create_time] if args.key?(:create_time)
|
28387
28529
|
@description = args[:description] if args.key?(:description)
|
28388
28530
|
@display_name = args[:display_name] if args.key?(:display_name)
|
28531
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
28389
28532
|
@name = args[:name] if args.key?(:name)
|
28390
28533
|
@rag_embedding_model_config = args[:rag_embedding_model_config] if args.key?(:rag_embedding_model_config)
|
28391
28534
|
@rag_files_count = args[:rag_files_count] if args.key?(:rag_files_count)
|
@@ -28731,7 +28874,7 @@ module Google
|
|
28731
28874
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser]
|
28732
28875
|
attr_accessor :layout_parser
|
28733
28876
|
|
28734
|
-
# Specifies the
|
28877
|
+
# Specifies the LLM parsing for RagFiles.
|
28735
28878
|
# Corresponds to the JSON property `llmParser`
|
28736
28879
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser]
|
28737
28880
|
attr_accessor :llm_parser
|
@@ -28818,7 +28961,7 @@ module Google
|
|
28818
28961
|
end
|
28819
28962
|
end
|
28820
28963
|
|
28821
|
-
# Specifies the
|
28964
|
+
# Specifies the LLM parsing for RagFiles.
|
28822
28965
|
class GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser
|
28823
28966
|
include Google::Apis::Core::Hashable
|
28824
28967
|
|
@@ -29239,6 +29382,67 @@ module Google
|
|
29239
29382
|
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb
|
29240
29383
|
include Google::Apis::Core::Hashable
|
29241
29384
|
|
29385
|
+
# Config for ANN search. RagManagedDb uses a tree-based structure to partition
|
29386
|
+
# data and facilitate faster searches. As a tradeoff, it requires longer
|
29387
|
+
# indexing time and manual triggering of index rebuild via the ImportRagFiles
|
29388
|
+
# and UpdateRagCorpus API.
|
29389
|
+
# Corresponds to the JSON property `ann`
|
29390
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbAnn]
|
29391
|
+
attr_accessor :ann
|
29392
|
+
|
29393
|
+
# Config for KNN search.
|
29394
|
+
# Corresponds to the JSON property `knn`
|
29395
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKnn]
|
29396
|
+
attr_accessor :knn
|
29397
|
+
|
29398
|
+
def initialize(**args)
|
29399
|
+
update!(**args)
|
29400
|
+
end
|
29401
|
+
|
29402
|
+
# Update properties of this object
|
29403
|
+
def update!(**args)
|
29404
|
+
@ann = args[:ann] if args.key?(:ann)
|
29405
|
+
@knn = args[:knn] if args.key?(:knn)
|
29406
|
+
end
|
29407
|
+
end
|
29408
|
+
|
29409
|
+
# Config for ANN search. RagManagedDb uses a tree-based structure to partition
|
29410
|
+
# data and facilitate faster searches. As a tradeoff, it requires longer
|
29411
|
+
# indexing time and manual triggering of index rebuild via the ImportRagFiles
|
29412
|
+
# and UpdateRagCorpus API.
|
29413
|
+
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbAnn
|
29414
|
+
include Google::Apis::Core::Hashable
|
29415
|
+
|
29416
|
+
# Number of leaf nodes in the tree-based structure. Each leaf node contains
|
29417
|
+
# groups of closely related vectors along with their corresponding centroid.
|
29418
|
+
# Recommended value is 10 * sqrt(num of RagFiles in your RagCorpus). Default
|
29419
|
+
# value is 500.
|
29420
|
+
# Corresponds to the JSON property `leafCount`
|
29421
|
+
# @return [Fixnum]
|
29422
|
+
attr_accessor :leaf_count
|
29423
|
+
|
29424
|
+
# The depth of the tree-based structure. Only depth values of 2 and 3 are
|
29425
|
+
# supported. Recommended value is 2 if you have if you have O(10K) files in the
|
29426
|
+
# RagCorpus and set this to 3 if more than that. Default value is 2.
|
29427
|
+
# Corresponds to the JSON property `treeDepth`
|
29428
|
+
# @return [Fixnum]
|
29429
|
+
attr_accessor :tree_depth
|
29430
|
+
|
29431
|
+
def initialize(**args)
|
29432
|
+
update!(**args)
|
29433
|
+
end
|
29434
|
+
|
29435
|
+
# Update properties of this object
|
29436
|
+
def update!(**args)
|
29437
|
+
@leaf_count = args[:leaf_count] if args.key?(:leaf_count)
|
29438
|
+
@tree_depth = args[:tree_depth] if args.key?(:tree_depth)
|
29439
|
+
end
|
29440
|
+
end
|
29441
|
+
|
29442
|
+
# Config for KNN search.
|
29443
|
+
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKnn
|
29444
|
+
include Google::Apis::Core::Hashable
|
29445
|
+
|
29242
29446
|
def initialize(**args)
|
29243
29447
|
update!(**args)
|
29244
29448
|
end
|
@@ -29823,7 +30027,8 @@ module Google
|
|
29823
30027
|
# @return [String]
|
29824
30028
|
attr_accessor :etag
|
29825
30029
|
|
29826
|
-
# Identifier. The resource name of the ReasoningEngine.
|
30030
|
+
# Identifier. The resource name of the ReasoningEngine. Format: `projects/`
|
30031
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
29827
30032
|
# Corresponds to the JSON property `name`
|
29828
30033
|
# @return [String]
|
29829
30034
|
attr_accessor :name
|
@@ -30531,6 +30736,12 @@ module Google
|
|
30531
30736
|
attr_accessor :disable_attribution
|
30532
30737
|
alias_method :disable_attribution?, :disable_attribution
|
30533
30738
|
|
30739
|
+
# Retrieve from data source powered by external API for grounding. The external
|
30740
|
+
# API is not owned by Google, but need to follow the pre-defined API spec.
|
30741
|
+
# Corresponds to the JSON property `externalApi`
|
30742
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExternalApi]
|
30743
|
+
attr_accessor :external_api
|
30744
|
+
|
30534
30745
|
# Retrieve from Vertex AI Search datastore or engine for grounding. datastore
|
30535
30746
|
# and engine are mutually exclusive. See https://cloud.google.com/products/agent-
|
30536
30747
|
# builder
|
@@ -30550,6 +30761,7 @@ module Google
|
|
30550
30761
|
# Update properties of this object
|
30551
30762
|
def update!(**args)
|
30552
30763
|
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
30764
|
+
@external_api = args[:external_api] if args.key?(:external_api)
|
30553
30765
|
@vertex_ai_search = args[:vertex_ai_search] if args.key?(:vertex_ai_search)
|
30554
30766
|
@vertex_rag_store = args[:vertex_rag_store] if args.key?(:vertex_rag_store)
|
30555
30767
|
end
|
@@ -38700,7 +38912,7 @@ module Google
|
|
38700
38912
|
class GoogleCloudAiplatformV1beta1SearchExamplesResponseSimilarExample
|
38701
38913
|
include Google::Apis::Core::Hashable
|
38702
38914
|
|
38703
|
-
#
|
38915
|
+
# The example that is similar to the searched query.
|
38704
38916
|
# Corresponds to the JSON property `example`
|
38705
38917
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Example]
|
38706
38918
|
attr_accessor :example
|
@@ -45411,7 +45623,7 @@ module Google
|
|
45411
45623
|
class GoogleCloudAiplatformV1beta1UpsertExamplesResponseUpsertResult
|
45412
45624
|
include Google::Apis::Core::Hashable
|
45413
45625
|
|
45414
|
-
#
|
45626
|
+
# The example created/updated successfully.
|
45415
45627
|
# Corresponds to the JSON property `example`
|
45416
45628
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Example]
|
45417
45629
|
attr_accessor :example
|
@@ -45511,6 +45723,13 @@ module Google
|
|
45511
45723
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
45512
45724
|
include Google::Apis::Core::Hashable
|
45513
45725
|
|
45726
|
+
# Specifications that define the specific DataStores to be searched, along with
|
45727
|
+
# configurations for those data stores. This is only considered for Engines with
|
45728
|
+
# multiple data stores. It should only be set if engine is used.
|
45729
|
+
# Corresponds to the JSON property `dataStoreSpecs`
|
45730
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec>]
|
45731
|
+
attr_accessor :data_store_specs
|
45732
|
+
|
45514
45733
|
# Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `
|
45515
45734
|
# projects/`project`/locations/`location`/collections/`collection`/dataStores/`
|
45516
45735
|
# dataStore``
|
@@ -45525,14 +45744,59 @@ module Google
|
|
45525
45744
|
# @return [String]
|
45526
45745
|
attr_accessor :engine
|
45527
45746
|
|
45747
|
+
# Optional. Filter strings to be passed to the search API.
|
45748
|
+
# Corresponds to the JSON property `filter`
|
45749
|
+
# @return [String]
|
45750
|
+
attr_accessor :filter
|
45751
|
+
|
45752
|
+
# Optional. Number of search results to return per query. The default value is
|
45753
|
+
# 10. The maximumm allowed value is 10.
|
45754
|
+
# Corresponds to the JSON property `maxResults`
|
45755
|
+
# @return [Fixnum]
|
45756
|
+
attr_accessor :max_results
|
45757
|
+
|
45528
45758
|
def initialize(**args)
|
45529
45759
|
update!(**args)
|
45530
45760
|
end
|
45531
45761
|
|
45532
45762
|
# Update properties of this object
|
45533
45763
|
def update!(**args)
|
45764
|
+
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
|
45534
45765
|
@datastore = args[:datastore] if args.key?(:datastore)
|
45535
45766
|
@engine = args[:engine] if args.key?(:engine)
|
45767
|
+
@filter = args[:filter] if args.key?(:filter)
|
45768
|
+
@max_results = args[:max_results] if args.key?(:max_results)
|
45769
|
+
end
|
45770
|
+
end
|
45771
|
+
|
45772
|
+
# Define data stores within engine to filter on in a search call and
|
45773
|
+
# configurations for those data stores. For more information, see https://cloud.
|
45774
|
+
# google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.
|
45775
|
+
# discoveryengine.v1#datastorespec
|
45776
|
+
class GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec
|
45777
|
+
include Google::Apis::Core::Hashable
|
45778
|
+
|
45779
|
+
# Full resource name of DataStore, such as Format: `projects/`project`/locations/
|
45780
|
+
# `location`/collections/`collection`/dataStores/`dataStore``
|
45781
|
+
# Corresponds to the JSON property `dataStore`
|
45782
|
+
# @return [String]
|
45783
|
+
attr_accessor :data_store
|
45784
|
+
|
45785
|
+
# Optional. Filter specification to filter documents in the data store specified
|
45786
|
+
# by data_store field. For more information on filtering, see [Filtering](https:/
|
45787
|
+
# /cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
45788
|
+
# Corresponds to the JSON property `filter`
|
45789
|
+
# @return [String]
|
45790
|
+
attr_accessor :filter
|
45791
|
+
|
45792
|
+
def initialize(**args)
|
45793
|
+
update!(**args)
|
45794
|
+
end
|
45795
|
+
|
45796
|
+
# Update properties of this object
|
45797
|
+
def update!(**args)
|
45798
|
+
@data_store = args[:data_store] if args.key?(:data_store)
|
45799
|
+
@filter = args[:filter] if args.key?(:filter)
|
45536
45800
|
end
|
45537
45801
|
end
|
45538
45802
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1beta1
|
18
18
|
# Version of the google-apis-aiplatform_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.47.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250519"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1840,6 +1840,24 @@ module Google
|
|
1840
1840
|
include Google::Apis::Core::JsonObjectSupport
|
1841
1841
|
end
|
1842
1842
|
|
1843
|
+
class GoogleCloudAiplatformV1beta1ExternalApi
|
1844
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1845
|
+
|
1846
|
+
include Google::Apis::Core::JsonObjectSupport
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams
|
1850
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1851
|
+
|
1852
|
+
include Google::Apis::Core::JsonObjectSupport
|
1853
|
+
end
|
1854
|
+
|
1855
|
+
class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams
|
1856
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1857
|
+
|
1858
|
+
include Google::Apis::Core::JsonObjectSupport
|
1859
|
+
end
|
1860
|
+
|
1843
1861
|
class GoogleCloudAiplatformV1beta1Fact
|
1844
1862
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1845
1863
|
|
@@ -4816,6 +4834,18 @@ module Google
|
|
4816
4834
|
include Google::Apis::Core::JsonObjectSupport
|
4817
4835
|
end
|
4818
4836
|
|
4837
|
+
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbAnn
|
4838
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4839
|
+
|
4840
|
+
include Google::Apis::Core::JsonObjectSupport
|
4841
|
+
end
|
4842
|
+
|
4843
|
+
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKnn
|
4844
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4845
|
+
|
4846
|
+
include Google::Apis::Core::JsonObjectSupport
|
4847
|
+
end
|
4848
|
+
|
4819
4849
|
class GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore
|
4820
4850
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4821
4851
|
|
@@ -7750,6 +7780,12 @@ module Google
|
|
7750
7780
|
include Google::Apis::Core::JsonObjectSupport
|
7751
7781
|
end
|
7752
7782
|
|
7783
|
+
class GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec
|
7784
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
7785
|
+
|
7786
|
+
include Google::Apis::Core::JsonObjectSupport
|
7787
|
+
end
|
7788
|
+
|
7753
7789
|
class GoogleCloudAiplatformV1beta1VertexAiSearchConfig
|
7754
7790
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
7755
7791
|
|
@@ -8213,6 +8249,7 @@ module Google
|
|
8213
8249
|
# @private
|
8214
8250
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8215
8251
|
property :api_key_secret_version, as: 'apiKeySecretVersion'
|
8252
|
+
property :api_key_string, as: 'apiKeyString'
|
8216
8253
|
end
|
8217
8254
|
end
|
8218
8255
|
|
@@ -8869,6 +8906,8 @@ module Google
|
|
8869
8906
|
|
8870
8907
|
property :create_time, as: 'createTime'
|
8871
8908
|
property :display_name, as: 'displayName'
|
8909
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec::Representation
|
8910
|
+
|
8872
8911
|
property :expire_time, as: 'expireTime'
|
8873
8912
|
property :model, as: 'model'
|
8874
8913
|
property :name, as: 'name'
|
@@ -10080,6 +10119,7 @@ module Google
|
|
10080
10119
|
class GoogleCloudAiplatformV1beta1DeployedModelRef
|
10081
10120
|
# @private
|
10082
10121
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10122
|
+
property :checkpoint_id, as: 'checkpointId'
|
10083
10123
|
property :deployed_model_id, as: 'deployedModelId'
|
10084
10124
|
property :endpoint, as: 'endpoint'
|
10085
10125
|
end
|
@@ -10584,7 +10624,6 @@ module Google
|
|
10584
10624
|
property :create_time, as: 'createTime'
|
10585
10625
|
property :display_name, as: 'displayName'
|
10586
10626
|
property :example_id, as: 'exampleId'
|
10587
|
-
property :name, as: 'name'
|
10588
10627
|
property :stored_contents_example, as: 'storedContentsExample', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StoredContentsExample, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StoredContentsExample::Representation
|
10589
10628
|
|
10590
10629
|
end
|
@@ -11099,6 +11138,37 @@ module Google
|
|
11099
11138
|
end
|
11100
11139
|
end
|
11101
11140
|
|
11141
|
+
class GoogleCloudAiplatformV1beta1ExternalApi
|
11142
|
+
# @private
|
11143
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11144
|
+
property :api_auth, as: 'apiAuth', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuth, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuth::Representation
|
11145
|
+
|
11146
|
+
property :api_spec, as: 'apiSpec'
|
11147
|
+
property :auth_config, as: 'authConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig::Representation
|
11148
|
+
|
11149
|
+
property :elastic_search_params, as: 'elasticSearchParams', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams::Representation
|
11150
|
+
|
11151
|
+
property :endpoint, as: 'endpoint'
|
11152
|
+
property :simple_search_params, as: 'simpleSearchParams', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams::Representation
|
11153
|
+
|
11154
|
+
end
|
11155
|
+
end
|
11156
|
+
|
11157
|
+
class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams
|
11158
|
+
# @private
|
11159
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11160
|
+
property :index, as: 'index'
|
11161
|
+
property :num_hits, as: 'numHits'
|
11162
|
+
property :search_template, as: 'searchTemplate'
|
11163
|
+
end
|
11164
|
+
end
|
11165
|
+
|
11166
|
+
class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams
|
11167
|
+
# @private
|
11168
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11169
|
+
end
|
11170
|
+
end
|
11171
|
+
|
11102
11172
|
class GoogleCloudAiplatformV1beta1Fact
|
11103
11173
|
# @private
|
11104
11174
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12220,6 +12290,7 @@ module Google
|
|
12220
12290
|
class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
|
12221
12291
|
# @private
|
12222
12292
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12293
|
+
property :include_thoughts, as: 'includeThoughts'
|
12223
12294
|
property :thinking_budget, as: 'thinkingBudget'
|
12224
12295
|
end
|
12225
12296
|
end
|
@@ -12517,6 +12588,7 @@ module Google
|
|
12517
12588
|
|
12518
12589
|
property :rag_file_transformation_config, as: 'ragFileTransformationConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileTransformationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileTransformationConfig::Representation
|
12519
12590
|
|
12591
|
+
property :rebuild_ann_index, as: 'rebuildAnnIndex'
|
12520
12592
|
property :share_point_sources, as: 'sharePointSources', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SharePointSources, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SharePointSources::Representation
|
12521
12593
|
|
12522
12594
|
property :slack_source, as: 'slackSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSource::Representation
|
@@ -13895,6 +13967,8 @@ module Google
|
|
13895
13967
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13896
13968
|
property :create_time, as: 'createTime'
|
13897
13969
|
property :display_name, as: 'displayName'
|
13970
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec::Representation
|
13971
|
+
|
13898
13972
|
property :explanation_spec, as: 'explanationSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpec::Representation
|
13899
13973
|
|
13900
13974
|
property :model_monitoring_schema, as: 'modelMonitoringSchema', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringSchema, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringSchema::Representation
|
@@ -16035,6 +16109,8 @@ module Google
|
|
16035
16109
|
property :create_time, as: 'createTime'
|
16036
16110
|
property :description, as: 'description'
|
16037
16111
|
property :display_name, as: 'displayName'
|
16112
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec::Representation
|
16113
|
+
|
16038
16114
|
property :name, as: 'name'
|
16039
16115
|
property :rag_embedding_model_config, as: 'ragEmbeddingModelConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig::Representation
|
16040
16116
|
|
@@ -16318,6 +16394,24 @@ module Google
|
|
16318
16394
|
end
|
16319
16395
|
|
16320
16396
|
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb
|
16397
|
+
# @private
|
16398
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16399
|
+
property :ann, as: 'ann', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbAnn, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbAnn::Representation
|
16400
|
+
|
16401
|
+
property :knn, as: 'knn', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKnn, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKnn::Representation
|
16402
|
+
|
16403
|
+
end
|
16404
|
+
end
|
16405
|
+
|
16406
|
+
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbAnn
|
16407
|
+
# @private
|
16408
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16409
|
+
property :leaf_count, as: 'leafCount'
|
16410
|
+
property :tree_depth, as: 'treeDepth'
|
16411
|
+
end
|
16412
|
+
end
|
16413
|
+
|
16414
|
+
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKnn
|
16321
16415
|
# @private
|
16322
16416
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16323
16417
|
end
|
@@ -16741,6 +16835,8 @@ module Google
|
|
16741
16835
|
# @private
|
16742
16836
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16743
16837
|
property :disable_attribution, as: 'disableAttribution'
|
16838
|
+
property :external_api, as: 'externalApi', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExternalApi, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExternalApi::Representation
|
16839
|
+
|
16744
16840
|
property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexAiSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexAiSearch::Representation
|
16745
16841
|
|
16746
16842
|
property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexRagStore, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexRagStore::Representation
|
@@ -21026,8 +21122,20 @@ module Google
|
|
21026
21122
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
21027
21123
|
# @private
|
21028
21124
|
class Representation < Google::Apis::Core::JsonRepresentation
|
21125
|
+
collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec::Representation
|
21126
|
+
|
21029
21127
|
property :datastore, as: 'datastore'
|
21030
21128
|
property :engine, as: 'engine'
|
21129
|
+
property :filter, as: 'filter'
|
21130
|
+
property :max_results, as: 'maxResults'
|
21131
|
+
end
|
21132
|
+
end
|
21133
|
+
|
21134
|
+
class GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec
|
21135
|
+
# @private
|
21136
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
21137
|
+
property :data_store, as: 'dataStore'
|
21138
|
+
property :filter, as: 'filter'
|
21031
21139
|
end
|
21032
21140
|
end
|
21033
21141
|
|
@@ -22132,7 +22132,8 @@ module Google
|
|
22132
22132
|
|
22133
22133
|
# Updates a reasoning engine.
|
22134
22134
|
# @param [String] name
|
22135
|
-
# Identifier. The resource name of the ReasoningEngine.
|
22135
|
+
# Identifier. The resource name of the ReasoningEngine. Format: `projects/`
|
22136
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
22136
22137
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine] google_cloud_aiplatform_v1beta1_reasoning_engine_object
|
22137
22138
|
# @param [String] update_mask
|
22138
22139
|
# Optional. Mask specifying which fields to update.
|
@@ -22417,6 +22418,189 @@ module Google
|
|
22417
22418
|
execute_or_queue_command(command, &block)
|
22418
22419
|
end
|
22419
22420
|
|
22421
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
22422
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
22423
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
22424
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
22425
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
22426
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
22427
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
22428
|
+
# , corresponding to `Code.CANCELLED`.
|
22429
|
+
# @param [String] name
|
22430
|
+
# The name of the operation resource to be cancelled.
|
22431
|
+
# @param [String] fields
|
22432
|
+
# Selector specifying which fields to include in a partial response.
|
22433
|
+
# @param [String] quota_user
|
22434
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22435
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22436
|
+
# @param [Google::Apis::RequestOptions] options
|
22437
|
+
# Request-specific options
|
22438
|
+
#
|
22439
|
+
# @yield [result, err] Result & error if block supplied
|
22440
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
22441
|
+
# @yieldparam err [StandardError] error object if request failed
|
22442
|
+
#
|
22443
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
22444
|
+
#
|
22445
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22446
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22447
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22448
|
+
def cancel_project_location_reasoning_engine_sandbox_environment_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22449
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
22450
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
22451
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
22452
|
+
command.params['name'] = name unless name.nil?
|
22453
|
+
command.query['fields'] = fields unless fields.nil?
|
22454
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22455
|
+
execute_or_queue_command(command, &block)
|
22456
|
+
end
|
22457
|
+
|
22458
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
22459
|
+
# longer interested in the operation result. It does not cancel the operation.
|
22460
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
22461
|
+
# UNIMPLEMENTED`.
|
22462
|
+
# @param [String] name
|
22463
|
+
# The name of the operation resource to be deleted.
|
22464
|
+
# @param [String] fields
|
22465
|
+
# Selector specifying which fields to include in a partial response.
|
22466
|
+
# @param [String] quota_user
|
22467
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22468
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22469
|
+
# @param [Google::Apis::RequestOptions] options
|
22470
|
+
# Request-specific options
|
22471
|
+
#
|
22472
|
+
# @yield [result, err] Result & error if block supplied
|
22473
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
22474
|
+
# @yieldparam err [StandardError] error object if request failed
|
22475
|
+
#
|
22476
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
22477
|
+
#
|
22478
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22479
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22480
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22481
|
+
def delete_project_location_reasoning_engine_sandbox_environment_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22482
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
22483
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
22484
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
22485
|
+
command.params['name'] = name unless name.nil?
|
22486
|
+
command.query['fields'] = fields unless fields.nil?
|
22487
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22488
|
+
execute_or_queue_command(command, &block)
|
22489
|
+
end
|
22490
|
+
|
22491
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
22492
|
+
# to poll the operation result at intervals as recommended by the API service.
|
22493
|
+
# @param [String] name
|
22494
|
+
# The name of the operation resource.
|
22495
|
+
# @param [String] fields
|
22496
|
+
# Selector specifying which fields to include in a partial response.
|
22497
|
+
# @param [String] quota_user
|
22498
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22499
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22500
|
+
# @param [Google::Apis::RequestOptions] options
|
22501
|
+
# Request-specific options
|
22502
|
+
#
|
22503
|
+
# @yield [result, err] Result & error if block supplied
|
22504
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22505
|
+
# @yieldparam err [StandardError] error object if request failed
|
22506
|
+
#
|
22507
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22508
|
+
#
|
22509
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22510
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22511
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22512
|
+
def get_project_location_reasoning_engine_sandbox_environment_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22513
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
22514
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22515
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22516
|
+
command.params['name'] = name unless name.nil?
|
22517
|
+
command.query['fields'] = fields unless fields.nil?
|
22518
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22519
|
+
execute_or_queue_command(command, &block)
|
22520
|
+
end
|
22521
|
+
|
22522
|
+
# Lists operations that match the specified filter in the request. If the server
|
22523
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
22524
|
+
# @param [String] name
|
22525
|
+
# The name of the operation's parent resource.
|
22526
|
+
# @param [String] filter
|
22527
|
+
# The standard list filter.
|
22528
|
+
# @param [Fixnum] page_size
|
22529
|
+
# The standard list page size.
|
22530
|
+
# @param [String] page_token
|
22531
|
+
# The standard list page token.
|
22532
|
+
# @param [String] fields
|
22533
|
+
# Selector specifying which fields to include in a partial response.
|
22534
|
+
# @param [String] quota_user
|
22535
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22536
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22537
|
+
# @param [Google::Apis::RequestOptions] options
|
22538
|
+
# Request-specific options
|
22539
|
+
#
|
22540
|
+
# @yield [result, err] Result & error if block supplied
|
22541
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
22542
|
+
# @yieldparam err [StandardError] error object if request failed
|
22543
|
+
#
|
22544
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
22545
|
+
#
|
22546
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22547
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22548
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22549
|
+
def list_project_location_reasoning_engine_sandbox_environment_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
22550
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
22551
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
22552
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
22553
|
+
command.params['name'] = name unless name.nil?
|
22554
|
+
command.query['filter'] = filter unless filter.nil?
|
22555
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
22556
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
22557
|
+
command.query['fields'] = fields unless fields.nil?
|
22558
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22559
|
+
execute_or_queue_command(command, &block)
|
22560
|
+
end
|
22561
|
+
|
22562
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
22563
|
+
# specified timeout, returning the latest state. If the operation is already
|
22564
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
22565
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
22566
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
22567
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
22568
|
+
# the latest state before the specified timeout (including immediately), meaning
|
22569
|
+
# even an immediate response is no guarantee that the operation is done.
|
22570
|
+
# @param [String] name
|
22571
|
+
# The name of the operation resource to wait on.
|
22572
|
+
# @param [String] timeout
|
22573
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
22574
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
22575
|
+
# context deadline is also specified, the shorter one will be used.
|
22576
|
+
# @param [String] fields
|
22577
|
+
# Selector specifying which fields to include in a partial response.
|
22578
|
+
# @param [String] quota_user
|
22579
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22580
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22581
|
+
# @param [Google::Apis::RequestOptions] options
|
22582
|
+
# Request-specific options
|
22583
|
+
#
|
22584
|
+
# @yield [result, err] Result & error if block supplied
|
22585
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22586
|
+
# @yieldparam err [StandardError] error object if request failed
|
22587
|
+
#
|
22588
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22589
|
+
#
|
22590
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22591
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22592
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22593
|
+
def wait_project_location_reasoning_engine_sandbox_environment_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
22594
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
22595
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22596
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22597
|
+
command.params['name'] = name unless name.nil?
|
22598
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
22599
|
+
command.query['fields'] = fields unless fields.nil?
|
22600
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22601
|
+
execute_or_queue_command(command, &block)
|
22602
|
+
end
|
22603
|
+
|
22420
22604
|
# Appends an event to a given session.
|
22421
22605
|
# @param [String] name
|
22422
22606
|
# Required. The resource name of the session to append event to. Format: `
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.47.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-aiplatform_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.47.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Vertex AI API V1beta1
|
79
79
|
test_files: []
|