google-cloud-ai_platform-v1 1.32.0 → 1.34.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/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +50 -34
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +53 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07d2195a023b89a3f1bbe3c6ef2959967da8d998322e114eec74a0c0ecad8815
|
|
4
|
+
data.tar.gz: 59e98889436832ae7b63f8572829d9b52e1ccd3a93597f41ad0505dd091bd0da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02b787bd53394f2a21a095ccc4e3c00dd211e8593370279c9916bd018f07d69efeb59e38e874ff67096dfb32ecee25e85c6615fcc229d9b9fbfa43a49b44612d
|
|
7
|
+
data.tar.gz: 0fd42a492a4da0d9c3343e7c3fa02bf2eb5703c58501ecff46071265a80b8400854c7fa3f4b0a51ef92782c8b4d7660f35be56541edf428e96ba910ccee1031e
|
|
@@ -17,7 +17,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
17
17
|
require 'google/rpc/status_pb'
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
descriptor_data = "\n+google/cloud/aiplatform/v1/custom_job.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a(google/cloud/aiplatform/v1/env_var.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a*google/cloud/aiplatform/v1/job_state.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x33google/cloud/aiplatform/v1/service_networking.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x99\x07\n\tCustomJob\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x08job_spec\x18\x04 \x01(\x0b\x32).google.cloud.aiplatform.v1.CustomJobSpecB\x03\xe0\x41\x02\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32$.google.cloud.aiplatform.v1.JobStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\n \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x0b \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.CustomJob.LabelsEntry\x12\x43\n\x0f\x65ncryption_spec\x18\x0c \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12V\n\x0fweb_access_uris\x18\x10 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.CustomJob.WebAccessUrisEntryB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x12 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12WebAccessUrisEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:i\xea\x41\x66\n#aiplatform.googleapis.com/CustomJob\x12?projects/{project}/locations/{location}/customJobs/{custom_job}\"\xeb\x06\n\rCustomJobSpec\x12T\n\x16persistent_resource_id\x18\x0e \x01(\tB4\xe0\x41\x01\xfa\x41.\n,aiplatform.googleapis.com/PersistentResource\x12J\n\x11worker_pool_specs\x18\x01 \x03(\x0b\x32*.google.cloud.aiplatform.v1.WorkerPoolSpecB\x03\xe0\x41\x02\x12:\n\nscheduling\x18\x03 \x01(\x0b\x32&.google.cloud.aiplatform.v1.Scheduling\x12\x17\n\x0fservice_account\x18\x04 \x01(\t\x12\x37\n\x07network\x18\x05 \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1f\n\x12reserved_ip_ranges\x18\r \x03(\tB\x03\xe0\x41\x01\x12Q\n\x14psc_interface_config\x18\x15 \x01(\x0b\x32..google.cloud.aiplatform.v1.PscInterfaceConfigB\x03\xe0\x41\x01\x12I\n\x15\x62\x61se_output_directory\x18\x06 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestination\x12&\n\x1eprotected_artifact_location_id\x18\x13 \x01(\t\x12\x42\n\x0btensorboard\x18\x07 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%aiplatform.googleapis.com/Tensorboard\x12\x1e\n\x11\x65nable_web_access\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x12$\n\x17\x65nable_dashboard_access\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12=\n\nexperiment\x18\x11 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!aiplatform.googleapis.com/Context\x12\x41\n\x0e\x65xperiment_run\x18\x12 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!aiplatform.googleapis.com/Context\x12\x37\n\x06models\x18\x14 \x03(\tB\'\xe0\x41\x01\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\"\
|
|
20
|
+
descriptor_data = "\n+google/cloud/aiplatform/v1/custom_job.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a(google/cloud/aiplatform/v1/env_var.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a*google/cloud/aiplatform/v1/job_state.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x33google/cloud/aiplatform/v1/service_networking.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x99\x07\n\tCustomJob\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x08job_spec\x18\x04 \x01(\x0b\x32).google.cloud.aiplatform.v1.CustomJobSpecB\x03\xe0\x41\x02\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32$.google.cloud.aiplatform.v1.JobStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\n \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x0b \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.CustomJob.LabelsEntry\x12\x43\n\x0f\x65ncryption_spec\x18\x0c \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12V\n\x0fweb_access_uris\x18\x10 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.CustomJob.WebAccessUrisEntryB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x12 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12WebAccessUrisEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:i\xea\x41\x66\n#aiplatform.googleapis.com/CustomJob\x12?projects/{project}/locations/{location}/customJobs/{custom_job}\"\xeb\x06\n\rCustomJobSpec\x12T\n\x16persistent_resource_id\x18\x0e \x01(\tB4\xe0\x41\x01\xfa\x41.\n,aiplatform.googleapis.com/PersistentResource\x12J\n\x11worker_pool_specs\x18\x01 \x03(\x0b\x32*.google.cloud.aiplatform.v1.WorkerPoolSpecB\x03\xe0\x41\x02\x12:\n\nscheduling\x18\x03 \x01(\x0b\x32&.google.cloud.aiplatform.v1.Scheduling\x12\x17\n\x0fservice_account\x18\x04 \x01(\t\x12\x37\n\x07network\x18\x05 \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1f\n\x12reserved_ip_ranges\x18\r \x03(\tB\x03\xe0\x41\x01\x12Q\n\x14psc_interface_config\x18\x15 \x01(\x0b\x32..google.cloud.aiplatform.v1.PscInterfaceConfigB\x03\xe0\x41\x01\x12I\n\x15\x62\x61se_output_directory\x18\x06 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestination\x12&\n\x1eprotected_artifact_location_id\x18\x13 \x01(\t\x12\x42\n\x0btensorboard\x18\x07 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%aiplatform.googleapis.com/Tensorboard\x12\x1e\n\x11\x65nable_web_access\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x12$\n\x17\x65nable_dashboard_access\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12=\n\nexperiment\x18\x11 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!aiplatform.googleapis.com/Context\x12\x41\n\x0e\x65xperiment_run\x18\x12 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!aiplatform.googleapis.com/Context\x12\x37\n\x06models\x18\x14 \x03(\tB\'\xe0\x41\x01\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\"\xcb\x03\n\x0eWorkerPoolSpec\x12\x43\n\x0e\x63ontainer_spec\x18\x06 \x01(\x0b\x32).google.cloud.aiplatform.v1.ContainerSpecH\x00\x12L\n\x13python_package_spec\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.PythonPackageSpecH\x00\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x01\xe0\x41\x05\x12\x1a\n\rreplica_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12=\n\nnfs_mounts\x18\x04 \x03(\x0b\x32$.google.cloud.aiplatform.v1.NfsMountB\x03\xe0\x41\x01\x12\x43\n\rlustre_mounts\x18\t \x03(\x0b\x32\'.google.cloud.aiplatform.v1.LustreMountB\x03\xe0\x41\x01\x12\x37\n\tdisk_spec\x18\x05 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DiskSpecB\x06\n\x04task\"w\n\rContainerSpec\x12\x16\n\timage_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x07\x63ommand\x18\x02 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12/\n\x03\x65nv\x18\x04 \x03(\x0b\x32\".google.cloud.aiplatform.v1.EnvVar\"\xaa\x01\n\x11PythonPackageSpec\x12\x1f\n\x12\x65xecutor_image_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cpackage_uris\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x1a\n\rpython_module\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04\x61rgs\x18\x04 \x03(\t\x12/\n\x03\x65nv\x18\x05 \x03(\x0b\x32\".google.cloud.aiplatform.v1.EnvVar\"\xf3\x02\n\nScheduling\x12*\n\x07timeout\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x1drestart_job_on_worker_restart\x18\x03 \x01(\x08\x12\x46\n\x08strategy\x18\x04 \x01(\x0e\x32/.google.cloud.aiplatform.v1.Scheduling.StrategyB\x03\xe0\x41\x01\x12\x1c\n\x0f\x64isable_retries\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x39\n\x11max_wait_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"q\n\x08Strategy\x12\x18\n\x14STRATEGY_UNSPECIFIED\x10\x00\x12\x11\n\tON_DEMAND\x10\x01\x1a\x02\x08\x01\x12\x10\n\x08LOW_COST\x10\x02\x1a\x02\x08\x01\x12\x0c\n\x08STANDARD\x10\x03\x12\x08\n\x04SPOT\x10\x04\x12\x0e\n\nFLEX_START\x10\x06\x42\xcc\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0e\x43ustomJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
|
21
21
|
|
|
22
22
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
23
23
|
|
|
@@ -9,7 +9,7 @@ require 'google/cloud/aiplatform/v1/accelerator_type_pb'
|
|
|
9
9
|
require 'google/cloud/aiplatform/v1/reservation_affinity_pb'
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
descriptor_data = "\n2google/cloud/aiplatform/v1/machine_resources.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x31google/cloud/aiplatform/v1/accelerator_type.proto\x1a\x35google/cloud/aiplatform/v1/reservation_affinity.proto\"\xa5\x02\n\x0bMachineSpec\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12J\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\x0e\x32+.google.cloud.aiplatform.v1.AcceleratorTypeB\x03\xe0\x41\x05\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x03 \x01(\x05\x12\"\n\x12gpu_partition_size\x18\x07 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x01\x12\x19\n\x0ctpu_topology\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12U\n\x14reservation_affinity\x18\x05 \x01(\x0b\x32/.google.cloud.aiplatform.v1.ReservationAffinityB\x06\xe0\x41\x05\xe0\x41\x01\"\xb0\x02\n\x12\x44\x65\x64icatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12!\n\x11min_replica_count\x18\x02 \x01(\x05\x42\x06\xe0\x41\x02\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\x12#\n\x16required_replica_count\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12X\n\x18\x61utoscaling_metric_specs\x18\x04 \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.AutoscalingMetricSpecB\x03\xe0\x41\x05\x12\x11\n\x04spot\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"T\n\x12\x41utomaticResources\x12\x1e\n\x11min_replica_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\"\xa5\x01\n\x17\x42\x61tchDedicatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12#\n\x16starting_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\"/\n\x11ResourcesConsumed\x12\x1a\n\rreplica_hours\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\"=\n\x08\x44iskSpec\x12\x16\n\x0e\x62oot_disk_type\x18\x01 \x01(\t\x12\x19\n\x11\x62oot_disk_size_gb\x18\x02 \x01(\x05\"=\n\x12PersistentDiskSpec\x12\x11\n\tdisk_type\x18\x01 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x02 \x01(\x03\"L\n\x08NfsMount\x12\x13\n\x06server\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bmount_point\x18\x03 \x01(\tB\x03\xe0\x41\x02\"A\n\x15\x41utoscalingMetricSpec\x12\x18\n\x0bmetric_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06target\x18\x02 \x01(\x05\".\n\x10ShieldedVmConfig\x12\x1a\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x42\xd3\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x15MachineResourcesProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
|
12
|
+
descriptor_data = "\n2google/cloud/aiplatform/v1/machine_resources.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x31google/cloud/aiplatform/v1/accelerator_type.proto\x1a\x35google/cloud/aiplatform/v1/reservation_affinity.proto\"\xa5\x02\n\x0bMachineSpec\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12J\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\x0e\x32+.google.cloud.aiplatform.v1.AcceleratorTypeB\x03\xe0\x41\x05\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x03 \x01(\x05\x12\"\n\x12gpu_partition_size\x18\x07 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x01\x12\x19\n\x0ctpu_topology\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12U\n\x14reservation_affinity\x18\x05 \x01(\x0b\x32/.google.cloud.aiplatform.v1.ReservationAffinityB\x06\xe0\x41\x05\xe0\x41\x01\"\xb0\x02\n\x12\x44\x65\x64icatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12!\n\x11min_replica_count\x18\x02 \x01(\x05\x42\x06\xe0\x41\x02\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\x12#\n\x16required_replica_count\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12X\n\x18\x61utoscaling_metric_specs\x18\x04 \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.AutoscalingMetricSpecB\x03\xe0\x41\x05\x12\x11\n\x04spot\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"T\n\x12\x41utomaticResources\x12\x1e\n\x11min_replica_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\"\xa5\x01\n\x17\x42\x61tchDedicatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12#\n\x16starting_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\"/\n\x11ResourcesConsumed\x12\x1a\n\rreplica_hours\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\"=\n\x08\x44iskSpec\x12\x16\n\x0e\x62oot_disk_type\x18\x01 \x01(\t\x12\x19\n\x11\x62oot_disk_size_gb\x18\x02 \x01(\x05\"=\n\x12PersistentDiskSpec\x12\x11\n\tdisk_type\x18\x01 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x02 \x01(\x03\"L\n\x08NfsMount\x12\x13\n\x06server\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bmount_point\x18\x03 \x01(\tB\x03\xe0\x41\x02\"v\n\x0bLustreMount\x12\x18\n\x0binstance_ip\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rvolume_handle\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nfilesystem\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bmount_point\x18\x04 \x01(\tB\x03\xe0\x41\x02\"A\n\x15\x41utoscalingMetricSpec\x12\x18\n\x0bmetric_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06target\x18\x02 \x01(\x05\".\n\x10ShieldedVmConfig\x12\x1a\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x42\xd3\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x15MachineResourcesProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
|
13
13
|
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
15
|
|
|
@@ -48,6 +48,7 @@ module Google
|
|
|
48
48
|
DiskSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DiskSpec").msgclass
|
|
49
49
|
PersistentDiskSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PersistentDiskSpec").msgclass
|
|
50
50
|
NfsMount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NfsMount").msgclass
|
|
51
|
+
LustreMount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.LustreMount").msgclass
|
|
51
52
|
AutoscalingMetricSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AutoscalingMetricSpec").msgclass
|
|
52
53
|
ShieldedVmConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ShieldedVmConfig").msgclass
|
|
53
54
|
end
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/struct_pb'
|
|
|
11
11
|
require 'google/type/latlng_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n%google/cloud/aiplatform/v1/tool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x18google/type/latlng.proto\"\
|
|
14
|
+
descriptor_data = "\n%google/cloud/aiplatform/v1/tool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x18google/type/latlng.proto\"\xab\n\n\x04Tool\x12S\n\x15\x66unction_declarations\x18\x01 \x03(\x0b\x32/.google.cloud.aiplatform.v1.FunctionDeclarationB\x03\xe0\x41\x01\x12=\n\tretrieval\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RetrievalB\x03\xe0\x41\x01\x12I\n\rgoogle_search\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.Tool.GoogleSearchB\x03\xe0\x41\x01\x12W\n\x17google_search_retrieval\x18\x03 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.GoogleSearchRetrievalB\x03\xe0\x41\x01\x12@\n\x0bgoogle_maps\x18\x05 \x01(\x0b\x32&.google.cloud.aiplatform.v1.GoogleMapsB\x03\xe0\x41\x01\x12S\n\x15\x65nterprise_web_search\x18\x06 \x01(\x0b\x32/.google.cloud.aiplatform.v1.EnterpriseWebSearchB\x03\xe0\x41\x01\x12K\n\x0e\x63ode_execution\x18\x04 \x01(\x0b\x32..google.cloud.aiplatform.v1.Tool.CodeExecutionB\x03\xe0\x41\x01\x12@\n\x0burl_context\x18\n \x01(\x0b\x32&.google.cloud.aiplatform.v1.UrlContextB\x03\xe0\x41\x01\x12G\n\x0c\x63omputer_use\x18\x0b \x01(\x0b\x32,.google.cloud.aiplatform.v1.Tool.ComputerUseB\x03\xe0\x41\x01\x1a\xa1\x01\n\x0cGoogleSearch\x12\x1c\n\x0f\x65xclude_domains\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12[\n\x13\x62locking_confidence\x18\x04 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.Tool.PhishBlockThresholdB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x16\n\x14_blocking_confidence\x1a\x0f\n\rCodeExecution\x1a\xd2\x01\n\x0b\x43omputerUse\x12R\n\x0b\x65nvironment\x18\x01 \x01(\x0e\x32\x38.google.cloud.aiplatform.v1.Tool.ComputerUse.EnvironmentB\x03\xe0\x41\x02\x12*\n\x1d\x65xcluded_predefined_functions\x18\x02 \x03(\tB\x03\xe0\x41\x01\"C\n\x0b\x45nvironment\x12\x1b\n\x17\x45NVIRONMENT_UNSPECIFIED\x10\x00\x12\x17\n\x13\x45NVIRONMENT_BROWSER\x10\x01\"\xe5\x01\n\x13PhishBlockThreshold\x12%\n!PHISH_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13\x42LOCK_LOW_AND_ABOVE\x10\x1e\x12\x1a\n\x16\x42LOCK_MEDIUM_AND_ABOVE\x10(\x12\x18\n\x14\x42LOCK_HIGH_AND_ABOVE\x10\x32\x12\x1a\n\x16\x42LOCK_HIGHER_AND_ABOVE\x10\x37\x12\x1d\n\x19\x42LOCK_VERY_HIGH_AND_ABOVE\x10<\x12\x1d\n\x19\x42LOCK_ONLY_EXTREMELY_HIGH\x10\x64J\x04\x08\x08\x10\tJ\x04\x08\t\x10\n\"\x0c\n\nUrlContext\"\xb2\x02\n\x13\x46unctionDeclaration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12;\n\x16parameters_json_schema\x18\x05 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\x12\x39\n\x08response\x18\x04 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12\x39\n\x14response_json_schema\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\"\xac\x01\n\x0c\x46unctionCall\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12*\n\x04\x61rgs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x41\n\x0cpartial_args\x18\x04 \x03(\x0b\x32&.google.cloud.aiplatform.v1.PartialArgB\x03\xe0\x41\x01\x12\x1a\n\rwill_continue\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd5\x01\n\nPartialArg\x12\x35\n\nnull_value\x18\x02 \x01(\x0e\x32\x1a.google.protobuf.NullValueB\x03\xe0\x41\x01H\x00\x12\x1b\n\x0cnumber_value\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12\x1b\n\x0cstring_value\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x19\n\nbool_value\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x12\x16\n\tjson_path\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rwill_continue\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x42\x07\n\x05\x64\x65lta\"\xb2\x01\n\x14\x46unctionResponsePart\x12G\n\x0binline_data\x18\x01 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.FunctionResponseBlobH\x00\x12I\n\tfile_data\x18\x02 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.FunctionResponseFileDataH\x00\x42\x06\n\x04\x64\x61ta\"\\\n\x14\x46unctionResponseBlob\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x01\"d\n\x18\x46unctionResponseFileData\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x66ile_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9b\x01\n\x10\x46unctionResponse\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12.\n\x08response\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02\x12\x44\n\x05parts\x18\x04 \x03(\x0b\x32\x30.google.cloud.aiplatform.v1.FunctionResponsePartB\x03\xe0\x41\x01\"\xa1\x01\n\x0e\x45xecutableCode\x12J\n\x08language\x18\x01 \x01(\x0e\x32\x33.google.cloud.aiplatform.v1.ExecutableCode.LanguageB\x03\xe0\x41\x02\x12\x11\n\x04\x63ode\x18\x02 \x01(\tB\x03\xe0\x41\x02\"0\n\x08Language\x12\x18\n\x14LANGUAGE_UNSPECIFIED\x10\x00\x12\n\n\x06PYTHON\x10\x01\"\xe0\x01\n\x13\x43odeExecutionResult\x12M\n\x07outcome\x18\x01 \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.CodeExecutionResult.OutcomeB\x03\xe0\x41\x02\x12\x13\n\x06output\x18\x02 \x01(\tB\x03\xe0\x41\x01\"e\n\x07Outcome\x12\x17\n\x13OUTCOME_UNSPECIFIED\x10\x00\x12\x0e\n\nOUTCOME_OK\x10\x01\x12\x12\n\x0eOUTCOME_FAILED\x10\x02\x12\x1d\n\x19OUTCOME_DEADLINE_EXCEEDED\x10\x03\"\xc9\x01\n\tRetrieval\x12\x46\n\x10vertex_ai_search\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexAISearchH\x00\x12\x46\n\x10vertex_rag_store\x18\x04 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexRagStoreH\x00\x12\"\n\x13\x64isable_attribution\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x42\x08\n\x06source\"\xaa\x03\n\x0eVertexRagStore\x12R\n\rrag_resources\x18\x04 \x03(\x0b\x32\x36.google.cloud.aiplatform.v1.VertexRagStore.RagResourceB\x03\xe0\x41\x01\x12$\n\x10similarity_top_k\x18\x02 \x01(\x05\x42\x05\x18\x01\xe0\x41\x01H\x00\x88\x01\x01\x12-\n\x19vector_distance_threshold\x18\x03 \x01(\x01\x42\x05\x18\x01\xe0\x41\x01H\x01\x88\x01\x01\x12Q\n\x14rag_retrieval_config\x18\x06 \x01(\x0b\x32..google.cloud.aiplatform.v1.RagRetrievalConfigB\x03\xe0\x41\x01\x1ai\n\x0bRagResource\x12?\n\nrag_corpus\x18\x01 \x01(\tB+\xe0\x41\x01\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12\x19\n\x0crag_file_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x42\x13\n\x11_similarity_top_kB\x1c\n\x1a_vector_distance_threshold\"\xfa\x01\n\x0eVertexAISearch\x12\x16\n\tdatastore\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x65ngine\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bmax_results\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12R\n\x10\x64\x61ta_store_specs\x18\x05 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.VertexAISearch.DataStoreSpec\x1a\x38\n\rDataStoreSpec\x12\x12\n\ndata_store\x18\x01 \x01(\t\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\"m\n\x15GoogleSearchRetrieval\x12T\n\x18\x64ynamic_retrieval_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DynamicRetrievalConfig\"(\n\nGoogleMaps\x12\x1a\n\renable_widget\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x13\x45nterpriseWebSearch\x12\x1c\n\x0f\x65xclude_domains\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12[\n\x13\x62locking_confidence\x18\x02 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.Tool.PhishBlockThresholdB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x16\n\x14_blocking_confidence\"\xca\x01\n\x16\x44ynamicRetrievalConfig\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode\x12#\n\x11\x64ynamic_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\".\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_DYNAMIC\x10\x01\x42\x14\n\x12_dynamic_threshold\"\xb1\x01\n\nToolConfig\x12W\n\x17\x66unction_calling_config\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FunctionCallingConfigB\x03\xe0\x41\x01\x12J\n\x10retrieval_config\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.RetrievalConfigB\x03\xe0\x41\x01\"\xef\x01\n\x15\x46unctionCallingConfig\x12I\n\x04mode\x18\x01 \x01(\x0e\x32\x36.google.cloud.aiplatform.v1.FunctionCallingConfig.ModeB\x03\xe0\x41\x01\x12#\n\x16\x61llowed_function_names\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12+\n\x1estream_function_call_arguments\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"9\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41UTO\x10\x01\x12\x07\n\x03\x41NY\x10\x02\x12\x08\n\x04NONE\x10\x03\"v\n\x0fRetrievalConfig\x12)\n\x07lat_lng\x18\x01 \x01(\x0b\x32\x13.google.type.LatLngH\x00\x88\x01\x01\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\n\n\x08_lat_lngB\x10\n\x0e_language_code\"\xaa\x05\n\x12RagRetrievalConfig\x12\x12\n\x05top_k\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12J\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.RagRetrievalConfig.FilterB\x03\xe0\x41\x01\x12L\n\x07ranking\x18\x04 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.RagRetrievalConfig.RankingB\x03\xe0\x41\x01\x1a\x93\x01\n\x06\x46ilter\x12(\n\x19vector_distance_threshold\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12*\n\x1bvector_similarity_threshold\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12\x1c\n\x0fmetadata_filter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\x15\n\x13vector_db_threshold\x1a\xcf\x02\n\x07Ranking\x12_\n\x0crank_service\x18\x01 \x01(\x0b\x32\x42.google.cloud.aiplatform.v1.RagRetrievalConfig.Ranking.RankServiceB\x03\xe0\x41\x01H\x00\x12[\n\nllm_ranker\x18\x03 \x01(\x0b\x32@.google.cloud.aiplatform.v1.RagRetrievalConfig.Ranking.LlmRankerB\x03\xe0\x41\x01H\x00\x1a:\n\x0bRankService\x12\x1c\n\nmodel_name\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\r\n\x0b_model_name\x1a\x38\n\tLlmRanker\x12\x1c\n\nmodel_name\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\r\n\x0b_model_nameB\x10\n\x0eranking_configB\xc7\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\tToolProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
|
@@ -53,6 +53,7 @@ module Google
|
|
|
53
53
|
UrlContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UrlContext").msgclass
|
|
54
54
|
FunctionDeclaration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionDeclaration").msgclass
|
|
55
55
|
FunctionCall = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionCall").msgclass
|
|
56
|
+
PartialArg = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PartialArg").msgclass
|
|
56
57
|
FunctionResponsePart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionResponsePart").msgclass
|
|
57
58
|
FunctionResponseBlob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionResponseBlob").msgclass
|
|
58
59
|
FunctionResponseFileData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionResponseFileData").msgclass
|
|
@@ -277,6 +277,9 @@ module Google
|
|
|
277
277
|
# @!attribute [rw] nfs_mounts
|
|
278
278
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::NfsMount>]
|
|
279
279
|
# Optional. List of NFS mount spec.
|
|
280
|
+
# @!attribute [rw] lustre_mounts
|
|
281
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::LustreMount>]
|
|
282
|
+
# Optional. List of Lustre mounts.
|
|
280
283
|
# @!attribute [rw] disk_spec
|
|
281
284
|
# @return [::Google::Cloud::AIPlatform::V1::DiskSpec]
|
|
282
285
|
# Disk spec.
|
|
@@ -74,30 +74,26 @@ module Google
|
|
|
74
74
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
# A description of resources that are dedicated to a DeployedModel
|
|
78
|
-
# that need a higher degree of manual configuration.
|
|
77
|
+
# A description of resources that are dedicated to a DeployedModel or
|
|
78
|
+
# DeployedIndex, and that need a higher degree of manual configuration.
|
|
79
79
|
# @!attribute [rw] machine_spec
|
|
80
80
|
# @return [::Google::Cloud::AIPlatform::V1::MachineSpec]
|
|
81
|
-
# Required. Immutable. The specification of a single machine used
|
|
82
|
-
# prediction.
|
|
81
|
+
# Required. Immutable. The specification of a single machine being used.
|
|
83
82
|
# @!attribute [rw] min_replica_count
|
|
84
83
|
# @return [::Integer]
|
|
85
|
-
# Required. Immutable. The minimum number of machine replicas
|
|
86
|
-
#
|
|
87
|
-
# or equal to 1.
|
|
84
|
+
# Required. Immutable. The minimum number of machine replicas that will be
|
|
85
|
+
# always deployed on. This value must be greater than or equal to 1.
|
|
88
86
|
#
|
|
89
|
-
# If traffic
|
|
90
|
-
#
|
|
91
|
-
# replicas may be freed.
|
|
87
|
+
# If traffic increases, it may dynamically be deployed onto more replicas,
|
|
88
|
+
# and as traffic decreases, some of these extra replicas may be freed.
|
|
92
89
|
# @!attribute [rw] max_replica_count
|
|
93
90
|
# @return [::Integer]
|
|
94
|
-
# Immutable. The maximum number of replicas
|
|
95
|
-
#
|
|
96
|
-
#
|
|
97
|
-
#
|
|
98
|
-
#
|
|
99
|
-
#
|
|
100
|
-
# dropped. If this value is not provided, will use
|
|
91
|
+
# Immutable. The maximum number of replicas that may be deployed on when the
|
|
92
|
+
# traffic against it increases. If the requested value is too large, the
|
|
93
|
+
# deployment will error, but if deployment succeeds then the ability to scale
|
|
94
|
+
# to that many replicas is guaranteed (barring service outages). If traffic
|
|
95
|
+
# increases beyond what its replicas at maximum may handle, a portion of the
|
|
96
|
+
# traffic will be dropped. If this value is not provided, will use
|
|
101
97
|
# {::Google::Cloud::AIPlatform::V1::DedicatedResources#min_replica_count min_replica_count}
|
|
102
98
|
# as the default value.
|
|
103
99
|
#
|
|
@@ -108,8 +104,8 @@ module Google
|
|
|
108
104
|
# @!attribute [rw] required_replica_count
|
|
109
105
|
# @return [::Integer]
|
|
110
106
|
# Optional. Number of required available replicas for the deployment to
|
|
111
|
-
# succeed. This field is only needed when partial
|
|
112
|
-
#
|
|
107
|
+
# succeed. This field is only needed when partial deployment/mutation is
|
|
108
|
+
# desired. If set, the deploy/mutate operation will succeed once
|
|
113
109
|
# available_replica_count reaches required_replica_count, and the rest of
|
|
114
110
|
# the replicas will be retried. If not set, the default
|
|
115
111
|
# required_replica_count will be min_replica_count.
|
|
@@ -152,23 +148,22 @@ module Google
|
|
|
152
148
|
# Each Model supporting these resources documents its specific guidelines.
|
|
153
149
|
# @!attribute [rw] min_replica_count
|
|
154
150
|
# @return [::Integer]
|
|
155
|
-
# Immutable. The minimum number of replicas
|
|
156
|
-
#
|
|
157
|
-
#
|
|
151
|
+
# Immutable. The minimum number of replicas that will be always deployed on.
|
|
152
|
+
# If traffic against it increases, it may dynamically be deployed onto more
|
|
153
|
+
# replicas up to
|
|
158
154
|
# {::Google::Cloud::AIPlatform::V1::AutomaticResources#max_replica_count max_replica_count},
|
|
159
155
|
# and as traffic decreases, some of these extra replicas may be freed. If the
|
|
160
156
|
# requested value is too large, the deployment will error.
|
|
161
157
|
# @!attribute [rw] max_replica_count
|
|
162
158
|
# @return [::Integer]
|
|
163
|
-
# Immutable. The maximum number of replicas
|
|
164
|
-
#
|
|
165
|
-
#
|
|
166
|
-
#
|
|
167
|
-
#
|
|
168
|
-
#
|
|
169
|
-
#
|
|
170
|
-
#
|
|
171
|
-
# beyond certain replica number.
|
|
159
|
+
# Immutable. The maximum number of replicas that may be deployed on when the
|
|
160
|
+
# traffic against it increases. If the requested value is too large, the
|
|
161
|
+
# deployment will error, but if deployment succeeds then the ability to scale
|
|
162
|
+
# to that many replicas is guaranteed (barring service outages). If traffic
|
|
163
|
+
# increases beyond what its replicas at maximum may handle, a portion of the
|
|
164
|
+
# traffic will be dropped. If this value is not provided, a no upper bound
|
|
165
|
+
# for scaling under heavy traffic will be assume, though Vertex AI may be
|
|
166
|
+
# unable to scale beyond certain replica number.
|
|
172
167
|
class AutomaticResources
|
|
173
168
|
include ::Google::Protobuf::MessageExts
|
|
174
169
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -207,9 +202,10 @@ module Google
|
|
|
207
202
|
# Represents the spec of disk options.
|
|
208
203
|
# @!attribute [rw] boot_disk_type
|
|
209
204
|
# @return [::String]
|
|
210
|
-
# Type of the boot disk
|
|
211
|
-
#
|
|
212
|
-
# "pd-
|
|
205
|
+
# Type of the boot disk. For non-A3U machines, the default value is
|
|
206
|
+
# "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
|
|
207
|
+
# Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
|
|
208
|
+
# "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
|
|
213
209
|
# @!attribute [rw] boot_disk_size_gb
|
|
214
210
|
# @return [::Integer]
|
|
215
211
|
# Size in GB of the boot disk (default is 100GB).
|
|
@@ -253,6 +249,25 @@ module Google
|
|
|
253
249
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
254
250
|
end
|
|
255
251
|
|
|
252
|
+
# Represents a mount configuration for Lustre file system.
|
|
253
|
+
# @!attribute [rw] instance_ip
|
|
254
|
+
# @return [::String]
|
|
255
|
+
# Required. IP address of the Lustre instance.
|
|
256
|
+
# @!attribute [rw] volume_handle
|
|
257
|
+
# @return [::String]
|
|
258
|
+
# Required. The unique identifier of the Lustre volume.
|
|
259
|
+
# @!attribute [rw] filesystem
|
|
260
|
+
# @return [::String]
|
|
261
|
+
# Required. The name of the Lustre filesystem.
|
|
262
|
+
# @!attribute [rw] mount_point
|
|
263
|
+
# @return [::String]
|
|
264
|
+
# Required. Destination mount path. The Lustre file system will be mounted
|
|
265
|
+
# for the user under /mnt/lustre/<mount_point>
|
|
266
|
+
class LustreMount
|
|
267
|
+
include ::Google::Protobuf::MessageExts
|
|
268
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
269
|
+
end
|
|
270
|
+
|
|
256
271
|
# The metric specification that defines the target resource utilization
|
|
257
272
|
# (CPU utilization, accelerator's duty cycle, and so on) for calculating the
|
|
258
273
|
# desired replica count.
|
|
@@ -264,6 +279,7 @@ module Google
|
|
|
264
279
|
# * For Online Prediction:
|
|
265
280
|
# * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle`
|
|
266
281
|
# * `aiplatform.googleapis.com/prediction/online/cpu/utilization`
|
|
282
|
+
# * `aiplatform.googleapis.com/prediction/online/request_count`
|
|
267
283
|
# @!attribute [rw] target
|
|
268
284
|
# @return [::Integer]
|
|
269
285
|
# The target resource utilization in percentage (1% - 100%) for the given
|
|
@@ -235,17 +235,62 @@ module Google
|
|
|
235
235
|
# containing the parameters and their values.
|
|
236
236
|
# @!attribute [rw] name
|
|
237
237
|
# @return [::String]
|
|
238
|
-
#
|
|
238
|
+
# Optional. The name of the function to call.
|
|
239
239
|
# Matches [FunctionDeclaration.name].
|
|
240
240
|
# @!attribute [rw] args
|
|
241
241
|
# @return [::Google::Protobuf::Struct]
|
|
242
|
-
# Optional.
|
|
243
|
-
#
|
|
242
|
+
# Optional. The function parameters and values in JSON object format.
|
|
243
|
+
# See [FunctionDeclaration.parameters] for parameter details.
|
|
244
|
+
# @!attribute [rw] partial_args
|
|
245
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::PartialArg>]
|
|
246
|
+
# Optional. The partial argument value of the function call.
|
|
247
|
+
# If provided, represents the arguments/fields that are streamed
|
|
248
|
+
# incrementally.
|
|
249
|
+
# @!attribute [rw] will_continue
|
|
250
|
+
# @return [::Boolean]
|
|
251
|
+
# Optional. Whether this is the last part of the FunctionCall.
|
|
252
|
+
# If true, another partial message for the current FunctionCall is expected
|
|
253
|
+
# to follow.
|
|
244
254
|
class FunctionCall
|
|
245
255
|
include ::Google::Protobuf::MessageExts
|
|
246
256
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
247
257
|
end
|
|
248
258
|
|
|
259
|
+
# Partial argument value of the function call.
|
|
260
|
+
# @!attribute [rw] null_value
|
|
261
|
+
# @return [::Google::Protobuf::NullValue]
|
|
262
|
+
# Optional. Represents a null value.
|
|
263
|
+
#
|
|
264
|
+
# Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
265
|
+
# @!attribute [rw] number_value
|
|
266
|
+
# @return [::Float]
|
|
267
|
+
# Optional. Represents a double value.
|
|
268
|
+
#
|
|
269
|
+
# Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
270
|
+
# @!attribute [rw] string_value
|
|
271
|
+
# @return [::String]
|
|
272
|
+
# Optional. Represents a string value.
|
|
273
|
+
#
|
|
274
|
+
# Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
275
|
+
# @!attribute [rw] bool_value
|
|
276
|
+
# @return [::Boolean]
|
|
277
|
+
# Optional. Represents a boolean value.
|
|
278
|
+
#
|
|
279
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
280
|
+
# @!attribute [rw] json_path
|
|
281
|
+
# @return [::String]
|
|
282
|
+
# Required. A JSON Path (RFC 9535) to the argument being streamed.
|
|
283
|
+
# https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".
|
|
284
|
+
# @!attribute [rw] will_continue
|
|
285
|
+
# @return [::Boolean]
|
|
286
|
+
# Optional. Whether this is not the last part of the same json_path.
|
|
287
|
+
# If true, another PartialArg message for the current json_path is expected
|
|
288
|
+
# to follow.
|
|
289
|
+
class PartialArg
|
|
290
|
+
include ::Google::Protobuf::MessageExts
|
|
291
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
292
|
+
end
|
|
293
|
+
|
|
249
294
|
# A datatype containing media that is part of a `FunctionResponse` message.
|
|
250
295
|
#
|
|
251
296
|
# A `FunctionResponsePart` consists of data which has an associated datatype. A
|
|
@@ -580,6 +625,11 @@ module Google
|
|
|
580
625
|
# Optional. Function names to call. Only set when the Mode is ANY. Function
|
|
581
626
|
# names should match [FunctionDeclaration.name]. With mode set to ANY, model
|
|
582
627
|
# will predict a function call from the set of function names provided.
|
|
628
|
+
# @!attribute [rw] stream_function_call_arguments
|
|
629
|
+
# @return [::Boolean]
|
|
630
|
+
# Optional. When set to true, arguments of a single function call will be
|
|
631
|
+
# streamed out in multiple parts/contents/responses. Partial parameter
|
|
632
|
+
# results will be returned in the [FunctionCall.partial_args] field.
|
|
583
633
|
class FunctionCallingConfig
|
|
584
634
|
include ::Google::Protobuf::MessageExts
|
|
585
635
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|