google-apis-aiplatform_v1 0.51.0 → 0.53.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce2b4ed7c3de08c188604c42f8c9f2eefcead348457998b9be9eb27edde30a5d
|
4
|
+
data.tar.gz: ada2c6cb5c55a59e528ae776fda483c6ae3f05056d67735d7fb391faa89c13e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb314e00ca14b852aa6e1cbc81e3afc2e9dd24385b225b2788daf1e1c9959538fb8e739b88c217f1a9249a1e29d44f675730bc536e71e0768abcbe4feefe52ac
|
7
|
+
data.tar.gz: a127fa834faff1da022890916c538c40a455a3d25a47254f2a3898e2ee4217985c02b5d3f93fca8337c0291c88e33c76b7e52bc05b1aab02cae99a197f06ac57
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-aiplatform_v1
|
2
2
|
|
3
|
+
### v0.53.0 (2025-05-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250519
|
6
|
+
|
7
|
+
### v0.52.0 (2025-05-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250502
|
10
|
+
|
3
11
|
### v0.51.0 (2025-05-11)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250501
|
@@ -913,6 +913,11 @@ module Google
|
|
913
913
|
# @return [String]
|
914
914
|
attr_accessor :api_key_secret_version
|
915
915
|
|
916
|
+
# The API key string. Either this or `api_key_secret_version` must be set.
|
917
|
+
# Corresponds to the JSON property `apiKeyString`
|
918
|
+
# @return [String]
|
919
|
+
attr_accessor :api_key_string
|
920
|
+
|
916
921
|
def initialize(**args)
|
917
922
|
update!(**args)
|
918
923
|
end
|
@@ -920,6 +925,7 @@ module Google
|
|
920
925
|
# Update properties of this object
|
921
926
|
def update!(**args)
|
922
927
|
@api_key_secret_version = args[:api_key_secret_version] if args.key?(:api_key_secret_version)
|
928
|
+
@api_key_string = args[:api_key_string] if args.key?(:api_key_string)
|
923
929
|
end
|
924
930
|
end
|
925
931
|
|
@@ -1260,6 +1266,211 @@ module Google
|
|
1260
1266
|
end
|
1261
1267
|
end
|
1262
1268
|
|
1269
|
+
# Auth configuration to run the extension.
|
1270
|
+
class GoogleCloudAiplatformV1AuthConfig
|
1271
|
+
include Google::Apis::Core::Hashable
|
1272
|
+
|
1273
|
+
# Config for authentication with API key.
|
1274
|
+
# Corresponds to the JSON property `apiKeyConfig`
|
1275
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigApiKeyConfig]
|
1276
|
+
attr_accessor :api_key_config
|
1277
|
+
|
1278
|
+
# Type of auth scheme.
|
1279
|
+
# Corresponds to the JSON property `authType`
|
1280
|
+
# @return [String]
|
1281
|
+
attr_accessor :auth_type
|
1282
|
+
|
1283
|
+
# Config for Google Service Account Authentication.
|
1284
|
+
# Corresponds to the JSON property `googleServiceAccountConfig`
|
1285
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig]
|
1286
|
+
attr_accessor :google_service_account_config
|
1287
|
+
|
1288
|
+
# Config for HTTP Basic Authentication.
|
1289
|
+
# Corresponds to the JSON property `httpBasicAuthConfig`
|
1290
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig]
|
1291
|
+
attr_accessor :http_basic_auth_config
|
1292
|
+
|
1293
|
+
# Config for user oauth.
|
1294
|
+
# Corresponds to the JSON property `oauthConfig`
|
1295
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigOauthConfig]
|
1296
|
+
attr_accessor :oauth_config
|
1297
|
+
|
1298
|
+
# Config for user OIDC auth.
|
1299
|
+
# Corresponds to the JSON property `oidcConfig`
|
1300
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigOidcConfig]
|
1301
|
+
attr_accessor :oidc_config
|
1302
|
+
|
1303
|
+
def initialize(**args)
|
1304
|
+
update!(**args)
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
# Update properties of this object
|
1308
|
+
def update!(**args)
|
1309
|
+
@api_key_config = args[:api_key_config] if args.key?(:api_key_config)
|
1310
|
+
@auth_type = args[:auth_type] if args.key?(:auth_type)
|
1311
|
+
@google_service_account_config = args[:google_service_account_config] if args.key?(:google_service_account_config)
|
1312
|
+
@http_basic_auth_config = args[:http_basic_auth_config] if args.key?(:http_basic_auth_config)
|
1313
|
+
@oauth_config = args[:oauth_config] if args.key?(:oauth_config)
|
1314
|
+
@oidc_config = args[:oidc_config] if args.key?(:oidc_config)
|
1315
|
+
end
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
# Config for authentication with API key.
|
1319
|
+
class GoogleCloudAiplatformV1AuthConfigApiKeyConfig
|
1320
|
+
include Google::Apis::Core::Hashable
|
1321
|
+
|
1322
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
1323
|
+
# API key. Format: `projects/`project`/secrets/`secrete`/versions/`version`` -
|
1324
|
+
# If both `api_key_secret` and `api_key_string` are specified, this field takes
|
1325
|
+
# precedence over `api_key_string`. - If specified, the `secretmanager.versions.
|
1326
|
+
# access` permission should be granted to Vertex AI Extension Service Agent (
|
1327
|
+
# https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents)
|
1328
|
+
# on the specified resource.
|
1329
|
+
# Corresponds to the JSON property `apiKeySecret`
|
1330
|
+
# @return [String]
|
1331
|
+
attr_accessor :api_key_secret
|
1332
|
+
|
1333
|
+
# Optional. The API key to be used in the request directly.
|
1334
|
+
# Corresponds to the JSON property `apiKeyString`
|
1335
|
+
# @return [String]
|
1336
|
+
attr_accessor :api_key_string
|
1337
|
+
|
1338
|
+
# Optional. The location of the API key.
|
1339
|
+
# Corresponds to the JSON property `httpElementLocation`
|
1340
|
+
# @return [String]
|
1341
|
+
attr_accessor :http_element_location
|
1342
|
+
|
1343
|
+
# Optional. The parameter name of the API key. E.g. If the API request is "https:
|
1344
|
+
# //example.com/act?api_key=", "api_key" would be the parameter name.
|
1345
|
+
# Corresponds to the JSON property `name`
|
1346
|
+
# @return [String]
|
1347
|
+
attr_accessor :name
|
1348
|
+
|
1349
|
+
def initialize(**args)
|
1350
|
+
update!(**args)
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# Update properties of this object
|
1354
|
+
def update!(**args)
|
1355
|
+
@api_key_secret = args[:api_key_secret] if args.key?(:api_key_secret)
|
1356
|
+
@api_key_string = args[:api_key_string] if args.key?(:api_key_string)
|
1357
|
+
@http_element_location = args[:http_element_location] if args.key?(:http_element_location)
|
1358
|
+
@name = args[:name] if args.key?(:name)
|
1359
|
+
end
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
# Config for Google Service Account Authentication.
|
1363
|
+
class GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig
|
1364
|
+
include Google::Apis::Core::Hashable
|
1365
|
+
|
1366
|
+
# Optional. The service account that the extension execution service runs as. -
|
1367
|
+
# If the service account is specified, the `iam.serviceAccounts.getAccessToken`
|
1368
|
+
# permission should be granted to Vertex AI Extension Service Agent (https://
|
1369
|
+
# cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the
|
1370
|
+
# specified service account. - If not specified, the Vertex AI Extension Service
|
1371
|
+
# Agent will be used to execute the Extension.
|
1372
|
+
# Corresponds to the JSON property `serviceAccount`
|
1373
|
+
# @return [String]
|
1374
|
+
attr_accessor :service_account
|
1375
|
+
|
1376
|
+
def initialize(**args)
|
1377
|
+
update!(**args)
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
# Update properties of this object
|
1381
|
+
def update!(**args)
|
1382
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
1383
|
+
end
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
# Config for HTTP Basic Authentication.
|
1387
|
+
class GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig
|
1388
|
+
include Google::Apis::Core::Hashable
|
1389
|
+
|
1390
|
+
# Required. The name of the SecretManager secret version resource storing the
|
1391
|
+
# base64 encoded credentials. Format: `projects/`project`/secrets/`secrete`/
|
1392
|
+
# versions/`version`` - If specified, the `secretmanager.versions.access`
|
1393
|
+
# permission should be granted to Vertex AI Extension Service Agent (https://
|
1394
|
+
# cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the
|
1395
|
+
# specified resource.
|
1396
|
+
# Corresponds to the JSON property `credentialSecret`
|
1397
|
+
# @return [String]
|
1398
|
+
attr_accessor :credential_secret
|
1399
|
+
|
1400
|
+
def initialize(**args)
|
1401
|
+
update!(**args)
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
# Update properties of this object
|
1405
|
+
def update!(**args)
|
1406
|
+
@credential_secret = args[:credential_secret] if args.key?(:credential_secret)
|
1407
|
+
end
|
1408
|
+
end
|
1409
|
+
|
1410
|
+
# Config for user oauth.
|
1411
|
+
class GoogleCloudAiplatformV1AuthConfigOauthConfig
|
1412
|
+
include Google::Apis::Core::Hashable
|
1413
|
+
|
1414
|
+
# Access token for extension endpoint. Only used to propagate token from [[
|
1415
|
+
# ExecuteExtensionRequest.runtime_auth_config]] at request time.
|
1416
|
+
# Corresponds to the JSON property `accessToken`
|
1417
|
+
# @return [String]
|
1418
|
+
attr_accessor :access_token
|
1419
|
+
|
1420
|
+
# The service account used to generate access tokens for executing the Extension.
|
1421
|
+
# - If the service account is specified, the `iam.serviceAccounts.
|
1422
|
+
# getAccessToken` permission should be granted to Vertex AI Extension Service
|
1423
|
+
# Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-
|
1424
|
+
# agents) on the provided service account.
|
1425
|
+
# Corresponds to the JSON property `serviceAccount`
|
1426
|
+
# @return [String]
|
1427
|
+
attr_accessor :service_account
|
1428
|
+
|
1429
|
+
def initialize(**args)
|
1430
|
+
update!(**args)
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
# Update properties of this object
|
1434
|
+
def update!(**args)
|
1435
|
+
@access_token = args[:access_token] if args.key?(:access_token)
|
1436
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
1437
|
+
end
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
# Config for user OIDC auth.
|
1441
|
+
class GoogleCloudAiplatformV1AuthConfigOidcConfig
|
1442
|
+
include Google::Apis::Core::Hashable
|
1443
|
+
|
1444
|
+
# OpenID Connect formatted ID token for extension endpoint. Only used to
|
1445
|
+
# propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at
|
1446
|
+
# request time.
|
1447
|
+
# Corresponds to the JSON property `idToken`
|
1448
|
+
# @return [String]
|
1449
|
+
attr_accessor :id_token
|
1450
|
+
|
1451
|
+
# The service account used to generate an OpenID Connect (OIDC)-compatible JWT
|
1452
|
+
# token signed by the Google OIDC Provider (accounts.google.com) for extension
|
1453
|
+
# endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-
|
1454
|
+
# direct#sa-credentials-oidc). - The audience for the token will be set to the
|
1455
|
+
# URL in the server url defined in the OpenApi spec. - If the service account is
|
1456
|
+
# provided, the service account should grant `iam.serviceAccounts.getOpenIdToken`
|
1457
|
+
# permission to Vertex AI Extension Service Agent (https://cloud.google.com/
|
1458
|
+
# vertex-ai/docs/general/access-control#service-agents).
|
1459
|
+
# Corresponds to the JSON property `serviceAccount`
|
1460
|
+
# @return [String]
|
1461
|
+
attr_accessor :service_account
|
1462
|
+
|
1463
|
+
def initialize(**args)
|
1464
|
+
update!(**args)
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
# Update properties of this object
|
1468
|
+
def update!(**args)
|
1469
|
+
@id_token = args[:id_token] if args.key?(:id_token)
|
1470
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
1471
|
+
end
|
1472
|
+
end
|
1473
|
+
|
1263
1474
|
# A description of resources that to large degree are decided by Vertex AI, and
|
1264
1475
|
# require only a modest additional configuration. Each Model supporting these
|
1265
1476
|
# resources documents its specific guidelines.
|
@@ -2650,6 +2861,12 @@ module Google
|
|
2650
2861
|
# @return [String]
|
2651
2862
|
attr_accessor :display_name
|
2652
2863
|
|
2864
|
+
# Represents a customer-managed encryption key spec that can be applied to a top-
|
2865
|
+
# level resource.
|
2866
|
+
# Corresponds to the JSON property `encryptionSpec`
|
2867
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
2868
|
+
attr_accessor :encryption_spec
|
2869
|
+
|
2653
2870
|
# Timestamp of when this resource is considered expired. This is *always*
|
2654
2871
|
# provided on output, regardless of what was sent on input.
|
2655
2872
|
# Corresponds to the JSON property `expireTime`
|
@@ -2714,6 +2931,7 @@ module Google
|
|
2714
2931
|
@contents = args[:contents] if args.key?(:contents)
|
2715
2932
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2716
2933
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2934
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
2717
2935
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
2718
2936
|
@model = args[:model] if args.key?(:model)
|
2719
2937
|
@name = args[:name] if args.key?(:name)
|
@@ -6282,6 +6500,11 @@ module Google
|
|
6282
6500
|
class GoogleCloudAiplatformV1DeployedModelRef
|
6283
6501
|
include Google::Apis::Core::Hashable
|
6284
6502
|
|
6503
|
+
# Immutable. The ID of the Checkpoint deployed in the DeployedModel.
|
6504
|
+
# Corresponds to the JSON property `checkpointId`
|
6505
|
+
# @return [String]
|
6506
|
+
attr_accessor :checkpoint_id
|
6507
|
+
|
6285
6508
|
# Immutable. An ID of a DeployedModel in the above Endpoint.
|
6286
6509
|
# Corresponds to the JSON property `deployedModelId`
|
6287
6510
|
# @return [String]
|
@@ -6298,6 +6521,7 @@ module Google
|
|
6298
6521
|
|
6299
6522
|
# Update properties of this object
|
6300
6523
|
def update!(**args)
|
6524
|
+
@checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
|
6301
6525
|
@deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id)
|
6302
6526
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
6303
6527
|
end
|
@@ -9232,6 +9456,104 @@ module Google
|
|
9232
9456
|
end
|
9233
9457
|
end
|
9234
9458
|
|
9459
|
+
# Retrieve from data source powered by external API for grounding. The external
|
9460
|
+
# API is not owned by Google, but need to follow the pre-defined API spec.
|
9461
|
+
class GoogleCloudAiplatformV1ExternalApi
|
9462
|
+
include Google::Apis::Core::Hashable
|
9463
|
+
|
9464
|
+
# The generic reusable api auth config. Deprecated. Please use AuthConfig (
|
9465
|
+
# google/cloud/aiplatform/master/auth.proto) instead.
|
9466
|
+
# Corresponds to the JSON property `apiAuth`
|
9467
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ApiAuth]
|
9468
|
+
attr_accessor :api_auth
|
9469
|
+
|
9470
|
+
# The API spec that the external API implements.
|
9471
|
+
# Corresponds to the JSON property `apiSpec`
|
9472
|
+
# @return [String]
|
9473
|
+
attr_accessor :api_spec
|
9474
|
+
|
9475
|
+
# Auth configuration to run the extension.
|
9476
|
+
# Corresponds to the JSON property `authConfig`
|
9477
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfig]
|
9478
|
+
attr_accessor :auth_config
|
9479
|
+
|
9480
|
+
# The search parameters to use for the ELASTIC_SEARCH spec.
|
9481
|
+
# Corresponds to the JSON property `elasticSearchParams`
|
9482
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExternalApiElasticSearchParams]
|
9483
|
+
attr_accessor :elastic_search_params
|
9484
|
+
|
9485
|
+
# The endpoint of the external API. The system will call the API at this
|
9486
|
+
# endpoint to retrieve the data for grounding. Example: https://acme.com:443/
|
9487
|
+
# search
|
9488
|
+
# Corresponds to the JSON property `endpoint`
|
9489
|
+
# @return [String]
|
9490
|
+
attr_accessor :endpoint
|
9491
|
+
|
9492
|
+
# The search parameters to use for SIMPLE_SEARCH spec.
|
9493
|
+
# Corresponds to the JSON property `simpleSearchParams`
|
9494
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExternalApiSimpleSearchParams]
|
9495
|
+
attr_accessor :simple_search_params
|
9496
|
+
|
9497
|
+
def initialize(**args)
|
9498
|
+
update!(**args)
|
9499
|
+
end
|
9500
|
+
|
9501
|
+
# Update properties of this object
|
9502
|
+
def update!(**args)
|
9503
|
+
@api_auth = args[:api_auth] if args.key?(:api_auth)
|
9504
|
+
@api_spec = args[:api_spec] if args.key?(:api_spec)
|
9505
|
+
@auth_config = args[:auth_config] if args.key?(:auth_config)
|
9506
|
+
@elastic_search_params = args[:elastic_search_params] if args.key?(:elastic_search_params)
|
9507
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
9508
|
+
@simple_search_params = args[:simple_search_params] if args.key?(:simple_search_params)
|
9509
|
+
end
|
9510
|
+
end
|
9511
|
+
|
9512
|
+
# The search parameters to use for the ELASTIC_SEARCH spec.
|
9513
|
+
class GoogleCloudAiplatformV1ExternalApiElasticSearchParams
|
9514
|
+
include Google::Apis::Core::Hashable
|
9515
|
+
|
9516
|
+
# The ElasticSearch index to use.
|
9517
|
+
# Corresponds to the JSON property `index`
|
9518
|
+
# @return [String]
|
9519
|
+
attr_accessor :index
|
9520
|
+
|
9521
|
+
# Optional. Number of hits (chunks) to request. When specified, it is passed to
|
9522
|
+
# Elasticsearch as the `num_hits` param.
|
9523
|
+
# Corresponds to the JSON property `numHits`
|
9524
|
+
# @return [Fixnum]
|
9525
|
+
attr_accessor :num_hits
|
9526
|
+
|
9527
|
+
# The ElasticSearch search template to use.
|
9528
|
+
# Corresponds to the JSON property `searchTemplate`
|
9529
|
+
# @return [String]
|
9530
|
+
attr_accessor :search_template
|
9531
|
+
|
9532
|
+
def initialize(**args)
|
9533
|
+
update!(**args)
|
9534
|
+
end
|
9535
|
+
|
9536
|
+
# Update properties of this object
|
9537
|
+
def update!(**args)
|
9538
|
+
@index = args[:index] if args.key?(:index)
|
9539
|
+
@num_hits = args[:num_hits] if args.key?(:num_hits)
|
9540
|
+
@search_template = args[:search_template] if args.key?(:search_template)
|
9541
|
+
end
|
9542
|
+
end
|
9543
|
+
|
9544
|
+
# The search parameters to use for SIMPLE_SEARCH spec.
|
9545
|
+
class GoogleCloudAiplatformV1ExternalApiSimpleSearchParams
|
9546
|
+
include Google::Apis::Core::Hashable
|
9547
|
+
|
9548
|
+
def initialize(**args)
|
9549
|
+
update!(**args)
|
9550
|
+
end
|
9551
|
+
|
9552
|
+
# Update properties of this object
|
9553
|
+
def update!(**args)
|
9554
|
+
end
|
9555
|
+
end
|
9556
|
+
|
9235
9557
|
# The fact used in grounding.
|
9236
9558
|
class GoogleCloudAiplatformV1Fact
|
9237
9559
|
include Google::Apis::Core::Hashable
|
@@ -12349,6 +12671,13 @@ module Google
|
|
12349
12671
|
class GoogleCloudAiplatformV1GenerationConfigThinkingConfig
|
12350
12672
|
include Google::Apis::Core::Hashable
|
12351
12673
|
|
12674
|
+
# Optional. Indicates whether to include thoughts in the response. If true,
|
12675
|
+
# thoughts are returned only when available.
|
12676
|
+
# Corresponds to the JSON property `includeThoughts`
|
12677
|
+
# @return [Boolean]
|
12678
|
+
attr_accessor :include_thoughts
|
12679
|
+
alias_method :include_thoughts?, :include_thoughts
|
12680
|
+
|
12352
12681
|
# Optional. Indicates the thinking budget in tokens. This is only applied when
|
12353
12682
|
# enable_thinking is true.
|
12354
12683
|
# Corresponds to the JSON property `thinkingBudget`
|
@@ -12361,6 +12690,7 @@ module Google
|
|
12361
12690
|
|
12362
12691
|
# Update properties of this object
|
12363
12692
|
def update!(**args)
|
12693
|
+
@include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts)
|
12364
12694
|
@thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
|
12365
12695
|
end
|
12366
12696
|
end
|
@@ -13314,6 +13644,16 @@ module Google
|
|
13314
13644
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig]
|
13315
13645
|
attr_accessor :rag_file_transformation_config
|
13316
13646
|
|
13647
|
+
# Rebuilds the ANN index to optimize for recall on the imported data. Only
|
13648
|
+
# applicable for RagCorpora running on RagManagedDb with `retrieval_strategy`
|
13649
|
+
# set to `ANN`. The rebuild will be performed using the existing ANN config set
|
13650
|
+
# on the RagCorpus. To change the ANN config, please use the UpdateRagCorpus API.
|
13651
|
+
# Default is false, i.e., index is not rebuilt.
|
13652
|
+
# Corresponds to the JSON property `rebuildAnnIndex`
|
13653
|
+
# @return [Boolean]
|
13654
|
+
attr_accessor :rebuild_ann_index
|
13655
|
+
alias_method :rebuild_ann_index?, :rebuild_ann_index
|
13656
|
+
|
13317
13657
|
# The SharePointSources to pass to ImportRagFiles.
|
13318
13658
|
# Corresponds to the JSON property `sharePointSources`
|
13319
13659
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSources]
|
@@ -13340,6 +13680,7 @@ module Google
|
|
13340
13680
|
@partial_failure_gcs_sink = args[:partial_failure_gcs_sink] if args.key?(:partial_failure_gcs_sink)
|
13341
13681
|
@rag_file_parsing_config = args[:rag_file_parsing_config] if args.key?(:rag_file_parsing_config)
|
13342
13682
|
@rag_file_transformation_config = args[:rag_file_transformation_config] if args.key?(:rag_file_transformation_config)
|
13683
|
+
@rebuild_ann_index = args[:rebuild_ann_index] if args.key?(:rebuild_ann_index)
|
13343
13684
|
@share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
|
13344
13685
|
@slack_source = args[:slack_source] if args.key?(:slack_source)
|
13345
13686
|
end
|
@@ -20654,6 +20995,12 @@ module Google
|
|
20654
20995
|
# @return [String]
|
20655
20996
|
attr_accessor :text
|
20656
20997
|
|
20998
|
+
# Output only. Indicates if the part is thought from the model.
|
20999
|
+
# Corresponds to the JSON property `thought`
|
21000
|
+
# @return [Boolean]
|
21001
|
+
attr_accessor :thought
|
21002
|
+
alias_method :thought?, :thought
|
21003
|
+
|
20657
21004
|
# Metadata describes the input video content.
|
20658
21005
|
# Corresponds to the JSON property `videoMetadata`
|
20659
21006
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoMetadata]
|
@@ -20672,6 +21019,7 @@ module Google
|
|
20672
21019
|
@function_response = args[:function_response] if args.key?(:function_response)
|
20673
21020
|
@inline_data = args[:inline_data] if args.key?(:inline_data)
|
20674
21021
|
@text = args[:text] if args.key?(:text)
|
21022
|
+
@thought = args[:thought] if args.key?(:thought)
|
20675
21023
|
@video_metadata = args[:video_metadata] if args.key?(:video_metadata)
|
20676
21024
|
end
|
20677
21025
|
end
|
@@ -23932,6 +24280,11 @@ module Google
|
|
23932
24280
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser]
|
23933
24281
|
attr_accessor :layout_parser
|
23934
24282
|
|
24283
|
+
# Specifies the LLM parsing for RagFiles.
|
24284
|
+
# Corresponds to the JSON property `llmParser`
|
24285
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser]
|
24286
|
+
attr_accessor :llm_parser
|
24287
|
+
|
23935
24288
|
def initialize(**args)
|
23936
24289
|
update!(**args)
|
23937
24290
|
end
|
@@ -23939,6 +24292,7 @@ module Google
|
|
23939
24292
|
# Update properties of this object
|
23940
24293
|
def update!(**args)
|
23941
24294
|
@layout_parser = args[:layout_parser] if args.key?(:layout_parser)
|
24295
|
+
@llm_parser = args[:llm_parser] if args.key?(:llm_parser)
|
23942
24296
|
end
|
23943
24297
|
end
|
23944
24298
|
|
@@ -23975,6 +24329,41 @@ module Google
|
|
23975
24329
|
end
|
23976
24330
|
end
|
23977
24331
|
|
24332
|
+
# Specifies the LLM parsing for RagFiles.
|
24333
|
+
class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
|
24334
|
+
include Google::Apis::Core::Hashable
|
24335
|
+
|
24336
|
+
# The prompt to use for parsing. If not specified, a default prompt will be used.
|
24337
|
+
# Corresponds to the JSON property `customParsingPrompt`
|
24338
|
+
# @return [String]
|
24339
|
+
attr_accessor :custom_parsing_prompt
|
24340
|
+
|
24341
|
+
# The maximum number of requests the job is allowed to make to the LLM model per
|
24342
|
+
# minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas
|
24343
|
+
# and your document size to set an appropriate value here. If unspecified, a
|
24344
|
+
# default value of 5000 QPM would be used.
|
24345
|
+
# Corresponds to the JSON property `maxParsingRequestsPerMin`
|
24346
|
+
# @return [Fixnum]
|
24347
|
+
attr_accessor :max_parsing_requests_per_min
|
24348
|
+
|
24349
|
+
# The name of a LLM model used for parsing. Format: * `projects/`project_id`/
|
24350
|
+
# locations/`location`/publishers/`publisher`/models/`model``
|
24351
|
+
# Corresponds to the JSON property `modelName`
|
24352
|
+
# @return [String]
|
24353
|
+
attr_accessor :model_name
|
24354
|
+
|
24355
|
+
def initialize(**args)
|
24356
|
+
update!(**args)
|
24357
|
+
end
|
24358
|
+
|
24359
|
+
# Update properties of this object
|
24360
|
+
def update!(**args)
|
24361
|
+
@custom_parsing_prompt = args[:custom_parsing_prompt] if args.key?(:custom_parsing_prompt)
|
24362
|
+
@max_parsing_requests_per_min = args[:max_parsing_requests_per_min] if args.key?(:max_parsing_requests_per_min)
|
24363
|
+
@model_name = args[:model_name] if args.key?(:model_name)
|
24364
|
+
end
|
24365
|
+
end
|
24366
|
+
|
23978
24367
|
# Specifies the transformation config for RagFiles.
|
23979
24368
|
class GoogleCloudAiplatformV1RagFileTransformationConfig
|
23980
24369
|
include Google::Apis::Core::Hashable
|
@@ -24216,6 +24605,67 @@ module Google
|
|
24216
24605
|
class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb
|
24217
24606
|
include Google::Apis::Core::Hashable
|
24218
24607
|
|
24608
|
+
# Config for ANN search. RagManagedDb uses a tree-based structure to partition
|
24609
|
+
# data and facilitate faster searches. As a tradeoff, it requires longer
|
24610
|
+
# indexing time and manual triggering of index rebuild via the ImportRagFiles
|
24611
|
+
# and UpdateRagCorpus API.
|
24612
|
+
# Corresponds to the JSON property `ann`
|
24613
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbAnn]
|
24614
|
+
attr_accessor :ann
|
24615
|
+
|
24616
|
+
# Config for KNN search.
|
24617
|
+
# Corresponds to the JSON property `knn`
|
24618
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKnn]
|
24619
|
+
attr_accessor :knn
|
24620
|
+
|
24621
|
+
def initialize(**args)
|
24622
|
+
update!(**args)
|
24623
|
+
end
|
24624
|
+
|
24625
|
+
# Update properties of this object
|
24626
|
+
def update!(**args)
|
24627
|
+
@ann = args[:ann] if args.key?(:ann)
|
24628
|
+
@knn = args[:knn] if args.key?(:knn)
|
24629
|
+
end
|
24630
|
+
end
|
24631
|
+
|
24632
|
+
# Config for ANN search. RagManagedDb uses a tree-based structure to partition
|
24633
|
+
# data and facilitate faster searches. As a tradeoff, it requires longer
|
24634
|
+
# indexing time and manual triggering of index rebuild via the ImportRagFiles
|
24635
|
+
# and UpdateRagCorpus API.
|
24636
|
+
class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbAnn
|
24637
|
+
include Google::Apis::Core::Hashable
|
24638
|
+
|
24639
|
+
# Number of leaf nodes in the tree-based structure. Each leaf node contains
|
24640
|
+
# groups of closely related vectors along with their corresponding centroid.
|
24641
|
+
# Recommended value is 10 * sqrt(num of RagFiles in your RagCorpus). Default
|
24642
|
+
# value is 500.
|
24643
|
+
# Corresponds to the JSON property `leafCount`
|
24644
|
+
# @return [Fixnum]
|
24645
|
+
attr_accessor :leaf_count
|
24646
|
+
|
24647
|
+
# The depth of the tree-based structure. Only depth values of 2 and 3 are
|
24648
|
+
# supported. Recommended value is 2 if you have if you have O(10K) files in the
|
24649
|
+
# RagCorpus and set this to 3 if more than that. Default value is 2.
|
24650
|
+
# Corresponds to the JSON property `treeDepth`
|
24651
|
+
# @return [Fixnum]
|
24652
|
+
attr_accessor :tree_depth
|
24653
|
+
|
24654
|
+
def initialize(**args)
|
24655
|
+
update!(**args)
|
24656
|
+
end
|
24657
|
+
|
24658
|
+
# Update properties of this object
|
24659
|
+
def update!(**args)
|
24660
|
+
@leaf_count = args[:leaf_count] if args.key?(:leaf_count)
|
24661
|
+
@tree_depth = args[:tree_depth] if args.key?(:tree_depth)
|
24662
|
+
end
|
24663
|
+
end
|
24664
|
+
|
24665
|
+
# Config for KNN search.
|
24666
|
+
class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKnn
|
24667
|
+
include Google::Apis::Core::Hashable
|
24668
|
+
|
24219
24669
|
def initialize(**args)
|
24220
24670
|
update!(**args)
|
24221
24671
|
end
|
@@ -24745,7 +25195,8 @@ module Google
|
|
24745
25195
|
# @return [String]
|
24746
25196
|
attr_accessor :etag
|
24747
25197
|
|
24748
|
-
# Identifier. The resource name of the ReasoningEngine.
|
25198
|
+
# Identifier. The resource name of the ReasoningEngine. Format: `projects/`
|
25199
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
24749
25200
|
# Corresponds to the JSON property `name`
|
24750
25201
|
# @return [String]
|
24751
25202
|
attr_accessor :name
|
@@ -25282,6 +25733,12 @@ module Google
|
|
25282
25733
|
attr_accessor :disable_attribution
|
25283
25734
|
alias_method :disable_attribution?, :disable_attribution
|
25284
25735
|
|
25736
|
+
# Retrieve from data source powered by external API for grounding. The external
|
25737
|
+
# API is not owned by Google, but need to follow the pre-defined API spec.
|
25738
|
+
# Corresponds to the JSON property `externalApi`
|
25739
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExternalApi]
|
25740
|
+
attr_accessor :external_api
|
25741
|
+
|
25285
25742
|
# Retrieve from Vertex AI Search datastore or engine for grounding. datastore
|
25286
25743
|
# and engine are mutually exclusive. See https://cloud.google.com/products/agent-
|
25287
25744
|
# builder
|
@@ -25301,6 +25758,7 @@ module Google
|
|
25301
25758
|
# Update properties of this object
|
25302
25759
|
def update!(**args)
|
25303
25760
|
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
25761
|
+
@external_api = args[:external_api] if args.key?(:external_api)
|
25304
25762
|
@vertex_ai_search = args[:vertex_ai_search] if args.key?(:vertex_ai_search)
|
25305
25763
|
@vertex_rag_store = args[:vertex_rag_store] if args.key?(:vertex_rag_store)
|
25306
25764
|
end
|
@@ -39042,6 +39500,13 @@ module Google
|
|
39042
39500
|
class GoogleCloudAiplatformV1VertexAiSearch
|
39043
39501
|
include Google::Apis::Core::Hashable
|
39044
39502
|
|
39503
|
+
# Specifications that define the specific DataStores to be searched, along with
|
39504
|
+
# configurations for those data stores. This is only considered for Engines with
|
39505
|
+
# multiple data stores. It should only be set if engine is used.
|
39506
|
+
# Corresponds to the JSON property `dataStoreSpecs`
|
39507
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchDataStoreSpec>]
|
39508
|
+
attr_accessor :data_store_specs
|
39509
|
+
|
39045
39510
|
# Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `
|
39046
39511
|
# projects/`project`/locations/`location`/collections/`collection`/dataStores/`
|
39047
39512
|
# dataStore``
|
@@ -39056,14 +39521,59 @@ module Google
|
|
39056
39521
|
# @return [String]
|
39057
39522
|
attr_accessor :engine
|
39058
39523
|
|
39524
|
+
# Optional. Filter strings to be passed to the search API.
|
39525
|
+
# Corresponds to the JSON property `filter`
|
39526
|
+
# @return [String]
|
39527
|
+
attr_accessor :filter
|
39528
|
+
|
39529
|
+
# Optional. Number of search results to return per query. The default value is
|
39530
|
+
# 10. The maximumm allowed value is 10.
|
39531
|
+
# Corresponds to the JSON property `maxResults`
|
39532
|
+
# @return [Fixnum]
|
39533
|
+
attr_accessor :max_results
|
39534
|
+
|
39059
39535
|
def initialize(**args)
|
39060
39536
|
update!(**args)
|
39061
39537
|
end
|
39062
39538
|
|
39063
39539
|
# Update properties of this object
|
39064
39540
|
def update!(**args)
|
39541
|
+
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
|
39065
39542
|
@datastore = args[:datastore] if args.key?(:datastore)
|
39066
39543
|
@engine = args[:engine] if args.key?(:engine)
|
39544
|
+
@filter = args[:filter] if args.key?(:filter)
|
39545
|
+
@max_results = args[:max_results] if args.key?(:max_results)
|
39546
|
+
end
|
39547
|
+
end
|
39548
|
+
|
39549
|
+
# Define data stores within engine to filter on in a search call and
|
39550
|
+
# configurations for those data stores. For more information, see https://cloud.
|
39551
|
+
# google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.
|
39552
|
+
# discoveryengine.v1#datastorespec
|
39553
|
+
class GoogleCloudAiplatformV1VertexAiSearchDataStoreSpec
|
39554
|
+
include Google::Apis::Core::Hashable
|
39555
|
+
|
39556
|
+
# Full resource name of DataStore, such as Format: `projects/`project`/locations/
|
39557
|
+
# `location`/collections/`collection`/dataStores/`dataStore``
|
39558
|
+
# Corresponds to the JSON property `dataStore`
|
39559
|
+
# @return [String]
|
39560
|
+
attr_accessor :data_store
|
39561
|
+
|
39562
|
+
# Optional. Filter specification to filter documents in the data store specified
|
39563
|
+
# by data_store field. For more information on filtering, see [Filtering](https:/
|
39564
|
+
# /cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
39565
|
+
# Corresponds to the JSON property `filter`
|
39566
|
+
# @return [String]
|
39567
|
+
attr_accessor :filter
|
39568
|
+
|
39569
|
+
def initialize(**args)
|
39570
|
+
update!(**args)
|
39571
|
+
end
|
39572
|
+
|
39573
|
+
# Update properties of this object
|
39574
|
+
def update!(**args)
|
39575
|
+
@data_store = args[:data_store] if args.key?(:data_store)
|
39576
|
+
@filter = args[:filter] if args.key?(:filter)
|
39067
39577
|
end
|
39068
39578
|
end
|
39069
39579
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1
|
18
18
|
# Version of the google-apis-aiplatform_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.53.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
|
@@ -226,6 +226,42 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
228
|
|
229
|
+
class GoogleCloudAiplatformV1AuthConfig
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class GoogleCloudAiplatformV1AuthConfigApiKeyConfig
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class GoogleCloudAiplatformV1AuthConfigOauthConfig
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class GoogleCloudAiplatformV1AuthConfigOidcConfig
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
229
265
|
class GoogleCloudAiplatformV1AutomaticResources
|
230
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
267
|
|
@@ -1528,6 +1564,24 @@ module Google
|
|
1528
1564
|
include Google::Apis::Core::JsonObjectSupport
|
1529
1565
|
end
|
1530
1566
|
|
1567
|
+
class GoogleCloudAiplatformV1ExternalApi
|
1568
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1569
|
+
|
1570
|
+
include Google::Apis::Core::JsonObjectSupport
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
class GoogleCloudAiplatformV1ExternalApiElasticSearchParams
|
1574
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1575
|
+
|
1576
|
+
include Google::Apis::Core::JsonObjectSupport
|
1577
|
+
end
|
1578
|
+
|
1579
|
+
class GoogleCloudAiplatformV1ExternalApiSimpleSearchParams
|
1580
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1581
|
+
|
1582
|
+
include Google::Apis::Core::JsonObjectSupport
|
1583
|
+
end
|
1584
|
+
|
1531
1585
|
class GoogleCloudAiplatformV1Fact
|
1532
1586
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1533
1587
|
|
@@ -3880,6 +3934,12 @@ module Google
|
|
3880
3934
|
include Google::Apis::Core::JsonObjectSupport
|
3881
3935
|
end
|
3882
3936
|
|
3937
|
+
class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
|
3938
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3939
|
+
|
3940
|
+
include Google::Apis::Core::JsonObjectSupport
|
3941
|
+
end
|
3942
|
+
|
3883
3943
|
class GoogleCloudAiplatformV1RagFileTransformationConfig
|
3884
3944
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3885
3945
|
|
@@ -3940,6 +4000,18 @@ module Google
|
|
3940
4000
|
include Google::Apis::Core::JsonObjectSupport
|
3941
4001
|
end
|
3942
4002
|
|
4003
|
+
class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbAnn
|
4004
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4005
|
+
|
4006
|
+
include Google::Apis::Core::JsonObjectSupport
|
4007
|
+
end
|
4008
|
+
|
4009
|
+
class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKnn
|
4010
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4011
|
+
|
4012
|
+
include Google::Apis::Core::JsonObjectSupport
|
4013
|
+
end
|
4014
|
+
|
3943
4015
|
class GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch
|
3944
4016
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3945
4017
|
|
@@ -6616,6 +6688,12 @@ module Google
|
|
6616
6688
|
include Google::Apis::Core::JsonObjectSupport
|
6617
6689
|
end
|
6618
6690
|
|
6691
|
+
class GoogleCloudAiplatformV1VertexAiSearchDataStoreSpec
|
6692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6693
|
+
|
6694
|
+
include Google::Apis::Core::JsonObjectSupport
|
6695
|
+
end
|
6696
|
+
|
6619
6697
|
class GoogleCloudAiplatformV1VertexAiSearchConfig
|
6620
6698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6621
6699
|
|
@@ -7054,6 +7132,7 @@ module Google
|
|
7054
7132
|
# @private
|
7055
7133
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7056
7134
|
property :api_key_secret_version, as: 'apiKeySecretVersion'
|
7135
|
+
property :api_key_string, as: 'apiKeyString'
|
7057
7136
|
end
|
7058
7137
|
end
|
7059
7138
|
|
@@ -7137,6 +7216,63 @@ module Google
|
|
7137
7216
|
end
|
7138
7217
|
end
|
7139
7218
|
|
7219
|
+
class GoogleCloudAiplatformV1AuthConfig
|
7220
|
+
# @private
|
7221
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7222
|
+
property :api_key_config, as: 'apiKeyConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigApiKeyConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigApiKeyConfig::Representation
|
7223
|
+
|
7224
|
+
property :auth_type, as: 'authType'
|
7225
|
+
property :google_service_account_config, as: 'googleServiceAccountConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig::Representation
|
7226
|
+
|
7227
|
+
property :http_basic_auth_config, as: 'httpBasicAuthConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig::Representation
|
7228
|
+
|
7229
|
+
property :oauth_config, as: 'oauthConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigOauthConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigOauthConfig::Representation
|
7230
|
+
|
7231
|
+
property :oidc_config, as: 'oidcConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigOidcConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigOidcConfig::Representation
|
7232
|
+
|
7233
|
+
end
|
7234
|
+
end
|
7235
|
+
|
7236
|
+
class GoogleCloudAiplatformV1AuthConfigApiKeyConfig
|
7237
|
+
# @private
|
7238
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7239
|
+
property :api_key_secret, as: 'apiKeySecret'
|
7240
|
+
property :api_key_string, as: 'apiKeyString'
|
7241
|
+
property :http_element_location, as: 'httpElementLocation'
|
7242
|
+
property :name, as: 'name'
|
7243
|
+
end
|
7244
|
+
end
|
7245
|
+
|
7246
|
+
class GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig
|
7247
|
+
# @private
|
7248
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7249
|
+
property :service_account, as: 'serviceAccount'
|
7250
|
+
end
|
7251
|
+
end
|
7252
|
+
|
7253
|
+
class GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig
|
7254
|
+
# @private
|
7255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7256
|
+
property :credential_secret, as: 'credentialSecret'
|
7257
|
+
end
|
7258
|
+
end
|
7259
|
+
|
7260
|
+
class GoogleCloudAiplatformV1AuthConfigOauthConfig
|
7261
|
+
# @private
|
7262
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7263
|
+
property :access_token, as: 'accessToken'
|
7264
|
+
property :service_account, as: 'serviceAccount'
|
7265
|
+
end
|
7266
|
+
end
|
7267
|
+
|
7268
|
+
class GoogleCloudAiplatformV1AuthConfigOidcConfig
|
7269
|
+
# @private
|
7270
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7271
|
+
property :id_token, as: 'idToken'
|
7272
|
+
property :service_account, as: 'serviceAccount'
|
7273
|
+
end
|
7274
|
+
end
|
7275
|
+
|
7140
7276
|
class GoogleCloudAiplatformV1AutomaticResources
|
7141
7277
|
# @private
|
7142
7278
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7556,6 +7692,8 @@ module Google
|
|
7556
7692
|
|
7557
7693
|
property :create_time, as: 'createTime'
|
7558
7694
|
property :display_name, as: 'displayName'
|
7695
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
|
7696
|
+
|
7559
7697
|
property :expire_time, as: 'expireTime'
|
7560
7698
|
property :model, as: 'model'
|
7561
7699
|
property :name, as: 'name'
|
@@ -8597,6 +8735,7 @@ module Google
|
|
8597
8735
|
class GoogleCloudAiplatformV1DeployedModelRef
|
8598
8736
|
# @private
|
8599
8737
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8738
|
+
property :checkpoint_id, as: 'checkpointId'
|
8600
8739
|
property :deployed_model_id, as: 'deployedModelId'
|
8601
8740
|
property :endpoint, as: 'endpoint'
|
8602
8741
|
end
|
@@ -9420,6 +9559,37 @@ module Google
|
|
9420
9559
|
end
|
9421
9560
|
end
|
9422
9561
|
|
9562
|
+
class GoogleCloudAiplatformV1ExternalApi
|
9563
|
+
# @private
|
9564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9565
|
+
property :api_auth, as: 'apiAuth', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ApiAuth, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ApiAuth::Representation
|
9566
|
+
|
9567
|
+
property :api_spec, as: 'apiSpec'
|
9568
|
+
property :auth_config, as: 'authConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfig::Representation
|
9569
|
+
|
9570
|
+
property :elastic_search_params, as: 'elasticSearchParams', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExternalApiElasticSearchParams, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExternalApiElasticSearchParams::Representation
|
9571
|
+
|
9572
|
+
property :endpoint, as: 'endpoint'
|
9573
|
+
property :simple_search_params, as: 'simpleSearchParams', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExternalApiSimpleSearchParams, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExternalApiSimpleSearchParams::Representation
|
9574
|
+
|
9575
|
+
end
|
9576
|
+
end
|
9577
|
+
|
9578
|
+
class GoogleCloudAiplatformV1ExternalApiElasticSearchParams
|
9579
|
+
# @private
|
9580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9581
|
+
property :index, as: 'index'
|
9582
|
+
property :num_hits, as: 'numHits'
|
9583
|
+
property :search_template, as: 'searchTemplate'
|
9584
|
+
end
|
9585
|
+
end
|
9586
|
+
|
9587
|
+
class GoogleCloudAiplatformV1ExternalApiSimpleSearchParams
|
9588
|
+
# @private
|
9589
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9590
|
+
end
|
9591
|
+
end
|
9592
|
+
|
9423
9593
|
class GoogleCloudAiplatformV1Fact
|
9424
9594
|
# @private
|
9425
9595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10277,6 +10447,7 @@ module Google
|
|
10277
10447
|
class GoogleCloudAiplatformV1GenerationConfigThinkingConfig
|
10278
10448
|
# @private
|
10279
10449
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10450
|
+
property :include_thoughts, as: 'includeThoughts'
|
10280
10451
|
property :thinking_budget, as: 'thinkingBudget'
|
10281
10452
|
end
|
10282
10453
|
end
|
@@ -10562,6 +10733,7 @@ module Google
|
|
10562
10733
|
|
10563
10734
|
property :rag_file_transformation_config, as: 'ragFileTransformationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig::Representation
|
10564
10735
|
|
10736
|
+
property :rebuild_ann_index, as: 'rebuildAnnIndex'
|
10565
10737
|
property :share_point_sources, as: 'sharePointSources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSources::Representation
|
10566
10738
|
|
10567
10739
|
property :slack_source, as: 'slackSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSource::Representation
|
@@ -12623,6 +12795,7 @@ module Google
|
|
12623
12795
|
property :inline_data, as: 'inlineData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob::Representation
|
12624
12796
|
|
12625
12797
|
property :text, as: 'text'
|
12798
|
+
property :thought, as: 'thought'
|
12626
12799
|
property :video_metadata, as: 'videoMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoMetadata::Representation
|
12627
12800
|
|
12628
12801
|
end
|
@@ -13558,6 +13731,8 @@ module Google
|
|
13558
13731
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13559
13732
|
property :layout_parser, as: 'layoutParser', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser::Representation
|
13560
13733
|
|
13734
|
+
property :llm_parser, as: 'llmParser', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser::Representation
|
13735
|
+
|
13561
13736
|
end
|
13562
13737
|
end
|
13563
13738
|
|
@@ -13569,6 +13744,15 @@ module Google
|
|
13569
13744
|
end
|
13570
13745
|
end
|
13571
13746
|
|
13747
|
+
class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
|
13748
|
+
# @private
|
13749
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13750
|
+
property :custom_parsing_prompt, as: 'customParsingPrompt'
|
13751
|
+
property :max_parsing_requests_per_min, as: 'maxParsingRequestsPerMin'
|
13752
|
+
property :model_name, as: 'modelName'
|
13753
|
+
end
|
13754
|
+
end
|
13755
|
+
|
13572
13756
|
class GoogleCloudAiplatformV1RagFileTransformationConfig
|
13573
13757
|
# @private
|
13574
13758
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13654,6 +13838,24 @@ module Google
|
|
13654
13838
|
end
|
13655
13839
|
|
13656
13840
|
class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb
|
13841
|
+
# @private
|
13842
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13843
|
+
property :ann, as: 'ann', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbAnn, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbAnn::Representation
|
13844
|
+
|
13845
|
+
property :knn, as: 'knn', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKnn, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKnn::Representation
|
13846
|
+
|
13847
|
+
end
|
13848
|
+
end
|
13849
|
+
|
13850
|
+
class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbAnn
|
13851
|
+
# @private
|
13852
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13853
|
+
property :leaf_count, as: 'leafCount'
|
13854
|
+
property :tree_depth, as: 'treeDepth'
|
13855
|
+
end
|
13856
|
+
end
|
13857
|
+
|
13858
|
+
class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKnn
|
13657
13859
|
# @private
|
13658
13860
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13659
13861
|
end
|
@@ -14007,6 +14209,8 @@ module Google
|
|
14007
14209
|
# @private
|
14008
14210
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14009
14211
|
property :disable_attribution, as: 'disableAttribution'
|
14212
|
+
property :external_api, as: 'externalApi', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExternalApi, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExternalApi::Representation
|
14213
|
+
|
14010
14214
|
property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch::Representation
|
14011
14215
|
|
14012
14216
|
property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexRagStore, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexRagStore::Representation
|
@@ -17928,8 +18132,20 @@ module Google
|
|
17928
18132
|
class GoogleCloudAiplatformV1VertexAiSearch
|
17929
18133
|
# @private
|
17930
18134
|
class Representation < Google::Apis::Core::JsonRepresentation
|
18135
|
+
collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchDataStoreSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchDataStoreSpec::Representation
|
18136
|
+
|
17931
18137
|
property :datastore, as: 'datastore'
|
17932
18138
|
property :engine, as: 'engine'
|
18139
|
+
property :filter, as: 'filter'
|
18140
|
+
property :max_results, as: 'maxResults'
|
18141
|
+
end
|
18142
|
+
end
|
18143
|
+
|
18144
|
+
class GoogleCloudAiplatformV1VertexAiSearchDataStoreSpec
|
18145
|
+
# @private
|
18146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
18147
|
+
property :data_store, as: 'dataStore'
|
18148
|
+
property :filter, as: 'filter'
|
17933
18149
|
end
|
17934
18150
|
end
|
17935
18151
|
|
@@ -18550,7 +18550,8 @@ module Google
|
|
18550
18550
|
|
18551
18551
|
# Updates a reasoning engine.
|
18552
18552
|
# @param [String] name
|
18553
|
-
# Identifier. The resource name of the ReasoningEngine.
|
18553
|
+
# Identifier. The resource name of the ReasoningEngine. Format: `projects/`
|
18554
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
18554
18555
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine] google_cloud_aiplatform_v1_reasoning_engine_object
|
18555
18556
|
# @param [String] update_mask
|
18556
18557
|
# Optional. Mask specifying which fields to update.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.53.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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.53.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
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 V1
|
79
79
|
test_files: []
|