google-apis-aiplatform_v1beta1 0.68.0 → 0.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +198 -16
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +67 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +99 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 402387c7b5f852d09a5436bf551cf4c2918d7439b0acef3be3b8a9d01408f2ed
|
|
4
|
+
data.tar.gz: 79bd4cbffc1db2b9d9f46899f5bc28a66e489f53927692478014e4f352214f20
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c7cb33cae021b3fb8709b2574b56342a757377f16503ee9a41e1409dc63b0dd3c50fbfe57ef8b3f97f1aa3ab162f12b3b786663a430a9a0836857d8e619eb3e
|
|
7
|
+
data.tar.gz: c45ec9978dd941654b57217cd5cb8d613cbff8f80325c4aa1734e1dd697efaae8a0a1e0a6b9a071dab3dd3e4a26dd58811515f0b86c3f31eebbe3d385206b043
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -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)
|
|
@@ -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)
|
|
@@ -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
|
|
|
@@ -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
|
|
@@ -17443,6 +17502,12 @@ module Google
|
|
|
17443
17502
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
|
|
17444
17503
|
attr_accessor :contents
|
|
17445
17504
|
|
|
17505
|
+
# Required. The resource name of the Location to generate rubrics from. Format: `
|
|
17506
|
+
# projects/`project`/locations/`location``
|
|
17507
|
+
# Corresponds to the JSON property `location`
|
|
17508
|
+
# @return [String]
|
|
17509
|
+
attr_accessor :location
|
|
17510
|
+
|
|
17446
17511
|
# The spec for a pre-defined metric.
|
|
17447
17512
|
# Corresponds to the JSON property `predefinedRubricGenerationSpec`
|
|
17448
17513
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredefinedMetricSpec]
|
|
@@ -17461,6 +17526,7 @@ module Google
|
|
|
17461
17526
|
def update!(**args)
|
|
17462
17527
|
@agent_config = args[:agent_config] if args.key?(:agent_config)
|
|
17463
17528
|
@contents = args[:contents] if args.key?(:contents)
|
|
17529
|
+
@location = args[:location] if args.key?(:location)
|
|
17464
17530
|
@predefined_rubric_generation_spec = args[:predefined_rubric_generation_spec] if args.key?(:predefined_rubric_generation_spec)
|
|
17465
17531
|
@rubric_generation_spec = args[:rubric_generation_spec] if args.key?(:rubric_generation_spec)
|
|
17466
17532
|
end
|
|
@@ -22585,7 +22651,20 @@ module Google
|
|
|
22585
22651
|
class GoogleCloudAiplatformV1beta1MachineSpec
|
|
22586
22652
|
include Google::Apis::Core::Hashable
|
|
22587
22653
|
|
|
22588
|
-
# The number of accelerators to attach to the machine.
|
|
22654
|
+
# The number of accelerators to attach to the machine. For accelerator optimized
|
|
22655
|
+
# machine types (https://cloud.google.com/compute/docs/accelerator-optimized-
|
|
22656
|
+
# machines), One may set the accelerator_count from 1 to N for machine with N
|
|
22657
|
+
# GPUs. If accelerator_count is less than or equal to N / 2, Vertex will co-
|
|
22658
|
+
# schedule the replicas of the model into the same VM to save cost. For example,
|
|
22659
|
+
# if the machine type is a3-highgpu-8g, which has 8 H100 GPUs, one can set
|
|
22660
|
+
# accelerator_count to 1 to 8. If accelerator_count is 1, 2, 3, or 4, Vertex
|
|
22661
|
+
# will co-schedule 8, 4, 2, or 2 replicas of the model into the same VM to save
|
|
22662
|
+
# cost. When co-scheduling, CPU, memory and storage on the VM will be
|
|
22663
|
+
# distributed to replicas on the VM. For example, one can expect a co-scheduled
|
|
22664
|
+
# replica requesting 2 GPUs out of a 8-GPU VM will receive 25% of the CPU,
|
|
22665
|
+
# memory and storage of the VM. Note that the feature is not compatible with
|
|
22666
|
+
# multihost_gpu_node_count. When multihost_gpu_node_count is set, the co-
|
|
22667
|
+
# scheduling will not be enabled.
|
|
22589
22668
|
# Corresponds to the JSON property `acceleratorCount`
|
|
22590
22669
|
# @return [Fixnum]
|
|
22591
22670
|
attr_accessor :accelerator_count
|
|
@@ -22859,6 +22938,15 @@ module Google
|
|
|
22859
22938
|
class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig
|
|
22860
22939
|
include Google::Apis::Core::Hashable
|
|
22861
22940
|
|
|
22941
|
+
# Optional. If true, then the memories will be generated in the third person (i.
|
|
22942
|
+
# e. "The user generates memories with Memory Bank."). By default, the memories
|
|
22943
|
+
# will be generated in the first person (i.e. "I generate memories with Memory
|
|
22944
|
+
# Bank.")
|
|
22945
|
+
# Corresponds to the JSON property `enableThirdPersonMemories`
|
|
22946
|
+
# @return [Boolean]
|
|
22947
|
+
attr_accessor :enable_third_person_memories
|
|
22948
|
+
alias_method :enable_third_person_memories?, :enable_third_person_memories
|
|
22949
|
+
|
|
22862
22950
|
# Optional. Examples of how to generate memories for a particular scope.
|
|
22863
22951
|
# Corresponds to the JSON property `generateMemoriesExamples`
|
|
22864
22952
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample>]
|
|
@@ -22886,6 +22974,7 @@ module Google
|
|
|
22886
22974
|
|
|
22887
22975
|
# Update properties of this object
|
|
22888
22976
|
def update!(**args)
|
|
22977
|
+
@enable_third_person_memories = args[:enable_third_person_memories] if args.key?(:enable_third_person_memories)
|
|
22889
22978
|
@generate_memories_examples = args[:generate_memories_examples] if args.key?(:generate_memories_examples)
|
|
22890
22979
|
@memory_topics = args[:memory_topics] if args.key?(:memory_topics)
|
|
22891
22980
|
@scope_keys = args[:scope_keys] if args.key?(:scope_keys)
|
|
@@ -28860,7 +28949,7 @@ module Google
|
|
|
28860
28949
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
|
28861
28950
|
attr_accessor :content
|
|
28862
28951
|
|
|
28863
|
-
# Optional. The
|
|
28952
|
+
# Optional. The optimization strategy for prompt optimization.
|
|
28864
28953
|
# Corresponds to the JSON property `optimizationTarget`
|
|
28865
28954
|
# @return [String]
|
|
28866
28955
|
attr_accessor :optimization_target
|
|
@@ -34386,6 +34475,11 @@ module Google
|
|
|
34386
34475
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb]
|
|
34387
34476
|
attr_accessor :rag_managed_db
|
|
34388
34477
|
|
|
34478
|
+
# The config for the RAG-managed Vertex Vector Search 2.0.
|
|
34479
|
+
# Corresponds to the JSON property `ragManagedVertexVectorSearch`
|
|
34480
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch]
|
|
34481
|
+
attr_accessor :rag_managed_vertex_vector_search
|
|
34482
|
+
|
|
34389
34483
|
# The config for the Vertex Feature Store.
|
|
34390
34484
|
# Corresponds to the JSON property `vertexFeatureStore`
|
|
34391
34485
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore]
|
|
@@ -34411,6 +34505,7 @@ module Google
|
|
|
34411
34505
|
@pinecone = args[:pinecone] if args.key?(:pinecone)
|
|
34412
34506
|
@rag_embedding_model_config = args[:rag_embedding_model_config] if args.key?(:rag_embedding_model_config)
|
|
34413
34507
|
@rag_managed_db = args[:rag_managed_db] if args.key?(:rag_managed_db)
|
|
34508
|
+
@rag_managed_vertex_vector_search = args[:rag_managed_vertex_vector_search] if args.key?(:rag_managed_vertex_vector_search)
|
|
34414
34509
|
@vertex_feature_store = args[:vertex_feature_store] if args.key?(:vertex_feature_store)
|
|
34415
34510
|
@vertex_vector_search = args[:vertex_vector_search] if args.key?(:vertex_vector_search)
|
|
34416
34511
|
@weaviate = args[:weaviate] if args.key?(:weaviate)
|
|
@@ -34510,6 +34605,28 @@ module Google
|
|
|
34510
34605
|
end
|
|
34511
34606
|
end
|
|
34512
34607
|
|
|
34608
|
+
# The config for the RAG-managed Vertex Vector Search 2.0.
|
|
34609
|
+
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch
|
|
34610
|
+
include Google::Apis::Core::Hashable
|
|
34611
|
+
|
|
34612
|
+
# Output only. The resource name of the Vector Search 2.0 Collection that RAG
|
|
34613
|
+
# Created for the corpus. Only populated after the corpus is successfully
|
|
34614
|
+
# created. Format: `projects/`project`/locations/`location`/collections/`
|
|
34615
|
+
# collection_id``
|
|
34616
|
+
# Corresponds to the JSON property `collectionName`
|
|
34617
|
+
# @return [String]
|
|
34618
|
+
attr_accessor :collection_name
|
|
34619
|
+
|
|
34620
|
+
def initialize(**args)
|
|
34621
|
+
update!(**args)
|
|
34622
|
+
end
|
|
34623
|
+
|
|
34624
|
+
# Update properties of this object
|
|
34625
|
+
def update!(**args)
|
|
34626
|
+
@collection_name = args[:collection_name] if args.key?(:collection_name)
|
|
34627
|
+
end
|
|
34628
|
+
end
|
|
34629
|
+
|
|
34513
34630
|
# The config for the Vertex Feature Store.
|
|
34514
34631
|
class GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore
|
|
34515
34632
|
include Google::Apis::Core::Hashable
|
|
@@ -35517,6 +35634,12 @@ module Google
|
|
|
35517
35634
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec
|
|
35518
35635
|
include Google::Apis::Core::Hashable
|
|
35519
35636
|
|
|
35637
|
+
# Specifies source code to be fetched from a Git repository managed through the
|
|
35638
|
+
# Developer Connect service.
|
|
35639
|
+
# Corresponds to the JSON property `developerConnectSource`
|
|
35640
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource]
|
|
35641
|
+
attr_accessor :developer_connect_source
|
|
35642
|
+
|
|
35520
35643
|
# Specifies source code provided as a byte stream.
|
|
35521
35644
|
# Corresponds to the JSON property `inlineSource`
|
|
35522
35645
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource]
|
|
@@ -35533,16 +35656,74 @@ module Google
|
|
|
35533
35656
|
|
|
35534
35657
|
# Update properties of this object
|
|
35535
35658
|
def update!(**args)
|
|
35659
|
+
@developer_connect_source = args[:developer_connect_source] if args.key?(:developer_connect_source)
|
|
35536
35660
|
@inline_source = args[:inline_source] if args.key?(:inline_source)
|
|
35537
35661
|
@python_spec = args[:python_spec] if args.key?(:python_spec)
|
|
35538
35662
|
end
|
|
35539
35663
|
end
|
|
35540
35664
|
|
|
35665
|
+
# Specifies the configuration for fetching source code from a Git repository
|
|
35666
|
+
# that is managed by Developer Connect. This includes the repository, revision,
|
|
35667
|
+
# and directory to use.
|
|
35668
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig
|
|
35669
|
+
include Google::Apis::Core::Hashable
|
|
35670
|
+
|
|
35671
|
+
# Required. Directory, relative to the source root, in which to run the build.
|
|
35672
|
+
# Corresponds to the JSON property `dir`
|
|
35673
|
+
# @return [String]
|
|
35674
|
+
attr_accessor :dir
|
|
35675
|
+
|
|
35676
|
+
# Required. The Developer Connect Git repository link, formatted as `projects/*/
|
|
35677
|
+
# locations/*/connections/*/gitRepositoryLink/*`.
|
|
35678
|
+
# Corresponds to the JSON property `gitRepositoryLink`
|
|
35679
|
+
# @return [String]
|
|
35680
|
+
attr_accessor :git_repository_link
|
|
35681
|
+
|
|
35682
|
+
# Required. The revision to fetch from the Git repository such as a branch, a
|
|
35683
|
+
# tag, a commit SHA, or any Git ref.
|
|
35684
|
+
# Corresponds to the JSON property `revision`
|
|
35685
|
+
# @return [String]
|
|
35686
|
+
attr_accessor :revision
|
|
35687
|
+
|
|
35688
|
+
def initialize(**args)
|
|
35689
|
+
update!(**args)
|
|
35690
|
+
end
|
|
35691
|
+
|
|
35692
|
+
# Update properties of this object
|
|
35693
|
+
def update!(**args)
|
|
35694
|
+
@dir = args[:dir] if args.key?(:dir)
|
|
35695
|
+
@git_repository_link = args[:git_repository_link] if args.key?(:git_repository_link)
|
|
35696
|
+
@revision = args[:revision] if args.key?(:revision)
|
|
35697
|
+
end
|
|
35698
|
+
end
|
|
35699
|
+
|
|
35700
|
+
# Specifies source code to be fetched from a Git repository managed through the
|
|
35701
|
+
# Developer Connect service.
|
|
35702
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource
|
|
35703
|
+
include Google::Apis::Core::Hashable
|
|
35704
|
+
|
|
35705
|
+
# Specifies the configuration for fetching source code from a Git repository
|
|
35706
|
+
# that is managed by Developer Connect. This includes the repository, revision,
|
|
35707
|
+
# and directory to use.
|
|
35708
|
+
# Corresponds to the JSON property `config`
|
|
35709
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig]
|
|
35710
|
+
attr_accessor :config
|
|
35711
|
+
|
|
35712
|
+
def initialize(**args)
|
|
35713
|
+
update!(**args)
|
|
35714
|
+
end
|
|
35715
|
+
|
|
35716
|
+
# Update properties of this object
|
|
35717
|
+
def update!(**args)
|
|
35718
|
+
@config = args[:config] if args.key?(:config)
|
|
35719
|
+
end
|
|
35720
|
+
end
|
|
35721
|
+
|
|
35541
35722
|
# Specifies source code provided as a byte stream.
|
|
35542
35723
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource
|
|
35543
35724
|
include Google::Apis::Core::Hashable
|
|
35544
35725
|
|
|
35545
|
-
# Required. Input only. The application source code archive
|
|
35726
|
+
# Required. Input only. The application source code archive. It must be a
|
|
35546
35727
|
# compressed tarball (.tar.gz) file.
|
|
35547
35728
|
# Corresponds to the JSON property `sourceArchive`
|
|
35548
35729
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
@@ -35926,9 +36107,9 @@ module Google
|
|
|
35926
36107
|
class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig
|
|
35927
36108
|
include Google::Apis::Core::Hashable
|
|
35928
36109
|
|
|
35929
|
-
# Optional. The mimetype of the voice sample.
|
|
35930
|
-
# is
|
|
35931
|
-
# sampling rate.
|
|
36110
|
+
# Optional. The mimetype of the voice sample. The only currently supported value
|
|
36111
|
+
# is `audio/wav`. This represents 16-bit signed little-endian wav data, with a
|
|
36112
|
+
# 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.
|
|
35932
36113
|
# Corresponds to the JSON property `mimeType`
|
|
35933
36114
|
# @return [String]
|
|
35934
36115
|
attr_accessor :mime_type
|
|
@@ -45770,7 +45951,8 @@ module Google
|
|
|
45770
45951
|
attr_accessor :display_name
|
|
45771
45952
|
|
|
45772
45953
|
# Optional. Timestamp of when this session is considered expired. This is *
|
|
45773
|
-
# always* provided on output, regardless of what was sent on input.
|
|
45954
|
+
# always* provided on output, regardless of what was sent on input. The minimum
|
|
45955
|
+
# value is 24 hours from the time of creation.
|
|
45774
45956
|
# Corresponds to the JSON property `expireTime`
|
|
45775
45957
|
# @return [String]
|
|
45776
45958
|
attr_accessor :expire_time
|
|
@@ -45795,7 +45977,7 @@ module Google
|
|
|
45795
45977
|
# @return [Hash<String,Object>]
|
|
45796
45978
|
attr_accessor :session_state
|
|
45797
45979
|
|
|
45798
|
-
# Optional. Input only. The TTL for this session.
|
|
45980
|
+
# Optional. Input only. The TTL for this session. The minimum value is 24 hours.
|
|
45799
45981
|
# Corresponds to the JSON property `ttl`
|
|
45800
45982
|
# @return [String]
|
|
45801
45983
|
attr_accessor :ttl
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module AiplatformV1beta1
|
|
18
18
|
# Version of the google-apis-aiplatform_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.69.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251210"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -2710,6 +2710,12 @@ module Google
|
|
|
2710
2710
|
include Google::Apis::Core::JsonObjectSupport
|
|
2711
2711
|
end
|
|
2712
2712
|
|
|
2713
|
+
class GoogleCloudAiplatformV1beta1FullFineTunedResources
|
|
2714
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2715
|
+
|
|
2716
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2717
|
+
end
|
|
2718
|
+
|
|
2713
2719
|
class GoogleCloudAiplatformV1beta1FullFineTuningSpec
|
|
2714
2720
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2715
2721
|
|
|
@@ -5656,6 +5662,12 @@ module Google
|
|
|
5656
5662
|
include Google::Apis::Core::JsonObjectSupport
|
|
5657
5663
|
end
|
|
5658
5664
|
|
|
5665
|
+
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch
|
|
5666
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5667
|
+
|
|
5668
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5669
|
+
end
|
|
5670
|
+
|
|
5659
5671
|
class GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore
|
|
5660
5672
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5661
5673
|
|
|
@@ -5854,6 +5866,18 @@ module Google
|
|
|
5854
5866
|
include Google::Apis::Core::JsonObjectSupport
|
|
5855
5867
|
end
|
|
5856
5868
|
|
|
5869
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig
|
|
5870
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5871
|
+
|
|
5872
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5873
|
+
end
|
|
5874
|
+
|
|
5875
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource
|
|
5876
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5877
|
+
|
|
5878
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5879
|
+
end
|
|
5880
|
+
|
|
5857
5881
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource
|
|
5858
5882
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5859
5883
|
|
|
@@ -11329,6 +11353,8 @@ module Google
|
|
|
11329
11353
|
|
|
11330
11354
|
property :faster_deployment_config, as: 'fasterDeploymentConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig::Representation
|
|
11331
11355
|
|
|
11356
|
+
property :full_fine_tuned_resources, as: 'fullFineTunedResources', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FullFineTunedResources, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FullFineTunedResources::Representation
|
|
11357
|
+
|
|
11332
11358
|
property :gdc_connected_model, as: 'gdcConnectedModel'
|
|
11333
11359
|
property :id, as: 'id'
|
|
11334
11360
|
property :model, as: 'model'
|
|
@@ -11648,6 +11674,7 @@ module Google
|
|
|
11648
11674
|
|
|
11649
11675
|
property :dataset, as: 'dataset', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationDataset, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationDataset::Representation
|
|
11650
11676
|
|
|
11677
|
+
property :location, as: 'location'
|
|
11651
11678
|
collection :metrics, as: 'metrics', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric::Representation
|
|
11652
11679
|
|
|
11653
11680
|
property :output_config, as: 'outputConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OutputConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OutputConfig::Representation
|
|
@@ -11698,6 +11725,7 @@ module Google
|
|
|
11698
11725
|
|
|
11699
11726
|
property :instance, as: 'instance', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstance, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstance::Representation
|
|
11700
11727
|
|
|
11728
|
+
property :location, as: 'location'
|
|
11701
11729
|
collection :metrics, as: 'metrics', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric::Representation
|
|
11702
11730
|
|
|
11703
11731
|
property :metricx_input, as: 'metricxInput', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetricxInput, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetricxInput::Representation
|
|
@@ -13072,6 +13100,7 @@ module Google
|
|
|
13072
13100
|
property :bigtable_metadata, as: 'bigtableMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata::Representation
|
|
13073
13101
|
|
|
13074
13102
|
property :enable_direct_bigtable_access, as: 'enableDirectBigtableAccess'
|
|
13103
|
+
property :zone, as: 'zone'
|
|
13075
13104
|
end
|
|
13076
13105
|
end
|
|
13077
13106
|
|
|
@@ -13767,6 +13796,14 @@ module Google
|
|
|
13767
13796
|
end
|
|
13768
13797
|
end
|
|
13769
13798
|
|
|
13799
|
+
class GoogleCloudAiplatformV1beta1FullFineTunedResources
|
|
13800
|
+
# @private
|
|
13801
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
13802
|
+
property :deployment_type, as: 'deploymentType'
|
|
13803
|
+
property :model_inference_unit_count, as: 'modelInferenceUnitCount'
|
|
13804
|
+
end
|
|
13805
|
+
end
|
|
13806
|
+
|
|
13770
13807
|
class GoogleCloudAiplatformV1beta1FullFineTuningSpec
|
|
13771
13808
|
# @private
|
|
13772
13809
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -14051,6 +14088,7 @@ module Google
|
|
|
14051
14088
|
|
|
14052
14089
|
collection :contents, as: 'contents', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
|
|
14053
14090
|
|
|
14091
|
+
property :location, as: 'location'
|
|
14054
14092
|
property :predefined_rubric_generation_spec, as: 'predefinedRubricGenerationSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredefinedMetricSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredefinedMetricSpec::Representation
|
|
14055
14093
|
|
|
14056
14094
|
property :rubric_generation_spec, as: 'rubricGenerationSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RubricGenerationSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RubricGenerationSpec::Representation
|
|
@@ -15646,6 +15684,7 @@ module Google
|
|
|
15646
15684
|
class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig
|
|
15647
15685
|
# @private
|
|
15648
15686
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15687
|
+
property :enable_third_person_memories, as: 'enableThirdPersonMemories'
|
|
15649
15688
|
collection :generate_memories_examples, as: 'generateMemoriesExamples', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample::Representation
|
|
15650
15689
|
|
|
15651
15690
|
collection :memory_topics, as: 'memoryTopics', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopic, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopic::Representation
|
|
@@ -18903,6 +18942,8 @@ module Google
|
|
|
18903
18942
|
|
|
18904
18943
|
property :rag_managed_db, as: 'ragManagedDb', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb::Representation
|
|
18905
18944
|
|
|
18945
|
+
property :rag_managed_vertex_vector_search, as: 'ragManagedVertexVectorSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch::Representation
|
|
18946
|
+
|
|
18906
18947
|
property :vertex_feature_store, as: 'vertexFeatureStore', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore::Representation
|
|
18907
18948
|
|
|
18908
18949
|
property :vertex_vector_search, as: 'vertexVectorSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch::Representation
|
|
@@ -18943,6 +18984,13 @@ module Google
|
|
|
18943
18984
|
end
|
|
18944
18985
|
end
|
|
18945
18986
|
|
|
18987
|
+
class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch
|
|
18988
|
+
# @private
|
|
18989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
18990
|
+
property :collection_name, as: 'collectionName'
|
|
18991
|
+
end
|
|
18992
|
+
end
|
|
18993
|
+
|
|
18946
18994
|
class GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore
|
|
18947
18995
|
# @private
|
|
18948
18996
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -19250,6 +19298,8 @@ module Google
|
|
|
19250
19298
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec
|
|
19251
19299
|
# @private
|
|
19252
19300
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
19301
|
+
property :developer_connect_source, as: 'developerConnectSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource::Representation
|
|
19302
|
+
|
|
19253
19303
|
property :inline_source, as: 'inlineSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource::Representation
|
|
19254
19304
|
|
|
19255
19305
|
property :python_spec, as: 'pythonSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecPythonSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecPythonSpec::Representation
|
|
@@ -19257,6 +19307,23 @@ module Google
|
|
|
19257
19307
|
end
|
|
19258
19308
|
end
|
|
19259
19309
|
|
|
19310
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig
|
|
19311
|
+
# @private
|
|
19312
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
19313
|
+
property :dir, as: 'dir'
|
|
19314
|
+
property :git_repository_link, as: 'gitRepositoryLink'
|
|
19315
|
+
property :revision, as: 'revision'
|
|
19316
|
+
end
|
|
19317
|
+
end
|
|
19318
|
+
|
|
19319
|
+
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource
|
|
19320
|
+
# @private
|
|
19321
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
19322
|
+
property :config, as: 'config', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig::Representation
|
|
19323
|
+
|
|
19324
|
+
end
|
|
19325
|
+
end
|
|
19326
|
+
|
|
19260
19327
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource
|
|
19261
19328
|
# @private
|
|
19262
19329
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -28957,7 +28957,12 @@ module Google
|
|
|
28957
28957
|
# @param [String] update_mask
|
|
28958
28958
|
# Required. The update mask applies to the resource. For the `FieldMask`
|
|
28959
28959
|
# definition, see google.protobuf.FieldMask. Input format: ``paths: "$`
|
|
28960
|
-
#
|
|
28960
|
+
# updated_field`"`` Updatable fields: * `encryption_spec.kms_key_name` * `
|
|
28961
|
+
# display_name` * `software_config.post_startup_script_config.
|
|
28962
|
+
# post_startup_script` * `software_config.post_startup_script_config.
|
|
28963
|
+
# post_startup_script_url` * `software_config.post_startup_script_config.
|
|
28964
|
+
# post_startup_script_behavior` * `software_config.env` * `software_config.
|
|
28965
|
+
# colab_image.release_name`
|
|
28961
28966
|
# @param [String] fields
|
|
28962
28967
|
# Selector specifying which fields to include in a partial response.
|
|
28963
28968
|
# @param [String] quota_user
|
|
@@ -44261,6 +44266,99 @@ module Google
|
|
|
44261
44266
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
44262
44267
|
execute_or_queue_command(command, &block)
|
|
44263
44268
|
end
|
|
44269
|
+
|
|
44270
|
+
# Evaluates a dataset based on a set of given metrics.
|
|
44271
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateDatasetRequest] google_cloud_aiplatform_v1beta1_evaluate_dataset_request_object
|
|
44272
|
+
# @param [String] fields
|
|
44273
|
+
# Selector specifying which fields to include in a partial response.
|
|
44274
|
+
# @param [String] quota_user
|
|
44275
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
44276
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
44277
|
+
# @param [Google::Apis::RequestOptions] options
|
|
44278
|
+
# Request-specific options
|
|
44279
|
+
#
|
|
44280
|
+
# @yield [result, err] Result & error if block supplied
|
|
44281
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
|
44282
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
44283
|
+
#
|
|
44284
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
|
44285
|
+
#
|
|
44286
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
44287
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
44288
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
44289
|
+
def evaluate_dataset(google_cloud_aiplatform_v1beta1_evaluate_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
44290
|
+
command = make_simple_command(:post, 'v1beta1:evaluateDataset', options)
|
|
44291
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateDatasetRequest::Representation
|
|
44292
|
+
command.request_object = google_cloud_aiplatform_v1beta1_evaluate_dataset_request_object
|
|
44293
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
44294
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
44295
|
+
command.query['fields'] = fields unless fields.nil?
|
|
44296
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
44297
|
+
execute_or_queue_command(command, &block)
|
|
44298
|
+
end
|
|
44299
|
+
|
|
44300
|
+
# Evaluates instances based on a given metric.
|
|
44301
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateInstancesRequest] google_cloud_aiplatform_v1beta1_evaluate_instances_request_object
|
|
44302
|
+
# @param [String] fields
|
|
44303
|
+
# Selector specifying which fields to include in a partial response.
|
|
44304
|
+
# @param [String] quota_user
|
|
44305
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
44306
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
44307
|
+
# @param [Google::Apis::RequestOptions] options
|
|
44308
|
+
# Request-specific options
|
|
44309
|
+
#
|
|
44310
|
+
# @yield [result, err] Result & error if block supplied
|
|
44311
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateInstancesResponse] parsed result object
|
|
44312
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
44313
|
+
#
|
|
44314
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateInstancesResponse]
|
|
44315
|
+
#
|
|
44316
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
44317
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
44318
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
44319
|
+
def evaluate_instances(google_cloud_aiplatform_v1beta1_evaluate_instances_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
44320
|
+
command = make_simple_command(:post, 'v1beta1:evaluateInstances', options)
|
|
44321
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateInstancesRequest::Representation
|
|
44322
|
+
command.request_object = google_cloud_aiplatform_v1beta1_evaluate_instances_request_object
|
|
44323
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateInstancesResponse::Representation
|
|
44324
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateInstancesResponse
|
|
44325
|
+
command.query['fields'] = fields unless fields.nil?
|
|
44326
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
44327
|
+
execute_or_queue_command(command, &block)
|
|
44328
|
+
end
|
|
44329
|
+
|
|
44330
|
+
# Generates rubrics for a given prompt. A rubric represents a single testable
|
|
44331
|
+
# criterion for evaluation. One input prompt could have multiple rubrics This
|
|
44332
|
+
# RPC allows users to get suggested rubrics based on provided prompt, which can
|
|
44333
|
+
# then be reviewed and used for subsequent evaluations.
|
|
44334
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest] google_cloud_aiplatform_v1beta1_generate_instance_rubrics_request_object
|
|
44335
|
+
# @param [String] fields
|
|
44336
|
+
# Selector specifying which fields to include in a partial response.
|
|
44337
|
+
# @param [String] quota_user
|
|
44338
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
44339
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
44340
|
+
# @param [Google::Apis::RequestOptions] options
|
|
44341
|
+
# Request-specific options
|
|
44342
|
+
#
|
|
44343
|
+
# @yield [result, err] Result & error if block supplied
|
|
44344
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse] parsed result object
|
|
44345
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
44346
|
+
#
|
|
44347
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse]
|
|
44348
|
+
#
|
|
44349
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
44350
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
44351
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
44352
|
+
def generate_instance_rubrics(google_cloud_aiplatform_v1beta1_generate_instance_rubrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
44353
|
+
command = make_simple_command(:post, 'v1beta1:generateInstanceRubrics', options)
|
|
44354
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest::Representation
|
|
44355
|
+
command.request_object = google_cloud_aiplatform_v1beta1_generate_instance_rubrics_request_object
|
|
44356
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse::Representation
|
|
44357
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse
|
|
44358
|
+
command.query['fields'] = fields unless fields.nil?
|
|
44359
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
44360
|
+
execute_or_queue_command(command, &block)
|
|
44361
|
+
end
|
|
44264
44362
|
|
|
44265
44363
|
protected
|
|
44266
44364
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.69.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.69.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|