Class ResourcePool (1.48.0)

ResourcePool(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
id str
Immutable. The unique ID in a PersistentResource for referring to this resource pool. User can specify it if necessary. Otherwise, it's generated automatically.
machine_spec google.cloud.aiplatform_v1beta1.types.MachineSpec
Required. Immutable. The specification of a single machine.
replica_count int
Optional. The total number of machines to use for this resource pool. This field is a member of oneof_ _replica_count.
disk_spec google.cloud.aiplatform_v1beta1.types.DiskSpec
Optional. Disk spec for the machine in this node pool.
used_replica_count int
Output only. The number of machines currently in use by training jobs for this resource pool. Will replace idle_replica_count.
autoscaling_spec google.cloud.aiplatform_v1beta1.types.ResourcePool.AutoscalingSpec
Optional. Optional spec to configure GKE autoscaling

Classes

AutoscalingSpec

AutoscalingSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The min/max number of replicas allowed if enabling autoscaling

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Methods

ResourcePool

ResourcePool(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields