View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ResourcePool (google_api_ai_platform v0.13.0)

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

Attributes

  • autoscalingSpec (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec.t, default: nil) - Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling
  • diskSpec (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1DiskSpec.t, default: nil) - Optional. Disk spec for the machine in this node pool.
  • id (type: String.t, default: nil) - Immutable. The unique ID in a PersistentResource for referring to this resource pool. User can specify it if necessary. Otherwise, it's generated automatically.
  • machineSpec (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1MachineSpec.t, default: nil) - Required. Immutable. The specification of a single machine.
  • replicaCount (type: String.t, default: nil) - Optional. The total number of machines to use for this resource pool.
  • usedReplicaCount (type: String.t, default: nil) - Output only. The number of machines currently in use by training jobs for this resource pool. Will replace idle_replica_count.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ResourcePool{
  autoscalingSpec:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec.t()
    | nil,
  diskSpec:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1DiskSpec.t() | nil,
  id: String.t() | nil,
  machineSpec:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1MachineSpec.t() | nil,
  replicaCount: String.t() | nil,
  usedReplicaCount: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.