google-cloud-ai_platform-v1 1.33.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/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +50 -34
- 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
|
|
@@ -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
|