pub struct GoogleCloudAiplatformV1ResourcePool {
pub replica_count: Option<i64>,
pub machine_spec: Option<GoogleCloudAiplatformV1MachineSpec>,
pub used_replica_count: Option<i64>,
pub id: Option<String>,
pub autoscaling_spec: Option<GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec>,
pub disk_spec: Option<GoogleCloudAiplatformV1DiskSpec>,
}Expand description
Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§replica_count: Option<i64>Optional. The total number of machines to use for this resource pool.
machine_spec: Option<GoogleCloudAiplatformV1MachineSpec>Required. Immutable. The specification of a single machine.
used_replica_count: Option<i64>Output only. The number of machines currently in use by training jobs for this resource pool. Will replace idle_replica_count.
id: Option<String>Immutable. The unique ID in a PersistentResource for referring to this resource pool. User can specify it if necessary. Otherwise, it’s generated automatically.
autoscaling_spec: Option<GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec>Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling
disk_spec: Option<GoogleCloudAiplatformV1DiskSpec>Optional. Disk spec for the machine in this node pool.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1ResourcePool
impl Clone for GoogleCloudAiplatformV1ResourcePool
Source§fn clone(&self) -> GoogleCloudAiplatformV1ResourcePool
fn clone(&self) -> GoogleCloudAiplatformV1ResourcePool
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1ResourcePool
impl Default for GoogleCloudAiplatformV1ResourcePool
Source§fn default() -> GoogleCloudAiplatformV1ResourcePool
fn default() -> GoogleCloudAiplatformV1ResourcePool
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ResourcePool
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ResourcePool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudAiplatformV1ResourcePool
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1ResourcePool
impl RefUnwindSafe for GoogleCloudAiplatformV1ResourcePool
impl Send for GoogleCloudAiplatformV1ResourcePool
impl Sync for GoogleCloudAiplatformV1ResourcePool
impl Unpin for GoogleCloudAiplatformV1ResourcePool
impl UnwindSafe for GoogleCloudAiplatformV1ResourcePool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more