google-apis-aiplatform_v1beta1 0.68.0 → 0.70.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 +524 -141
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +139 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +142 -3
- metadata +2 -2
|
@@ -2416,8 +2416,8 @@ module Google
|
|
|
2416
2416
|
# @return [String]
|
|
2417
2417
|
attr_accessor :display_name
|
|
2418
2418
|
|
|
2419
|
-
# Represents a customer-managed encryption key
|
|
2420
|
-
#
|
|
2419
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
2420
|
+
# to a Vertex AI resource.
|
|
2421
2421
|
# Corresponds to the JSON property `encryptionSpec`
|
|
2422
2422
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
2423
2423
|
attr_accessor :encryption_spec
|
|
@@ -2486,14 +2486,14 @@ module Google
|
|
|
2486
2486
|
|
|
2487
2487
|
# The name of the Model resource that produces the predictions via this job,
|
|
2488
2488
|
# must share the same ancestor Location. Starting this job has no impact on any
|
|
2489
|
-
# existing deployments of the Model and their resources. Exactly one of model
|
|
2490
|
-
#
|
|
2491
|
-
# version id or version alias to specify the version. Example: `
|
|
2492
|
-
# project`/locations/`location`/models/`model`@2` or `projects/`
|
|
2493
|
-
# locations/`location`/models/`model`@golden` if no version is
|
|
2494
|
-
# default version will be deployed. The model resource could also
|
|
2495
|
-
# model. Example: `publishers/`publisher`/models/`model`` or `
|
|
2496
|
-
# locations/`location`/publishers/`publisher`/models/`model``
|
|
2489
|
+
# existing deployments of the Model and their resources. Exactly one of model,
|
|
2490
|
+
# unmanaged_container_model, or endpoint must be set. The model resource name
|
|
2491
|
+
# may contain version id or version alias to specify the version. Example: `
|
|
2492
|
+
# projects/`project`/locations/`location`/models/`model`@2` or `projects/`
|
|
2493
|
+
# project`/locations/`location`/models/`model`@golden` if no version is
|
|
2494
|
+
# specified, the default version will be deployed. The model resource could also
|
|
2495
|
+
# be a publisher model. Example: `publishers/`publisher`/models/`model`` or `
|
|
2496
|
+
# projects/`project`/locations/`location`/publishers/`publisher`/models/`model``
|
|
2497
2497
|
# Corresponds to the JSON property `model`
|
|
2498
2498
|
# @return [String]
|
|
2499
2499
|
attr_accessor :model
|
|
@@ -3340,8 +3340,8 @@ module Google
|
|
|
3340
3340
|
# @return [String]
|
|
3341
3341
|
attr_accessor :display_name
|
|
3342
3342
|
|
|
3343
|
-
# Represents a customer-managed encryption key
|
|
3344
|
-
#
|
|
3343
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
3344
|
+
# to a Vertex AI resource.
|
|
3345
3345
|
# Corresponds to the JSON property `encryptionSpec`
|
|
3346
3346
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
3347
3347
|
attr_accessor :encryption_spec
|
|
@@ -4732,8 +4732,8 @@ module Google
|
|
|
4732
4732
|
class GoogleCloudAiplatformV1beta1CopyModelRequest
|
|
4733
4733
|
include Google::Apis::Core::Hashable
|
|
4734
4734
|
|
|
4735
|
-
# Represents a customer-managed encryption key
|
|
4736
|
-
#
|
|
4735
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
4736
|
+
# to a Vertex AI resource.
|
|
4737
4737
|
# Corresponds to the JSON property `encryptionSpec`
|
|
4738
4738
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
4739
4739
|
attr_accessor :encryption_spec
|
|
@@ -5785,8 +5785,8 @@ module Google
|
|
|
5785
5785
|
# @return [String]
|
|
5786
5786
|
attr_accessor :display_name
|
|
5787
5787
|
|
|
5788
|
-
# Represents a customer-managed encryption key
|
|
5789
|
-
#
|
|
5788
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
5789
|
+
# to a Vertex AI resource.
|
|
5790
5790
|
# Corresponds to the JSON property `encryptionSpec`
|
|
5791
5791
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
5792
5792
|
attr_accessor :encryption_spec
|
|
@@ -6233,8 +6233,8 @@ module Google
|
|
|
6233
6233
|
# @return [String]
|
|
6234
6234
|
attr_accessor :display_name
|
|
6235
6235
|
|
|
6236
|
-
# Represents a customer-managed encryption key
|
|
6237
|
-
#
|
|
6236
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
6237
|
+
# to a Vertex AI resource.
|
|
6238
6238
|
# Corresponds to the JSON property `encryptionSpec`
|
|
6239
6239
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
6240
6240
|
attr_accessor :encryption_spec
|
|
@@ -6365,8 +6365,8 @@ module Google
|
|
|
6365
6365
|
# @return [String]
|
|
6366
6366
|
attr_accessor :display_name
|
|
6367
6367
|
|
|
6368
|
-
# Represents a customer-managed encryption key
|
|
6369
|
-
#
|
|
6368
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
6369
|
+
# to a Vertex AI resource.
|
|
6370
6370
|
# Corresponds to the JSON property `encryptionSpec`
|
|
6371
6371
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
6372
6372
|
attr_accessor :encryption_spec
|
|
@@ -7879,6 +7879,11 @@ module Google
|
|
|
7879
7879
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig]
|
|
7880
7880
|
attr_accessor :faster_deployment_config
|
|
7881
7881
|
|
|
7882
|
+
# Resources for an fft model.
|
|
7883
|
+
# Corresponds to the JSON property `fullFineTunedResources`
|
|
7884
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FullFineTunedResources]
|
|
7885
|
+
attr_accessor :full_fine_tuned_resources
|
|
7886
|
+
|
|
7882
7887
|
# GDC pretrained / Gemini model name. The model name is a plain model name, e.g.
|
|
7883
7888
|
# gemini-1.5-flash-002.
|
|
7884
7889
|
# Corresponds to the JSON property `gdcConnectedModel`
|
|
@@ -7969,6 +7974,7 @@ module Google
|
|
|
7969
7974
|
@enable_container_logging = args[:enable_container_logging] if args.key?(:enable_container_logging)
|
|
7970
7975
|
@explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
|
|
7971
7976
|
@faster_deployment_config = args[:faster_deployment_config] if args.key?(:faster_deployment_config)
|
|
7977
|
+
@full_fine_tuned_resources = args[:full_fine_tuned_resources] if args.key?(:full_fine_tuned_resources)
|
|
7972
7978
|
@gdc_connected_model = args[:gdc_connected_model] if args.key?(:gdc_connected_model)
|
|
7973
7979
|
@id = args[:id] if args.key?(:id)
|
|
7974
7980
|
@model = args[:model] if args.key?(:model)
|
|
@@ -8072,8 +8078,8 @@ module Google
|
|
|
8072
8078
|
attr_accessor :disable_container_logging
|
|
8073
8079
|
alias_method :disable_container_logging?, :disable_container_logging
|
|
8074
8080
|
|
|
8075
|
-
# Represents a customer-managed encryption key
|
|
8076
|
-
#
|
|
8081
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
8082
|
+
# to a Vertex AI resource.
|
|
8077
8083
|
# Corresponds to the JSON property `encryptionSpec`
|
|
8078
8084
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
8079
8085
|
attr_accessor :encryption_spec
|
|
@@ -8633,15 +8639,15 @@ module Google
|
|
|
8633
8639
|
end
|
|
8634
8640
|
end
|
|
8635
8641
|
|
|
8636
|
-
# Represents a customer-managed encryption key
|
|
8637
|
-
#
|
|
8642
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
8643
|
+
# to a Vertex AI resource.
|
|
8638
8644
|
class GoogleCloudAiplatformV1beta1EncryptionSpec
|
|
8639
8645
|
include Google::Apis::Core::Hashable
|
|
8640
8646
|
|
|
8641
|
-
# Required.
|
|
8642
|
-
# key
|
|
8643
|
-
#
|
|
8644
|
-
#
|
|
8647
|
+
# Required. Resource name of the Cloud KMS key used to protect the resource. The
|
|
8648
|
+
# Cloud KMS key must be in the same region as the resource. It must have the
|
|
8649
|
+
# format `projects/`project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/
|
|
8650
|
+
# `crypto_key``.
|
|
8645
8651
|
# Corresponds to the JSON property `kmsKeyName`
|
|
8646
8652
|
# @return [String]
|
|
8647
8653
|
attr_accessor :kms_key_name
|
|
@@ -8716,8 +8722,8 @@ module Google
|
|
|
8716
8722
|
attr_accessor :enable_private_service_connect
|
|
8717
8723
|
alias_method :enable_private_service_connect?, :enable_private_service_connect
|
|
8718
8724
|
|
|
8719
|
-
# Represents a customer-managed encryption key
|
|
8720
|
-
#
|
|
8725
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
8726
|
+
# to a Vertex AI resource.
|
|
8721
8727
|
# Corresponds to the JSON property `encryptionSpec`
|
|
8722
8728
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
8723
8729
|
attr_accessor :encryption_spec
|
|
@@ -9096,6 +9102,12 @@ module Google
|
|
|
9096
9102
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationDataset]
|
|
9097
9103
|
attr_accessor :dataset
|
|
9098
9104
|
|
|
9105
|
+
# Required. The resource name of the Location to evaluate the dataset. Format: `
|
|
9106
|
+
# projects/`project`/locations/`location``
|
|
9107
|
+
# Corresponds to the JSON property `location`
|
|
9108
|
+
# @return [String]
|
|
9109
|
+
attr_accessor :location
|
|
9110
|
+
|
|
9099
9111
|
# Required. The metrics used for evaluation.
|
|
9100
9112
|
# Corresponds to the JSON property `metrics`
|
|
9101
9113
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric>]
|
|
@@ -9114,6 +9126,7 @@ module Google
|
|
|
9114
9126
|
def update!(**args)
|
|
9115
9127
|
@autorater_config = args[:autorater_config] if args.key?(:autorater_config)
|
|
9116
9128
|
@dataset = args[:dataset] if args.key?(:dataset)
|
|
9129
|
+
@location = args[:location] if args.key?(:location)
|
|
9117
9130
|
@metrics = args[:metrics] if args.key?(:metrics)
|
|
9118
9131
|
@output_config = args[:output_config] if args.key?(:output_config)
|
|
9119
9132
|
end
|
|
@@ -9240,6 +9253,12 @@ module Google
|
|
|
9240
9253
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstance]
|
|
9241
9254
|
attr_accessor :instance
|
|
9242
9255
|
|
|
9256
|
+
# Required. The resource name of the Location to evaluate the instances. Format:
|
|
9257
|
+
# `projects/`project`/locations/`location``
|
|
9258
|
+
# Corresponds to the JSON property `location`
|
|
9259
|
+
# @return [String]
|
|
9260
|
+
attr_accessor :location
|
|
9261
|
+
|
|
9243
9262
|
# The metrics used for evaluation. Currently, we only support evaluating a
|
|
9244
9263
|
# single metric. If multiple metrics are provided, only the first one will be
|
|
9245
9264
|
# evaluated.
|
|
@@ -9387,6 +9406,7 @@ module Google
|
|
|
9387
9406
|
@fulfillment_input = args[:fulfillment_input] if args.key?(:fulfillment_input)
|
|
9388
9407
|
@groundedness_input = args[:groundedness_input] if args.key?(:groundedness_input)
|
|
9389
9408
|
@instance = args[:instance] if args.key?(:instance)
|
|
9409
|
+
@location = args[:location] if args.key?(:location)
|
|
9390
9410
|
@metrics = args[:metrics] if args.key?(:metrics)
|
|
9391
9411
|
@metricx_input = args[:metricx_input] if args.key?(:metricx_input)
|
|
9392
9412
|
@pairwise_metric_input = args[:pairwise_metric_input] if args.key?(:pairwise_metric_input)
|
|
@@ -13913,8 +13933,8 @@ module Google
|
|
|
13913
13933
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreEmbeddingManagement]
|
|
13914
13934
|
attr_accessor :embedding_management
|
|
13915
13935
|
|
|
13916
|
-
# Represents a customer-managed encryption key
|
|
13917
|
-
#
|
|
13936
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
13937
|
+
# to a Vertex AI resource.
|
|
13918
13938
|
# Corresponds to the JSON property `encryptionSpec`
|
|
13919
13939
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
13920
13940
|
attr_accessor :encryption_spec
|
|
@@ -14013,6 +14033,13 @@ module Google
|
|
|
14013
14033
|
attr_accessor :enable_direct_bigtable_access
|
|
14014
14034
|
alias_method :enable_direct_bigtable_access?, :enable_direct_bigtable_access
|
|
14015
14035
|
|
|
14036
|
+
# Optional. The zone where the underlying Bigtable cluster for the primary
|
|
14037
|
+
# Bigtable instance will be provisioned. Only the zone must be provided. For
|
|
14038
|
+
# example, only "us-central1-a" should be provided.
|
|
14039
|
+
# Corresponds to the JSON property `zone`
|
|
14040
|
+
# @return [String]
|
|
14041
|
+
attr_accessor :zone
|
|
14042
|
+
|
|
14016
14043
|
def initialize(**args)
|
|
14017
14044
|
update!(**args)
|
|
14018
14045
|
end
|
|
@@ -14022,6 +14049,7 @@ module Google
|
|
|
14022
14049
|
@auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
|
|
14023
14050
|
@bigtable_metadata = args[:bigtable_metadata] if args.key?(:bigtable_metadata)
|
|
14024
14051
|
@enable_direct_bigtable_access = args[:enable_direct_bigtable_access] if args.key?(:enable_direct_bigtable_access)
|
|
14052
|
+
@zone = args[:zone] if args.key?(:zone)
|
|
14025
14053
|
end
|
|
14026
14054
|
end
|
|
14027
14055
|
|
|
@@ -15366,8 +15394,8 @@ module Google
|
|
|
15366
15394
|
# @return [String]
|
|
15367
15395
|
attr_accessor :create_time
|
|
15368
15396
|
|
|
15369
|
-
# Represents a customer-managed encryption key
|
|
15370
|
-
#
|
|
15397
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
15398
|
+
# to a Vertex AI resource.
|
|
15371
15399
|
# Corresponds to the JSON property `encryptionSpec`
|
|
15372
15400
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
15373
15401
|
attr_accessor :encryption_spec
|
|
@@ -16433,6 +16461,37 @@ module Google
|
|
|
16433
16461
|
end
|
|
16434
16462
|
end
|
|
16435
16463
|
|
|
16464
|
+
# Resources for an fft model.
|
|
16465
|
+
class GoogleCloudAiplatformV1beta1FullFineTunedResources
|
|
16466
|
+
include Google::Apis::Core::Hashable
|
|
16467
|
+
|
|
16468
|
+
# Required. The kind of deployment.
|
|
16469
|
+
# Corresponds to the JSON property `deploymentType`
|
|
16470
|
+
# @return [String]
|
|
16471
|
+
attr_accessor :deployment_type
|
|
16472
|
+
|
|
16473
|
+
# Optional. The number of model inference units to use for this deployment. This
|
|
16474
|
+
# can only be specified for DEPLOYMENT_TYPE_PROD. The following table lists the
|
|
16475
|
+
# number of model inference units for different model types: * Gemini 2.5 Flash *
|
|
16476
|
+
# Foundation FMIU: 25 * Expansion FMIU: 4 * Gemini 2.5 Pro * Foundation FMIU:
|
|
16477
|
+
# 32 * Expansion FMIU: 16 * Veo 3.0 (undistilled) * Foundation FMIU: 63 *
|
|
16478
|
+
# Expansion FMIU: 7 * Veo 3.0 (distilled) * Foundation FMIU: 30 * Expansion FMIU:
|
|
16479
|
+
# 10
|
|
16480
|
+
# Corresponds to the JSON property `modelInferenceUnitCount`
|
|
16481
|
+
# @return [Fixnum]
|
|
16482
|
+
attr_accessor :model_inference_unit_count
|
|
16483
|
+
|
|
16484
|
+
def initialize(**args)
|
|
16485
|
+
update!(**args)
|
|
16486
|
+
end
|
|
16487
|
+
|
|
16488
|
+
# Update properties of this object
|
|
16489
|
+
def update!(**args)
|
|
16490
|
+
@deployment_type = args[:deployment_type] if args.key?(:deployment_type)
|
|
16491
|
+
@model_inference_unit_count = args[:model_inference_unit_count] if args.key?(:model_inference_unit_count)
|
|
16492
|
+
end
|
|
16493
|
+
end
|
|
16494
|
+
|
|
16436
16495
|
# Tuning Spec for Full Fine Tuning.
|
|
16437
16496
|
class GoogleCloudAiplatformV1beta1FullFineTuningSpec
|
|
16438
16497
|
include Google::Apis::Core::Hashable
|
|
@@ -16575,9 +16634,8 @@ module Google
|
|
|
16575
16634
|
# @return [String]
|
|
16576
16635
|
attr_accessor :name
|
|
16577
16636
|
|
|
16578
|
-
#
|
|
16579
|
-
#
|
|
16580
|
-
# schema-object). More fields may be added in the future as needed.
|
|
16637
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
16638
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
16581
16639
|
# Corresponds to the JSON property `parameters`
|
|
16582
16640
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
|
16583
16641
|
attr_accessor :parameters
|
|
@@ -16592,9 +16650,8 @@ module Google
|
|
|
16592
16650
|
# @return [Object]
|
|
16593
16651
|
attr_accessor :parameters_json_schema
|
|
16594
16652
|
|
|
16595
|
-
#
|
|
16596
|
-
#
|
|
16597
|
-
# schema-object). More fields may be added in the future as needed.
|
|
16653
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
16654
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
16598
16655
|
# Corresponds to the JSON property `response`
|
|
16599
16656
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
|
16600
16657
|
attr_accessor :response
|
|
@@ -17443,6 +17500,12 @@ module Google
|
|
|
17443
17500
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
|
|
17444
17501
|
attr_accessor :contents
|
|
17445
17502
|
|
|
17503
|
+
# Required. The resource name of the Location to generate rubrics from. Format: `
|
|
17504
|
+
# projects/`project`/locations/`location``
|
|
17505
|
+
# Corresponds to the JSON property `location`
|
|
17506
|
+
# @return [String]
|
|
17507
|
+
attr_accessor :location
|
|
17508
|
+
|
|
17446
17509
|
# The spec for a pre-defined metric.
|
|
17447
17510
|
# Corresponds to the JSON property `predefinedRubricGenerationSpec`
|
|
17448
17511
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredefinedMetricSpec]
|
|
@@ -17461,6 +17524,7 @@ module Google
|
|
|
17461
17524
|
def update!(**args)
|
|
17462
17525
|
@agent_config = args[:agent_config] if args.key?(:agent_config)
|
|
17463
17526
|
@contents = args[:contents] if args.key?(:contents)
|
|
17527
|
+
@location = args[:location] if args.key?(:location)
|
|
17464
17528
|
@predefined_rubric_generation_spec = args[:predefined_rubric_generation_spec] if args.key?(:predefined_rubric_generation_spec)
|
|
17465
17529
|
@rubric_generation_spec = args[:rubric_generation_spec] if args.key?(:rubric_generation_spec)
|
|
17466
17530
|
end
|
|
@@ -17515,6 +17579,17 @@ module Google
|
|
|
17515
17579
|
attr_accessor :disable_memory_revisions
|
|
17516
17580
|
alias_method :disable_memory_revisions?, :disable_memory_revisions
|
|
17517
17581
|
|
|
17582
|
+
# Optional. User-provided metadata for the generated memories. This is not
|
|
17583
|
+
# generated by Memory Bank.
|
|
17584
|
+
# Corresponds to the JSON property `metadata`
|
|
17585
|
+
# @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue>]
|
|
17586
|
+
attr_accessor :metadata
|
|
17587
|
+
|
|
17588
|
+
# Optional. The strategy to use when applying metadata to existing memories.
|
|
17589
|
+
# Corresponds to the JSON property `metadataMergeStrategy`
|
|
17590
|
+
# @return [String]
|
|
17591
|
+
attr_accessor :metadata_merge_strategy
|
|
17592
|
+
|
|
17518
17593
|
# Optional. Timestamp of when the revision is considered expired. If not set,
|
|
17519
17594
|
# the memory revision will be kept until manually deleted.
|
|
17520
17595
|
# Corresponds to the JSON property `revisionExpireTime`
|
|
@@ -17558,6 +17633,8 @@ module Google
|
|
|
17558
17633
|
@direct_memories_source = args[:direct_memories_source] if args.key?(:direct_memories_source)
|
|
17559
17634
|
@disable_consolidation = args[:disable_consolidation] if args.key?(:disable_consolidation)
|
|
17560
17635
|
@disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions)
|
|
17636
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
17637
|
+
@metadata_merge_strategy = args[:metadata_merge_strategy] if args.key?(:metadata_merge_strategy)
|
|
17561
17638
|
@revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time)
|
|
17562
17639
|
@revision_labels = args[:revision_labels] if args.key?(:revision_labels)
|
|
17563
17640
|
@revision_ttl = args[:revision_ttl] if args.key?(:revision_ttl)
|
|
@@ -17930,9 +18007,8 @@ module Google
|
|
|
17930
18007
|
# @return [Array<String>]
|
|
17931
18008
|
attr_accessor :response_modalities
|
|
17932
18009
|
|
|
17933
|
-
#
|
|
17934
|
-
#
|
|
17935
|
-
# schema-object). More fields may be added in the future as needed.
|
|
18010
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
18011
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
17936
18012
|
# Corresponds to the JSON property `responseSchema`
|
|
17937
18013
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
|
17938
18014
|
attr_accessor :response_schema
|
|
@@ -18787,8 +18863,8 @@ module Google
|
|
|
18787
18863
|
# @return [String]
|
|
18788
18864
|
attr_accessor :display_name
|
|
18789
18865
|
|
|
18790
|
-
# Represents a customer-managed encryption key
|
|
18791
|
-
#
|
|
18866
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
18867
|
+
# to a Vertex AI resource.
|
|
18792
18868
|
# Corresponds to the JSON property `encryptionSpec`
|
|
18793
18869
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
18794
18870
|
attr_accessor :encryption_spec
|
|
@@ -19704,8 +19780,8 @@ module Google
|
|
|
19704
19780
|
# @return [String]
|
|
19705
19781
|
attr_accessor :display_name
|
|
19706
19782
|
|
|
19707
|
-
# Represents a customer-managed encryption key
|
|
19708
|
-
#
|
|
19783
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
19784
|
+
# to a Vertex AI resource.
|
|
19709
19785
|
# Corresponds to the JSON property `encryptionSpec`
|
|
19710
19786
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
19711
19787
|
attr_accessor :encryption_spec
|
|
@@ -20030,8 +20106,8 @@ module Google
|
|
|
20030
20106
|
attr_accessor :enable_private_service_connect
|
|
20031
20107
|
alias_method :enable_private_service_connect?, :enable_private_service_connect
|
|
20032
20108
|
|
|
20033
|
-
# Represents a customer-managed encryption key
|
|
20034
|
-
#
|
|
20109
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
20110
|
+
# to a Vertex AI resource.
|
|
20035
20111
|
# Corresponds to the JSON property `encryptionSpec`
|
|
20036
20112
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
20037
20113
|
attr_accessor :encryption_spec
|
|
@@ -22585,7 +22661,20 @@ module Google
|
|
|
22585
22661
|
class GoogleCloudAiplatformV1beta1MachineSpec
|
|
22586
22662
|
include Google::Apis::Core::Hashable
|
|
22587
22663
|
|
|
22588
|
-
# The number of accelerators to attach to the machine.
|
|
22664
|
+
# The number of accelerators to attach to the machine. For accelerator optimized
|
|
22665
|
+
# machine types (https://cloud.google.com/compute/docs/accelerator-optimized-
|
|
22666
|
+
# machines), One may set the accelerator_count from 1 to N for machine with N
|
|
22667
|
+
# GPUs. If accelerator_count is less than or equal to N / 2, Vertex will co-
|
|
22668
|
+
# schedule the replicas of the model into the same VM to save cost. For example,
|
|
22669
|
+
# if the machine type is a3-highgpu-8g, which has 8 H100 GPUs, one can set
|
|
22670
|
+
# accelerator_count to 1 to 8. If accelerator_count is 1, 2, 3, or 4, Vertex
|
|
22671
|
+
# will co-schedule 8, 4, 2, or 2 replicas of the model into the same VM to save
|
|
22672
|
+
# cost. When co-scheduling, CPU, memory and storage on the VM will be
|
|
22673
|
+
# distributed to replicas on the VM. For example, one can expect a co-scheduled
|
|
22674
|
+
# replica requesting 2 GPUs out of a 8-GPU VM will receive 25% of the CPU,
|
|
22675
|
+
# memory and storage of the VM. Note that the feature is not compatible with
|
|
22676
|
+
# multihost_gpu_node_count. When multihost_gpu_node_count is set, the co-
|
|
22677
|
+
# scheduling will not be enabled.
|
|
22589
22678
|
# Corresponds to the JSON property `acceleratorCount`
|
|
22590
22679
|
# @return [Fixnum]
|
|
22591
22680
|
attr_accessor :accelerator_count
|
|
@@ -22785,6 +22874,13 @@ module Google
|
|
|
22785
22874
|
# @return [String]
|
|
22786
22875
|
attr_accessor :fact
|
|
22787
22876
|
|
|
22877
|
+
# Optional. User-provided metadata for the Memory. This information was provided
|
|
22878
|
+
# when creating, updating, or generating the Memory. It was not generated by
|
|
22879
|
+
# Memory Bank.
|
|
22880
|
+
# Corresponds to the JSON property `metadata`
|
|
22881
|
+
# @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue>]
|
|
22882
|
+
attr_accessor :metadata
|
|
22883
|
+
|
|
22788
22884
|
# Identifier. The resource name of the Memory. Format: `projects/`project`/
|
|
22789
22885
|
# locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory``
|
|
22790
22886
|
# Corresponds to the JSON property `name`
|
|
@@ -22844,6 +22940,7 @@ module Google
|
|
|
22844
22940
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
22845
22941
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
22846
22942
|
@fact = args[:fact] if args.key?(:fact)
|
|
22943
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
22847
22944
|
@name = args[:name] if args.key?(:name)
|
|
22848
22945
|
@revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time)
|
|
22849
22946
|
@revision_labels = args[:revision_labels] if args.key?(:revision_labels)
|
|
@@ -22859,6 +22956,15 @@ module Google
|
|
|
22859
22956
|
class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig
|
|
22860
22957
|
include Google::Apis::Core::Hashable
|
|
22861
22958
|
|
|
22959
|
+
# Optional. If true, then the memories will be generated in the third person (i.
|
|
22960
|
+
# e. "The user generates memories with Memory Bank."). By default, the memories
|
|
22961
|
+
# will be generated in the first person (i.e. "I generate memories with Memory
|
|
22962
|
+
# Bank.")
|
|
22963
|
+
# Corresponds to the JSON property `enableThirdPersonMemories`
|
|
22964
|
+
# @return [Boolean]
|
|
22965
|
+
attr_accessor :enable_third_person_memories
|
|
22966
|
+
alias_method :enable_third_person_memories?, :enable_third_person_memories
|
|
22967
|
+
|
|
22862
22968
|
# Optional. Examples of how to generate memories for a particular scope.
|
|
22863
22969
|
# Corresponds to the JSON property `generateMemoriesExamples`
|
|
22864
22970
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample>]
|
|
@@ -22886,6 +22992,7 @@ module Google
|
|
|
22886
22992
|
|
|
22887
22993
|
# Update properties of this object
|
|
22888
22994
|
def update!(**args)
|
|
22995
|
+
@enable_third_person_memories = args[:enable_third_person_memories] if args.key?(:enable_third_person_memories)
|
|
22889
22996
|
@generate_memories_examples = args[:generate_memories_examples] if args.key?(:generate_memories_examples)
|
|
22890
22997
|
@memory_topics = args[:memory_topics] if args.key?(:memory_topics)
|
|
22891
22998
|
@scope_keys = args[:scope_keys] if args.key?(:scope_keys)
|
|
@@ -23059,6 +23166,103 @@ module Google
|
|
|
23059
23166
|
end
|
|
23060
23167
|
end
|
|
23061
23168
|
|
|
23169
|
+
# A conjunction of filters that will be combined using AND logic.
|
|
23170
|
+
class GoogleCloudAiplatformV1beta1MemoryConjunctionFilter
|
|
23171
|
+
include Google::Apis::Core::Hashable
|
|
23172
|
+
|
|
23173
|
+
# Filters that will combined using AND logic.
|
|
23174
|
+
# Corresponds to the JSON property `filters`
|
|
23175
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryFilter>]
|
|
23176
|
+
attr_accessor :filters
|
|
23177
|
+
|
|
23178
|
+
def initialize(**args)
|
|
23179
|
+
update!(**args)
|
|
23180
|
+
end
|
|
23181
|
+
|
|
23182
|
+
# Update properties of this object
|
|
23183
|
+
def update!(**args)
|
|
23184
|
+
@filters = args[:filters] if args.key?(:filters)
|
|
23185
|
+
end
|
|
23186
|
+
end
|
|
23187
|
+
|
|
23188
|
+
# Filter to apply when retrieving memories.
|
|
23189
|
+
class GoogleCloudAiplatformV1beta1MemoryFilter
|
|
23190
|
+
include Google::Apis::Core::Hashable
|
|
23191
|
+
|
|
23192
|
+
# Key of the filter. For example, "author" would apply to `metadata` entries
|
|
23193
|
+
# with the key "author".
|
|
23194
|
+
# Corresponds to the JSON property `key`
|
|
23195
|
+
# @return [String]
|
|
23196
|
+
attr_accessor :key
|
|
23197
|
+
|
|
23198
|
+
# If true, the filter will be negated.
|
|
23199
|
+
# Corresponds to the JSON property `negate`
|
|
23200
|
+
# @return [Boolean]
|
|
23201
|
+
attr_accessor :negate
|
|
23202
|
+
alias_method :negate?, :negate
|
|
23203
|
+
|
|
23204
|
+
# Operator to apply to the filter. If not set, then EQUAL will be used.
|
|
23205
|
+
# Corresponds to the JSON property `op`
|
|
23206
|
+
# @return [String]
|
|
23207
|
+
attr_accessor :op
|
|
23208
|
+
|
|
23209
|
+
# Memory metadata.
|
|
23210
|
+
# Corresponds to the JSON property `value`
|
|
23211
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue]
|
|
23212
|
+
attr_accessor :value
|
|
23213
|
+
|
|
23214
|
+
def initialize(**args)
|
|
23215
|
+
update!(**args)
|
|
23216
|
+
end
|
|
23217
|
+
|
|
23218
|
+
# Update properties of this object
|
|
23219
|
+
def update!(**args)
|
|
23220
|
+
@key = args[:key] if args.key?(:key)
|
|
23221
|
+
@negate = args[:negate] if args.key?(:negate)
|
|
23222
|
+
@op = args[:op] if args.key?(:op)
|
|
23223
|
+
@value = args[:value] if args.key?(:value)
|
|
23224
|
+
end
|
|
23225
|
+
end
|
|
23226
|
+
|
|
23227
|
+
# Memory metadata.
|
|
23228
|
+
class GoogleCloudAiplatformV1beta1MemoryMetadataValue
|
|
23229
|
+
include Google::Apis::Core::Hashable
|
|
23230
|
+
|
|
23231
|
+
# Boolean value.
|
|
23232
|
+
# Corresponds to the JSON property `boolValue`
|
|
23233
|
+
# @return [Boolean]
|
|
23234
|
+
attr_accessor :bool_value
|
|
23235
|
+
alias_method :bool_value?, :bool_value
|
|
23236
|
+
|
|
23237
|
+
# Double value.
|
|
23238
|
+
# Corresponds to the JSON property `doubleValue`
|
|
23239
|
+
# @return [Float]
|
|
23240
|
+
attr_accessor :double_value
|
|
23241
|
+
|
|
23242
|
+
# String value.
|
|
23243
|
+
# Corresponds to the JSON property `stringValue`
|
|
23244
|
+
# @return [String]
|
|
23245
|
+
attr_accessor :string_value
|
|
23246
|
+
|
|
23247
|
+
# Timestamp value. When filtering on timestamp values, only the seconds field
|
|
23248
|
+
# will be compared.
|
|
23249
|
+
# Corresponds to the JSON property `timestampValue`
|
|
23250
|
+
# @return [String]
|
|
23251
|
+
attr_accessor :timestamp_value
|
|
23252
|
+
|
|
23253
|
+
def initialize(**args)
|
|
23254
|
+
update!(**args)
|
|
23255
|
+
end
|
|
23256
|
+
|
|
23257
|
+
# Update properties of this object
|
|
23258
|
+
def update!(**args)
|
|
23259
|
+
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
|
23260
|
+
@double_value = args[:double_value] if args.key?(:double_value)
|
|
23261
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
|
23262
|
+
@timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value)
|
|
23263
|
+
end
|
|
23264
|
+
end
|
|
23265
|
+
|
|
23062
23266
|
# A revision of a Memory.
|
|
23063
23267
|
class GoogleCloudAiplatformV1beta1MemoryRevision
|
|
23064
23268
|
include Google::Apis::Core::Hashable
|
|
@@ -23263,8 +23467,8 @@ module Google
|
|
|
23263
23467
|
# @return [String]
|
|
23264
23468
|
attr_accessor :description
|
|
23265
23469
|
|
|
23266
|
-
# Represents a customer-managed encryption key
|
|
23267
|
-
#
|
|
23470
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
23471
|
+
# to a Vertex AI resource.
|
|
23268
23472
|
# Corresponds to the JSON property `encryptionSpec`
|
|
23269
23473
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
23270
23474
|
attr_accessor :encryption_spec
|
|
@@ -24057,8 +24261,8 @@ module Google
|
|
|
24057
24261
|
# @return [String]
|
|
24058
24262
|
attr_accessor :display_name
|
|
24059
24263
|
|
|
24060
|
-
# Represents a customer-managed encryption key
|
|
24061
|
-
#
|
|
24264
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
24265
|
+
# to a Vertex AI resource.
|
|
24062
24266
|
# Corresponds to the JSON property `encryptionSpec`
|
|
24063
24267
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
24064
24268
|
attr_accessor :encryption_spec
|
|
@@ -24671,8 +24875,8 @@ module Google
|
|
|
24671
24875
|
attr_accessor :enable_monitoring_pipeline_logs
|
|
24672
24876
|
alias_method :enable_monitoring_pipeline_logs?, :enable_monitoring_pipeline_logs
|
|
24673
24877
|
|
|
24674
|
-
# Represents a customer-managed encryption key
|
|
24675
|
-
#
|
|
24878
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
24879
|
+
# to a Vertex AI resource.
|
|
24676
24880
|
# Corresponds to the JSON property `encryptionSpec`
|
|
24677
24881
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
24678
24882
|
attr_accessor :encryption_spec
|
|
@@ -25381,8 +25585,8 @@ module Google
|
|
|
25381
25585
|
# @return [String]
|
|
25382
25586
|
attr_accessor :display_name
|
|
25383
25587
|
|
|
25384
|
-
# Represents a customer-managed encryption key
|
|
25385
|
-
#
|
|
25588
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
25589
|
+
# to a Vertex AI resource.
|
|
25386
25590
|
# Corresponds to the JSON property `encryptionSpec`
|
|
25387
25591
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
25388
25592
|
attr_accessor :encryption_spec
|
|
@@ -27199,8 +27403,8 @@ module Google
|
|
|
27199
27403
|
attr_accessor :enable_restricted_image_training
|
|
27200
27404
|
alias_method :enable_restricted_image_training?, :enable_restricted_image_training
|
|
27201
27405
|
|
|
27202
|
-
# Represents a customer-managed encryption key
|
|
27203
|
-
#
|
|
27406
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
27407
|
+
# to a Vertex AI resource.
|
|
27204
27408
|
# Corresponds to the JSON property `encryptionSpec`
|
|
27205
27409
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
27206
27410
|
attr_accessor :encryption_spec
|
|
@@ -28120,8 +28324,8 @@ module Google
|
|
|
28120
28324
|
# @return [String]
|
|
28121
28325
|
attr_accessor :display_name
|
|
28122
28326
|
|
|
28123
|
-
# Represents a customer-managed encryption key
|
|
28124
|
-
#
|
|
28327
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
28328
|
+
# to a Vertex AI resource.
|
|
28125
28329
|
# Corresponds to the JSON property `encryptionSpec`
|
|
28126
28330
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
28127
28331
|
attr_accessor :encryption_spec
|
|
@@ -28451,8 +28655,8 @@ module Google
|
|
|
28451
28655
|
# @return [String]
|
|
28452
28656
|
attr_accessor :display_name
|
|
28453
28657
|
|
|
28454
|
-
# Represents a customer-managed encryption key
|
|
28455
|
-
#
|
|
28658
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
28659
|
+
# to a Vertex AI resource.
|
|
28456
28660
|
# Corresponds to the JSON property `encryptionSpec`
|
|
28457
28661
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
28458
28662
|
attr_accessor :encryption_spec
|
|
@@ -28665,8 +28869,8 @@ module Google
|
|
|
28665
28869
|
# @return [String]
|
|
28666
28870
|
attr_accessor :display_name
|
|
28667
28871
|
|
|
28668
|
-
# Represents a customer-managed encryption key
|
|
28669
|
-
#
|
|
28872
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
28873
|
+
# to a Vertex AI resource.
|
|
28670
28874
|
# Corresponds to the JSON property `encryptionSpec`
|
|
28671
28875
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
28672
28876
|
attr_accessor :encryption_spec
|
|
@@ -28860,7 +29064,7 @@ module Google
|
|
|
28860
29064
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
|
28861
29065
|
attr_accessor :content
|
|
28862
29066
|
|
|
28863
|
-
# Optional. The
|
|
29067
|
+
# Optional. The optimization strategy for prompt optimization.
|
|
28864
29068
|
# Corresponds to the JSON property `optimizationTarget`
|
|
28865
29069
|
# @return [String]
|
|
28866
29070
|
attr_accessor :optimization_target
|
|
@@ -29680,8 +29884,8 @@ module Google
|
|
|
29680
29884
|
# @return [String]
|
|
29681
29885
|
attr_accessor :display_name
|
|
29682
29886
|
|
|
29683
|
-
# Represents a customer-managed encryption key
|
|
29684
|
-
#
|
|
29887
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
29888
|
+
# to a Vertex AI resource.
|
|
29685
29889
|
# Corresponds to the JSON property `encryptionSpec`
|
|
29686
29890
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
29687
29891
|
attr_accessor :encryption_spec
|
|
@@ -29823,8 +30027,8 @@ module Google
|
|
|
29823
30027
|
# @return [String]
|
|
29824
30028
|
attr_accessor :display_name
|
|
29825
30029
|
|
|
29826
|
-
# Represents a customer-managed encryption key
|
|
29827
|
-
#
|
|
30030
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
30031
|
+
# to a Vertex AI resource.
|
|
29828
30032
|
# Corresponds to the JSON property `encryptionSpec`
|
|
29829
30033
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
29830
30034
|
attr_accessor :encryption_spec
|
|
@@ -33358,8 +33562,8 @@ module Google
|
|
|
33358
33562
|
# @return [String]
|
|
33359
33563
|
attr_accessor :display_name
|
|
33360
33564
|
|
|
33361
|
-
# Represents a customer-managed encryption key
|
|
33362
|
-
#
|
|
33565
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
33566
|
+
# to a Vertex AI resource.
|
|
33363
33567
|
# Corresponds to the JSON property `encryptionSpec`
|
|
33364
33568
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
33365
33569
|
attr_accessor :encryption_spec
|
|
@@ -34386,6 +34590,11 @@ module Google
|
|
|
34386
34590
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb]
|
|
34387
34591
|
attr_accessor :rag_managed_db
|
|
34388
34592
|
|
|
34593
|
+
# The config for the RAG-managed Vertex Vector Search 2.0.
|
|
34594
|
+
# Corresponds to the JSON property `ragManagedVertexVectorSearch`
|
|
34595
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch]
|
|
34596
|
+
attr_accessor :rag_managed_vertex_vector_search
|
|
34597
|
+
|
|
34389
34598
|
# The config for the Vertex Feature Store.
|
|
34390
34599
|
# Corresponds to the JSON property `vertexFeatureStore`
|
|
34391
34600
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore]
|
|
@@ -34411,6 +34620,7 @@ module Google
|
|
|
34411
34620
|
@pinecone = args[:pinecone] if args.key?(:pinecone)
|
|
34412
34621
|
@rag_embedding_model_config = args[:rag_embedding_model_config] if args.key?(:rag_embedding_model_config)
|
|
34413
34622
|
@rag_managed_db = args[:rag_managed_db] if args.key?(:rag_managed_db)
|
|
34623
|
+
@rag_managed_vertex_vector_search = args[:rag_managed_vertex_vector_search] if args.key?(:rag_managed_vertex_vector_search)
|
|
34414
34624
|
@vertex_feature_store = args[:vertex_feature_store] if args.key?(:vertex_feature_store)
|
|
34415
34625
|
@vertex_vector_search = args[:vertex_vector_search] if args.key?(:vertex_vector_search)
|
|
34416
34626
|
@weaviate = args[:weaviate] if args.key?(:weaviate)
|
|
@@ -34510,6 +34720,28 @@ module Google
|
|
|
34510
34720
|
end
|
|
34511
34721
|
end
|
|
34512
34722
|
|
|
34723
|
+
# The config for the RAG-managed Vertex Vector Search 2.0.
|
|
34724
|
+
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch
|
|
34725
|
+
include Google::Apis::Core::Hashable
|
|
34726
|
+
|
|
34727
|
+
# Output only. The resource name of the Vector Search 2.0 Collection that RAG
|
|
34728
|
+
# Created for the corpus. Only populated after the corpus is successfully
|
|
34729
|
+
# created. Format: `projects/`project`/locations/`location`/collections/`
|
|
34730
|
+
# collection_id``
|
|
34731
|
+
# Corresponds to the JSON property `collectionName`
|
|
34732
|
+
# @return [String]
|
|
34733
|
+
attr_accessor :collection_name
|
|
34734
|
+
|
|
34735
|
+
def initialize(**args)
|
|
34736
|
+
update!(**args)
|
|
34737
|
+
end
|
|
34738
|
+
|
|
34739
|
+
# Update properties of this object
|
|
34740
|
+
def update!(**args)
|
|
34741
|
+
@collection_name = args[:collection_name] if args.key?(:collection_name)
|
|
34742
|
+
end
|
|
34743
|
+
end
|
|
34744
|
+
|
|
34513
34745
|
# The config for the Vertex Feature Store.
|
|
34514
34746
|
class GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore
|
|
34515
34747
|
include Google::Apis::Core::Hashable
|
|
@@ -35084,8 +35316,8 @@ module Google
|
|
|
35084
35316
|
# @return [String]
|
|
35085
35317
|
attr_accessor :display_name
|
|
35086
35318
|
|
|
35087
|
-
# Represents a customer-managed encryption key
|
|
35088
|
-
#
|
|
35319
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
35320
|
+
# to a Vertex AI resource.
|
|
35089
35321
|
# Corresponds to the JSON property `encryptionSpec`
|
|
35090
35322
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
35091
35323
|
attr_accessor :encryption_spec
|
|
@@ -35517,6 +35749,12 @@ module Google
|
|
|
35517
35749
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec
|
|
35518
35750
|
include Google::Apis::Core::Hashable
|
|
35519
35751
|
|
|
35752
|
+
# Specifies source code to be fetched from a Git repository managed through the
|
|
35753
|
+
# Developer Connect service.
|
|
35754
|
+
# Corresponds to the JSON property `developerConnectSource`
|
|
35755
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource]
|
|
35756
|
+
attr_accessor :developer_connect_source
|
|
35757
|
+
|
|
35520
35758
|
# Specifies source code provided as a byte stream.
|
|
35521
35759
|
# Corresponds to the JSON property `inlineSource`
|
|
35522
35760
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource]
|
|
@@ -35533,16 +35771,74 @@ module Google
|
|
|
35533
35771
|
|
|
35534
35772
|
# Update properties of this object
|
|
35535
35773
|
def update!(**args)
|
|
35774
|
+
@developer_connect_source = args[:developer_connect_source] if args.key?(:developer_connect_source)
|
|
35536
35775
|
@inline_source = args[:inline_source] if args.key?(:inline_source)
|
|
35537
35776
|
@python_spec = args[:python_spec] if args.key?(:python_spec)
|
|
35538
35777
|
end
|
|
35539
35778
|
end
|
|
35540
35779
|
|
|
35780
|
+
# Specifies the configuration for fetching source code from a Git repository
|
|
35781
|
+
# that is managed by Developer Connect. This includes the repository, revision,
|
|
35782
|
+
# and directory to use.
|
|
35783
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig
|
|
35784
|
+
include Google::Apis::Core::Hashable
|
|
35785
|
+
|
|
35786
|
+
# Required. Directory, relative to the source root, in which to run the build.
|
|
35787
|
+
# Corresponds to the JSON property `dir`
|
|
35788
|
+
# @return [String]
|
|
35789
|
+
attr_accessor :dir
|
|
35790
|
+
|
|
35791
|
+
# Required. The Developer Connect Git repository link, formatted as `projects/*/
|
|
35792
|
+
# locations/*/connections/*/gitRepositoryLink/*`.
|
|
35793
|
+
# Corresponds to the JSON property `gitRepositoryLink`
|
|
35794
|
+
# @return [String]
|
|
35795
|
+
attr_accessor :git_repository_link
|
|
35796
|
+
|
|
35797
|
+
# Required. The revision to fetch from the Git repository such as a branch, a
|
|
35798
|
+
# tag, a commit SHA, or any Git ref.
|
|
35799
|
+
# Corresponds to the JSON property `revision`
|
|
35800
|
+
# @return [String]
|
|
35801
|
+
attr_accessor :revision
|
|
35802
|
+
|
|
35803
|
+
def initialize(**args)
|
|
35804
|
+
update!(**args)
|
|
35805
|
+
end
|
|
35806
|
+
|
|
35807
|
+
# Update properties of this object
|
|
35808
|
+
def update!(**args)
|
|
35809
|
+
@dir = args[:dir] if args.key?(:dir)
|
|
35810
|
+
@git_repository_link = args[:git_repository_link] if args.key?(:git_repository_link)
|
|
35811
|
+
@revision = args[:revision] if args.key?(:revision)
|
|
35812
|
+
end
|
|
35813
|
+
end
|
|
35814
|
+
|
|
35815
|
+
# Specifies source code to be fetched from a Git repository managed through the
|
|
35816
|
+
# Developer Connect service.
|
|
35817
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource
|
|
35818
|
+
include Google::Apis::Core::Hashable
|
|
35819
|
+
|
|
35820
|
+
# Specifies the configuration for fetching source code from a Git repository
|
|
35821
|
+
# that is managed by Developer Connect. This includes the repository, revision,
|
|
35822
|
+
# and directory to use.
|
|
35823
|
+
# Corresponds to the JSON property `config`
|
|
35824
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig]
|
|
35825
|
+
attr_accessor :config
|
|
35826
|
+
|
|
35827
|
+
def initialize(**args)
|
|
35828
|
+
update!(**args)
|
|
35829
|
+
end
|
|
35830
|
+
|
|
35831
|
+
# Update properties of this object
|
|
35832
|
+
def update!(**args)
|
|
35833
|
+
@config = args[:config] if args.key?(:config)
|
|
35834
|
+
end
|
|
35835
|
+
end
|
|
35836
|
+
|
|
35541
35837
|
# Specifies source code provided as a byte stream.
|
|
35542
35838
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource
|
|
35543
35839
|
include Google::Apis::Core::Hashable
|
|
35544
35840
|
|
|
35545
|
-
# Required. Input only. The application source code archive
|
|
35841
|
+
# Required. Input only. The application source code archive. It must be a
|
|
35546
35842
|
# compressed tarball (.tar.gz) file.
|
|
35547
35843
|
# Corresponds to the JSON property `sourceArchive`
|
|
35548
35844
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
@@ -35566,13 +35862,15 @@ module Google
|
|
|
35566
35862
|
# Optional. The Python module to load as the entrypoint, specified as a fully
|
|
35567
35863
|
# qualified module name. For example: path.to.agent. If not specified, defaults
|
|
35568
35864
|
# to "agent". The project root will be added to Python sys.path, allowing
|
|
35569
|
-
# imports to be specified relative to the root.
|
|
35865
|
+
# imports to be specified relative to the root. This field should not be set if
|
|
35866
|
+
# the source is `agent_config_source`.
|
|
35570
35867
|
# Corresponds to the JSON property `entrypointModule`
|
|
35571
35868
|
# @return [String]
|
|
35572
35869
|
attr_accessor :entrypoint_module
|
|
35573
35870
|
|
|
35574
35871
|
# Optional. The name of the callable object within the `entrypoint_module` to
|
|
35575
|
-
# use as the application If not specified, defaults to "root_agent".
|
|
35872
|
+
# use as the application If not specified, defaults to "root_agent". This field
|
|
35873
|
+
# should not be set if the source is `agent_config_source`.
|
|
35576
35874
|
# Corresponds to the JSON property `entrypointObject`
|
|
35577
35875
|
# @return [String]
|
|
35578
35876
|
attr_accessor :entrypoint_object
|
|
@@ -35926,9 +36224,9 @@ module Google
|
|
|
35926
36224
|
class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig
|
|
35927
36225
|
include Google::Apis::Core::Hashable
|
|
35928
36226
|
|
|
35929
|
-
# Optional. The mimetype of the voice sample.
|
|
35930
|
-
# is
|
|
35931
|
-
# sampling rate.
|
|
36227
|
+
# Optional. The mimetype of the voice sample. The only currently supported value
|
|
36228
|
+
# is `audio/wav`. This represents 16-bit signed little-endian wav data, with a
|
|
36229
|
+
# 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
|
|
35932
36230
|
# Corresponds to the JSON property `mimeType`
|
|
35933
36231
|
# @return [String]
|
|
35934
36232
|
attr_accessor :mime_type
|
|
@@ -36531,6 +36829,18 @@ module Google
|
|
|
36531
36829
|
# @return [String]
|
|
36532
36830
|
attr_accessor :filter
|
|
36533
36831
|
|
|
36832
|
+
# Optional. Metadata filters that will be applied to the retrieved memories' `
|
|
36833
|
+
# metadata` using OR logic. Filters are defined using disjunctive normal form (
|
|
36834
|
+
# OR of ANDs). For example: `filter_groups: [`filters: [`key: "author", value: `
|
|
36835
|
+
# string_value: "agent 123"`, op: EQUAL`]`, `filters: [`key: "label", value: `
|
|
36836
|
+
# string_value: "travel"`, op: EQUAL`, `key: "author", value: `string_value: "
|
|
36837
|
+
# agent 321"`, op: EQUAL`]`]` would be equivalent to the logical expression: `(
|
|
36838
|
+
# metadata.author = "agent 123" OR (metadata.label = "travel" AND metadata.
|
|
36839
|
+
# author = "agent 321"))`.
|
|
36840
|
+
# Corresponds to the JSON property `filterGroups`
|
|
36841
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryConjunctionFilter>]
|
|
36842
|
+
attr_accessor :filter_groups
|
|
36843
|
+
|
|
36534
36844
|
# Required. The scope of the memories to retrieve. A memory must have exactly
|
|
36535
36845
|
# the same scope (`Memory.scope`) as the scope provided here to be retrieved (
|
|
36536
36846
|
# same keys and values). Order does not matter, but it is case-sensitive.
|
|
@@ -36555,6 +36865,7 @@ module Google
|
|
|
36555
36865
|
# Update properties of this object
|
|
36556
36866
|
def update!(**args)
|
|
36557
36867
|
@filter = args[:filter] if args.key?(:filter)
|
|
36868
|
+
@filter_groups = args[:filter_groups] if args.key?(:filter_groups)
|
|
36558
36869
|
@scope = args[:scope] if args.key?(:scope)
|
|
36559
36870
|
@similarity_search_params = args[:similarity_search_params] if args.key?(:similarity_search_params)
|
|
36560
36871
|
@simple_retrieval_params = args[:simple_retrieval_params] if args.key?(:simple_retrieval_params)
|
|
@@ -38129,154 +38440,166 @@ module Google
|
|
|
38129
38440
|
end
|
|
38130
38441
|
end
|
|
38131
38442
|
|
|
38132
|
-
#
|
|
38133
|
-
#
|
|
38134
|
-
# schema-object). More fields may be added in the future as needed.
|
|
38443
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
38444
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
38135
38445
|
class GoogleCloudAiplatformV1beta1Schema
|
|
38136
38446
|
include Google::Apis::Core::Hashable
|
|
38137
38447
|
|
|
38138
|
-
# Optional.
|
|
38139
|
-
# additional properties
|
|
38448
|
+
# Optional. If `type` is `OBJECT`, specifies how to handle properties not
|
|
38449
|
+
# defined in `properties`. If it is a boolean `false`, no additional properties
|
|
38450
|
+
# are allowed. If it is a schema, additional properties are allowed if they
|
|
38451
|
+
# conform to the schema.
|
|
38140
38452
|
# Corresponds to the JSON property `additionalProperties`
|
|
38141
38453
|
# @return [Object]
|
|
38142
38454
|
attr_accessor :additional_properties
|
|
38143
38455
|
|
|
38144
|
-
# Optional. The
|
|
38145
|
-
# subschemas in
|
|
38456
|
+
# Optional. The instance must be valid against any (one or more) of the
|
|
38457
|
+
# subschemas listed in `any_of`.
|
|
38146
38458
|
# Corresponds to the JSON property `anyOf`
|
|
38147
38459
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema>]
|
|
38148
38460
|
attr_accessor :any_of
|
|
38149
38461
|
|
|
38150
|
-
# Optional. Default value
|
|
38462
|
+
# Optional. Default value to use if the field is not specified.
|
|
38151
38463
|
# Corresponds to the JSON property `default`
|
|
38152
38464
|
# @return [Object]
|
|
38153
38465
|
attr_accessor :default
|
|
38154
38466
|
|
|
38155
|
-
# Optional.
|
|
38156
|
-
# the schema.
|
|
38467
|
+
# Optional. `defs` provides a map of schema definitions that can be reused by `
|
|
38468
|
+
# ref` elsewhere in the schema. Only allowed at root level of the schema.
|
|
38157
38469
|
# Corresponds to the JSON property `defs`
|
|
38158
38470
|
# @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema>]
|
|
38159
38471
|
attr_accessor :defs
|
|
38160
38472
|
|
|
38161
|
-
# Optional.
|
|
38473
|
+
# Optional. Description of the schema.
|
|
38162
38474
|
# Corresponds to the JSON property `description`
|
|
38163
38475
|
# @return [String]
|
|
38164
38476
|
attr_accessor :description
|
|
38165
38477
|
|
|
38166
|
-
# Optional. Possible values of the
|
|
38167
|
-
#
|
|
38168
|
-
#
|
|
38169
|
-
#
|
|
38478
|
+
# Optional. Possible values of the field. This field can be used to restrict a
|
|
38479
|
+
# value to a fixed set of values. To mark a field as an enum, set `format` to `
|
|
38480
|
+
# enum` and provide the list of possible values in `enum`. For example: 1. To
|
|
38481
|
+
# define directions: ``type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH",
|
|
38482
|
+
# "WEST"]`` 2. To define apartment numbers: ``type:INTEGER, format:enum, enum:["
|
|
38483
|
+
# 101", "201", "301"]``
|
|
38170
38484
|
# Corresponds to the JSON property `enum`
|
|
38171
38485
|
# @return [Array<String>]
|
|
38172
38486
|
attr_accessor :enum
|
|
38173
38487
|
|
|
38174
|
-
# Optional. Example of
|
|
38175
|
-
# root.
|
|
38488
|
+
# Optional. Example of an instance of this schema.
|
|
38176
38489
|
# Corresponds to the JSON property `example`
|
|
38177
38490
|
# @return [Object]
|
|
38178
38491
|
attr_accessor :example
|
|
38179
38492
|
|
|
38180
|
-
# Optional. The format of the data.
|
|
38181
|
-
#
|
|
38182
|
-
#
|
|
38493
|
+
# Optional. The format of the data. For `NUMBER` type, format can be `float` or `
|
|
38494
|
+
# double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING`
|
|
38495
|
+
# type, format can be `email`, `byte`, `date`, `date-time`, `password`, and
|
|
38496
|
+
# other formats to further refine the data type.
|
|
38183
38497
|
# Corresponds to the JSON property `format`
|
|
38184
38498
|
# @return [String]
|
|
38185
38499
|
attr_accessor :format
|
|
38186
38500
|
|
|
38187
|
-
#
|
|
38188
|
-
#
|
|
38189
|
-
# schema-object). More fields may be added in the future as needed.
|
|
38501
|
+
# Defines the schema of input and output data. This is a subset of the [OpenAPI
|
|
38502
|
+
# 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
|
|
38190
38503
|
# Corresponds to the JSON property `items`
|
|
38191
38504
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
|
|
38192
38505
|
attr_accessor :items
|
|
38193
38506
|
|
|
38194
|
-
# Optional.
|
|
38507
|
+
# Optional. If type is `ARRAY`, `max_items` specifies the maximum number of
|
|
38508
|
+
# items in an array.
|
|
38195
38509
|
# Corresponds to the JSON property `maxItems`
|
|
38196
38510
|
# @return [Fixnum]
|
|
38197
38511
|
attr_accessor :max_items
|
|
38198
38512
|
|
|
38199
|
-
# Optional.
|
|
38513
|
+
# Optional. If type is `STRING`, `max_length` specifies the maximum length of
|
|
38514
|
+
# the string.
|
|
38200
38515
|
# Corresponds to the JSON property `maxLength`
|
|
38201
38516
|
# @return [Fixnum]
|
|
38202
38517
|
attr_accessor :max_length
|
|
38203
38518
|
|
|
38204
|
-
# Optional.
|
|
38519
|
+
# Optional. If type is `OBJECT`, `max_properties` specifies the maximum number
|
|
38520
|
+
# of properties that can be provided.
|
|
38205
38521
|
# Corresponds to the JSON property `maxProperties`
|
|
38206
38522
|
# @return [Fixnum]
|
|
38207
38523
|
attr_accessor :max_properties
|
|
38208
38524
|
|
|
38209
|
-
# Optional.
|
|
38525
|
+
# Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum
|
|
38526
|
+
# allowed value.
|
|
38210
38527
|
# Corresponds to the JSON property `maximum`
|
|
38211
38528
|
# @return [Float]
|
|
38212
38529
|
attr_accessor :maximum
|
|
38213
38530
|
|
|
38214
|
-
# Optional.
|
|
38531
|
+
# Optional. If type is `ARRAY`, `min_items` specifies the minimum number of
|
|
38532
|
+
# items in an array.
|
|
38215
38533
|
# Corresponds to the JSON property `minItems`
|
|
38216
38534
|
# @return [Fixnum]
|
|
38217
38535
|
attr_accessor :min_items
|
|
38218
38536
|
|
|
38219
|
-
# Optional.
|
|
38537
|
+
# Optional. If type is `STRING`, `min_length` specifies the minimum length of
|
|
38538
|
+
# the string.
|
|
38220
38539
|
# Corresponds to the JSON property `minLength`
|
|
38221
38540
|
# @return [Fixnum]
|
|
38222
38541
|
attr_accessor :min_length
|
|
38223
38542
|
|
|
38224
|
-
# Optional.
|
|
38543
|
+
# Optional. If type is `OBJECT`, `min_properties` specifies the minimum number
|
|
38544
|
+
# of properties that can be provided.
|
|
38225
38545
|
# Corresponds to the JSON property `minProperties`
|
|
38226
38546
|
# @return [Fixnum]
|
|
38227
38547
|
attr_accessor :min_properties
|
|
38228
38548
|
|
|
38229
|
-
# Optional.
|
|
38230
|
-
#
|
|
38549
|
+
# Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum
|
|
38550
|
+
# allowed value.
|
|
38231
38551
|
# Corresponds to the JSON property `minimum`
|
|
38232
38552
|
# @return [Float]
|
|
38233
38553
|
attr_accessor :minimum
|
|
38234
38554
|
|
|
38235
|
-
# Optional. Indicates if the value
|
|
38555
|
+
# Optional. Indicates if the value of this field can be null.
|
|
38236
38556
|
# Corresponds to the JSON property `nullable`
|
|
38237
38557
|
# @return [Boolean]
|
|
38238
38558
|
attr_accessor :nullable
|
|
38239
38559
|
alias_method :nullable?, :nullable
|
|
38240
38560
|
|
|
38241
|
-
# Optional.
|
|
38242
|
-
#
|
|
38561
|
+
# Optional. If type is `STRING`, `pattern` specifies a regular expression that
|
|
38562
|
+
# the string must match.
|
|
38243
38563
|
# Corresponds to the JSON property `pattern`
|
|
38244
38564
|
# @return [String]
|
|
38245
38565
|
attr_accessor :pattern
|
|
38246
38566
|
|
|
38247
|
-
# Optional.
|
|
38567
|
+
# Optional. If type is `OBJECT`, `properties` is a map of property names to
|
|
38568
|
+
# schema definitions for each property of the object.
|
|
38248
38569
|
# Corresponds to the JSON property `properties`
|
|
38249
38570
|
# @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema>]
|
|
38250
38571
|
attr_accessor :properties
|
|
38251
38572
|
|
|
38252
|
-
# Optional.
|
|
38253
|
-
#
|
|
38573
|
+
# Optional. Order of properties displayed or used where order matters. This is
|
|
38574
|
+
# not a standard field in OpenAPI specification, but can be used to control the
|
|
38575
|
+
# order of properties.
|
|
38254
38576
|
# Corresponds to the JSON property `propertyOrdering`
|
|
38255
38577
|
# @return [Array<String>]
|
|
38256
38578
|
attr_accessor :property_ordering
|
|
38257
38579
|
|
|
38258
|
-
# Optional. Allows
|
|
38259
|
-
# a valid reference to a
|
|
38260
|
-
# schema defines a reference to a schema node named "Pet": type:
|
|
38261
|
-
# properties: pet: ref: #/defs/Pet defs: Pet: type: object properties:
|
|
38262
|
-
# type: string The value of the "pet" property is a reference to the
|
|
38263
|
-
# named "Pet". See details in https://json-schema.org/understanding-
|
|
38264
|
-
# structuring
|
|
38580
|
+
# Optional. Allows referencing another schema definition to use in place of this
|
|
38581
|
+
# schema. The value must be a valid reference to a schema in `defs`. For example,
|
|
38582
|
+
# the following schema defines a reference to a schema node named "Pet": type:
|
|
38583
|
+
# object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties:
|
|
38584
|
+
# name: type: string The value of the "pet" property is a reference to the
|
|
38585
|
+
# schema node named "Pet". See details in https://json-schema.org/understanding-
|
|
38586
|
+
# json-schema/structuring
|
|
38265
38587
|
# Corresponds to the JSON property `ref`
|
|
38266
38588
|
# @return [String]
|
|
38267
38589
|
attr_accessor :ref
|
|
38268
38590
|
|
|
38269
|
-
# Optional.
|
|
38591
|
+
# Optional. If type is `OBJECT`, `required` lists the names of properties that
|
|
38592
|
+
# must be present.
|
|
38270
38593
|
# Corresponds to the JSON property `required`
|
|
38271
38594
|
# @return [Array<String>]
|
|
38272
38595
|
attr_accessor :required
|
|
38273
38596
|
|
|
38274
|
-
# Optional.
|
|
38597
|
+
# Optional. Title for the schema.
|
|
38275
38598
|
# Corresponds to the JSON property `title`
|
|
38276
38599
|
# @return [String]
|
|
38277
38600
|
attr_accessor :title
|
|
38278
38601
|
|
|
38279
|
-
# Optional.
|
|
38602
|
+
# Optional. Data type of the schema field.
|
|
38280
38603
|
# Corresponds to the JSON property `type`
|
|
38281
38604
|
# @return [String]
|
|
38282
38605
|
attr_accessor :type
|
|
@@ -41059,6 +41382,11 @@ module Google
|
|
|
41059
41382
|
# @return [String]
|
|
41060
41383
|
attr_accessor :code_repository_state
|
|
41061
41384
|
|
|
41385
|
+
# Optional. Framework used to build the application.
|
|
41386
|
+
# Corresponds to the JSON property `framework`
|
|
41387
|
+
# @return [String]
|
|
41388
|
+
attr_accessor :framework
|
|
41389
|
+
|
|
41062
41390
|
# Linked resources attached to the application by the user.
|
|
41063
41391
|
# Corresponds to the JSON property `linkedResources`
|
|
41064
41392
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource>]
|
|
@@ -41071,6 +41399,7 @@ module Google
|
|
|
41071
41399
|
# Update properties of this object
|
|
41072
41400
|
def update!(**args)
|
|
41073
41401
|
@code_repository_state = args[:code_repository_state] if args.key?(:code_repository_state)
|
|
41402
|
+
@framework = args[:framework] if args.key?(:framework)
|
|
41074
41403
|
@linked_resources = args[:linked_resources] if args.key?(:linked_resources)
|
|
41075
41404
|
end
|
|
41076
41405
|
end
|
|
@@ -44779,17 +45108,19 @@ module Google
|
|
|
44779
45108
|
end
|
|
44780
45109
|
end
|
|
44781
45110
|
|
|
44782
|
-
#
|
|
44783
|
-
#
|
|
45111
|
+
# Represents a 2D point in the image. Vertex coordinates are normalized to be
|
|
45112
|
+
# relative to the original image dimensions and range from 0 to 1. The origin of
|
|
45113
|
+
# the coordinate system (0,0) is the top-left corner of the image. x increases
|
|
45114
|
+
# to the right, and y increases to the bottom.
|
|
44784
45115
|
class GoogleCloudAiplatformV1beta1SchemaVertex
|
|
44785
45116
|
include Google::Apis::Core::Hashable
|
|
44786
45117
|
|
|
44787
|
-
# X coordinate.
|
|
45118
|
+
# X coordinate of the vertex, normalized to [0.0, 1.0].
|
|
44788
45119
|
# Corresponds to the JSON property `x`
|
|
44789
45120
|
# @return [Float]
|
|
44790
45121
|
attr_accessor :x
|
|
44791
45122
|
|
|
44792
|
-
# Y coordinate.
|
|
45123
|
+
# Y coordinate of the vertex, normalized to [0.0, 1.0].
|
|
44793
45124
|
# Corresponds to the JSON property `y`
|
|
44794
45125
|
# @return [Float]
|
|
44795
45126
|
attr_accessor :y
|
|
@@ -45770,7 +46101,8 @@ module Google
|
|
|
45770
46101
|
attr_accessor :display_name
|
|
45771
46102
|
|
|
45772
46103
|
# Optional. Timestamp of when this session is considered expired. This is *
|
|
45773
|
-
# always* provided on output, regardless of what was sent on input.
|
|
46104
|
+
# always* provided on output, regardless of what was sent on input. The minimum
|
|
46105
|
+
# value is 24 hours from the time of creation.
|
|
45774
46106
|
# Corresponds to the JSON property `expireTime`
|
|
45775
46107
|
# @return [String]
|
|
45776
46108
|
attr_accessor :expire_time
|
|
@@ -45795,7 +46127,7 @@ module Google
|
|
|
45795
46127
|
# @return [Hash<String,Object>]
|
|
45796
46128
|
attr_accessor :session_state
|
|
45797
46129
|
|
|
45798
|
-
# Optional. Input only. The TTL for this session.
|
|
46130
|
+
# Optional. Input only. The TTL for this session. The minimum value is 24 hours.
|
|
45799
46131
|
# Corresponds to the JSON property `ttl`
|
|
45800
46132
|
# @return [String]
|
|
45801
46133
|
attr_accessor :ttl
|
|
@@ -48742,8 +49074,8 @@ module Google
|
|
|
48742
49074
|
# @return [String]
|
|
48743
49075
|
attr_accessor :display_name
|
|
48744
49076
|
|
|
48745
|
-
# Represents a customer-managed encryption key
|
|
48746
|
-
#
|
|
49077
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
49078
|
+
# to a Vertex AI resource.
|
|
48747
49079
|
# Corresponds to the JSON property `encryptionSpec`
|
|
48748
49080
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
48749
49081
|
attr_accessor :encryption_spec
|
|
@@ -49382,6 +49714,12 @@ module Google
|
|
|
49382
49714
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval]
|
|
49383
49715
|
attr_accessor :google_search_retrieval
|
|
49384
49716
|
|
|
49717
|
+
# ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for
|
|
49718
|
+
# grounding.
|
|
49719
|
+
# Corresponds to the JSON property `parallelAiSearch`
|
|
49720
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolParallelAiSearch]
|
|
49721
|
+
attr_accessor :parallel_ai_search
|
|
49722
|
+
|
|
49385
49723
|
# Defines a retrieval tool that model can call to access external knowledge.
|
|
49386
49724
|
# Corresponds to the JSON property `retrieval`
|
|
49387
49725
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval]
|
|
@@ -49405,6 +49743,7 @@ module Google
|
|
|
49405
49743
|
@google_maps = args[:google_maps] if args.key?(:google_maps)
|
|
49406
49744
|
@google_search = args[:google_search] if args.key?(:google_search)
|
|
49407
49745
|
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
|
49746
|
+
@parallel_ai_search = args[:parallel_ai_search] if args.key?(:parallel_ai_search)
|
|
49408
49747
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
|
49409
49748
|
@url_context = args[:url_context] if args.key?(:url_context)
|
|
49410
49749
|
end
|
|
@@ -49735,6 +50074,42 @@ module Google
|
|
|
49735
50074
|
end
|
|
49736
50075
|
end
|
|
49737
50076
|
|
|
50077
|
+
# ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for
|
|
50078
|
+
# grounding.
|
|
50079
|
+
class GoogleCloudAiplatformV1beta1ToolParallelAiSearch
|
|
50080
|
+
include Google::Apis::Core::Hashable
|
|
50081
|
+
|
|
50082
|
+
# Optional. The API key for ParallelAiSearch. If an API key is not provided, the
|
|
50083
|
+
# system will attempt to verify access by checking for an active Parallel.ai
|
|
50084
|
+
# subscription through the Google Cloud Marketplace. See https://docs.parallel.
|
|
50085
|
+
# ai/search/search-quickstart for more details.
|
|
50086
|
+
# Corresponds to the JSON property `apiKey`
|
|
50087
|
+
# @return [String]
|
|
50088
|
+
attr_accessor :api_key
|
|
50089
|
+
|
|
50090
|
+
# Optional. Custom configs for ParallelAiSearch. This field can be used to pass
|
|
50091
|
+
# any parameter from the Parallel.ai Search API. See the Parallel.ai
|
|
50092
|
+
# documentation for the full list of available parameters and their usage: https:
|
|
50093
|
+
# //docs.parallel.ai/api-reference/search-beta/search Currently only `
|
|
50094
|
+
# source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set
|
|
50095
|
+
# via this field. For example: ` "source_policy": ` "include_domains": ["google.
|
|
50096
|
+
# com", "wikipedia.org"], "exclude_domains": ["example.com"] `, "fetch_policy": `
|
|
50097
|
+
# "max_age_seconds": 3600 ` `
|
|
50098
|
+
# Corresponds to the JSON property `customConfigs`
|
|
50099
|
+
# @return [Hash<String,Object>]
|
|
50100
|
+
attr_accessor :custom_configs
|
|
50101
|
+
|
|
50102
|
+
def initialize(**args)
|
|
50103
|
+
update!(**args)
|
|
50104
|
+
end
|
|
50105
|
+
|
|
50106
|
+
# Update properties of this object
|
|
50107
|
+
def update!(**args)
|
|
50108
|
+
@api_key = args[:api_key] if args.key?(:api_key)
|
|
50109
|
+
@custom_configs = args[:custom_configs] if args.key?(:custom_configs)
|
|
50110
|
+
end
|
|
50111
|
+
end
|
|
50112
|
+
|
|
49738
50113
|
# Input for tool parameter key value match metric.
|
|
49739
50114
|
class GoogleCloudAiplatformV1beta1ToolParameterKvMatchInput
|
|
49740
50115
|
include Google::Apis::Core::Hashable
|
|
@@ -50063,8 +50438,8 @@ module Google
|
|
|
50063
50438
|
# @return [String]
|
|
50064
50439
|
attr_accessor :display_name
|
|
50065
50440
|
|
|
50066
|
-
# Represents a customer-managed encryption key
|
|
50067
|
-
#
|
|
50441
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
50442
|
+
# to a Vertex AI resource.
|
|
50068
50443
|
# Corresponds to the JSON property `encryptionSpec`
|
|
50069
50444
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
50070
50445
|
attr_accessor :encryption_spec
|
|
@@ -51178,8 +51553,8 @@ module Google
|
|
|
51178
51553
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationSpec]
|
|
51179
51554
|
attr_accessor :distillation_spec
|
|
51180
51555
|
|
|
51181
|
-
# Represents a customer-managed encryption key
|
|
51182
|
-
#
|
|
51556
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
51557
|
+
# to a Vertex AI resource.
|
|
51183
51558
|
# Corresponds to the JSON property `encryptionSpec`
|
|
51184
51559
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
|
51185
51560
|
attr_accessor :encryption_spec
|
|
@@ -52443,6 +52818,13 @@ module Google
|
|
|
52443
52818
|
# @return [String]
|
|
52444
52819
|
attr_accessor :tuning_task
|
|
52445
52820
|
|
|
52821
|
+
# Optional. The ratio of Google internal dataset to use in the training mixture,
|
|
52822
|
+
# in range of `[0, 1)`. If `0.2`, it means 20% of Google internal dataset and 80%
|
|
52823
|
+
# of user dataset will be used for training.
|
|
52824
|
+
# Corresponds to the JSON property `veoDataMixtureRatio`
|
|
52825
|
+
# @return [Float]
|
|
52826
|
+
attr_accessor :veo_data_mixture_ratio
|
|
52827
|
+
|
|
52446
52828
|
def initialize(**args)
|
|
52447
52829
|
update!(**args)
|
|
52448
52830
|
end
|
|
@@ -52452,6 +52834,7 @@ module Google
|
|
|
52452
52834
|
@epoch_count = args[:epoch_count] if args.key?(:epoch_count)
|
|
52453
52835
|
@learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
|
|
52454
52836
|
@tuning_task = args[:tuning_task] if args.key?(:tuning_task)
|
|
52837
|
+
@veo_data_mixture_ratio = args[:veo_data_mixture_ratio] if args.key?(:veo_data_mixture_ratio)
|
|
52455
52838
|
end
|
|
52456
52839
|
end
|
|
52457
52840
|
|