Service Client: Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::HypercomputeClusterClient

Client stub representing the remote HypercomputeCluster gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to hypercomputecluster.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster - Compiled Protocol Buffers messages for google/cloud/hypercomputecluster/v1alpha/hypercompute_cluster.proto

SYNOPSIS

use Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster;

my $msg = Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::Cluster->new({
    name => $name,
    description => $description,
    labels => $labels,
    create_time => $create_time,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::Cluster->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/hypercomputecluster/v1alpha/hypercompute_cluster.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::Cluster

A collection of virtual machines and connected resources forming a high-performance computing cluster capable of running large-scale, tightly coupled workloads. A cluster combines a set a compute resources that perform computations, storage resources that contain inputs and store outputs, an orchestrator that is responsible for assigning jobs to compute resources, and network resources that connect everything together.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ListClustersRequest

Request message for [ListClusters][google.cloud.hypercomputecluster.v1alpha.HypercomputeCluster.ListClusters].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent location of the clusters to list, in the format `projects/{project}/locations/{location}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Maximum number of clusters to return. The service may return fewer than this value.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token received from a previous `ListClusters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListClusters` must match the call that provided the page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. [Filter](https://google.aip.dev/160) to apply to the returned results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. How to order the resulting clusters. Must be one of the following strings:

    * `name` * `name desc` * `create_time` * `create_time desc`

    If not specified, clusters will be returned in an arbitrary order.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ListClustersResponse

Response message for [ListClusters][google.cloud.hypercomputecluster.v1alpha.HypercomputeCluster.ListClusters].

Inherits from Protobuf::Message.

Accessors

  • $msg->clusters() / $msg->clusters($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::Cluster)

    Clusters in the specified location.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` to retrieve the next page. If this field is absent, there are no subsequent pages.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::GetClusterRequest

Request message for [GetCluster][google.cloud.hypercomputecluster.v1alpha.HypercomputeCluster.GetCluster].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the cluster to retrieve, in the format `projects/{project}/locations/{location}/clusters/{cluster}`.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::CreateClusterRequest

Request message for [CreateCluster][google.cloud.hypercomputecluster.v1alpha.HypercomputeCluster.CreateCluster].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent location in which the cluster should be created, in the format `projects/{project}/locations/{location}`.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Required. ID of the cluster to create. Must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).

  • $msg->cluster() / $msg->cluster($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::Cluster)

    Required. Cluster to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. A random UUID is recommended. This request is idempotent if and only if `request_id` is provided.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::UpdateClusterRequest

Request message for [UpdateCluster][google.cloud.hypercomputecluster.v1alpha.HypercomputeCluster.UpdateCluster].

Inherits from Protobuf::Message.

Accessors

  • $msg->cluster() / $msg->cluster($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::Cluster)

    Required. Cluster to update.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Mask specifying which fields in the cluster to update. All paths must be specified explicitly - wildcards are not supported. At least one path must be provided.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. A random UUID is recommended. This request is idempotent if and only if `request_id` is provided.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::DeleteClusterRequest

Request message for [DeleteCluster][google.cloud.hypercomputecluster.v1alpha.HypercomputeCluster.DeleteCluster].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the cluster to delete, in the format `projects/{project}/locations/{location}/clusters/{cluster}`.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. A random UUID is recommended. This request is idempotent if and only if `request_id` is provided.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::GetNodeRequest

Request message for [GetNode][google.cloud.hypercomputecluster.v1alpha.HypercomputeCluster.GetNode].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the node to retrieve, in the format `projects/{project}/locations/{location}/clusters/{cluster}/nodes/{node}`.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ListNodesRequest

Request message for [ListNodes][google.cloud.hypercomputecluster.v1alpha.HypercomputeCluster.ListNodes].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent cluster of the nodes to list, in the format `projects/{project}/locations/{location}/clusters/{cluster}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Maximum number of nodes to return. The service may return fewer than this value.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token received from a previous `ListNodes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNodes` must match the call that provided the page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. [Filter](https://google.aip.dev/160) to apply to the returned results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. How to order the resulting nodes. Must be one of the following strings:

    * `name` * `name desc`

    If not specified, nodes will be returned in an arbitrary order.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ListNodesResponse

Response message for [ListNodes][google.cloud.hypercomputecluster.v1alpha.HypercomputeCluster.ListNodes].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NetworkResource

A resource representing a network that connects the various components of a cluster together.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NetworkReference

A reference to a [VPC network](https://cloud.google.com/vpc/docs/vpc) in Google Compute Engine.

Inherits from Protobuf::Message.

Accessors

  • $msg->network() / $msg->network($value)

    Type: String

    Output only. Name of the network, in the format `projects/{project}/global/networks/{network}`.

  • $msg->subnetwork() / $msg->subnetwork($value)

    Type: String

    Output only. Name of the particular subnetwork being used by the cluster, in the format `projects/{project}/regions/{region}/subnetworks/{subnetwork}`.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NetworkResourceConfig

Describes how a network resource should be initialized. Each network resource can either be imported from an existing Google Cloud resource or initialized when the cluster is created.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewNetworkConfig

When set in a [NetworkResourceConfig][google.cloud.hypercomputecluster.v1alpha.NetworkResourceConfig], indicates that a new network should be created.

Inherits from Protobuf::Message.

Accessors

  • $msg->network() / $msg->network($value)

    Type: String

    Required. Immutable. Name of the network to create, in the format `projects/{project}/global/networks/{network}`.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. Immutable. Description of the network. Maximum of 2048 characters.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ExistingNetworkConfig

When set in a [NetworkResourceConfig][google.cloud.hypercomputecluster.v1alpha.NetworkResourceConfig], indicates that an existing network should be imported.

Inherits from Protobuf::Message.

Accessors

  • $msg->network() / $msg->network($value)

    Type: String

    Required. Immutable. Name of the network to import, in the format `projects/{project}/global/networks/{network}`.

  • $msg->subnetwork() / $msg->subnetwork($value)

    Type: String

    Required. Immutable. Particular subnetwork to use, in the format `projects/{project}/regions/{region}/subnetworks/{subnetwork}`.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::StorageResource

A resource representing a form of persistent storage that is accessible to compute resources in the cluster.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::FilestoreReference

A reference to a [Filestore](https://cloud.google.com/filestore) instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->filestore() / $msg->filestore($value)

    Type: String

    Output only. Name of the Filestore instance, in the format `projects/{project}/locations/{location}/instances/{instance}`

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::BucketReference

A reference to a [Google Cloud Storage](https://cloud.google.com/storage) bucket.

Inherits from Protobuf::Message.

Accessors

  • $msg->bucket() / $msg->bucket($value)

    Type: String

    Output only. Name of the bucket.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::LustreReference

A reference to a [Managed Lustre](https://cloud.google.com/products/managed-lustre) instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->lustre() / $msg->lustre($value)

    Type: String

    Output only. Name of the Managed Lustre instance, in the format `projects/{project}/locations/{location}/instances/{instance}`

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::StorageResourceConfig

Describes how a storage resource should be initialized. Each storage resource can either be imported from an existing Google Cloud resource or initialized when the cluster is created.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewFilestoreConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1alpha.StorageResourceConfig], indicates that a new [Filestore](https://cloud.google.com/filestore) instance should be created.

Inherits from Protobuf::Message.

Accessors

Enum: NewFilestoreConfig::Tier

  • TIER_UNSPECIFIED => 0

  • ZONAL => 4

  • REGIONAL => 6

Enum: NewFilestoreConfig::Protocol

  • PROTOCOL_UNSPECIFIED => 0

  • NFSV3 => 1

  • NFSV41 => 2

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::FileShareConfig

Message describing filestore configuration

Inherits from Protobuf::Message.

Accessors

  • $msg->capacity_gb() / $msg->capacity_gb($value)

    Type: Int64

    Required. Size of the filestore in GB. Must be between 1024 and 102400, and must meet scalability requirements described at https://cloud.google.com/filestore/docs/service-tiers.

  • $msg->file_share() / $msg->file_share($value)

    Type: String

    Required. Filestore share location

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ExistingFilestoreConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1alpha.StorageResourceConfig], indicates that an existing [Filestore](https://cloud.google.com/filestore) instance should be imported.

Inherits from Protobuf::Message.

Accessors

  • $msg->filestore() / $msg->filestore($value)

    Type: String

    Required. Immutable. Name of the Filestore instance to import, in the format `projects/{project}/locations/{location}/instances/{instance}`

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewBucketConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1alpha.StorageResourceConfig], indicates that a new [Google Cloud Storage](https://cloud.google.com/storage) bucket should be created.

Inherits from Protobuf::Message.

Accessors

Enum: NewBucketConfig::StorageClass

  • STORAGE_CLASS_UNSPECIFIED => 0

  • STANDARD => 1

  • NEARLINE => 2

  • COLDLINE => 3

  • ARCHIVE => 4

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::GcsAutoclassConfig

Message describing Google Cloud Storage autoclass configuration

Inherits from Protobuf::Message.

Accessors

Enum: GcsAutoclassConfig::TerminalStorageClass

  • TERMINAL_STORAGE_CLASS_UNSPECIFIED => 0

  • TERMINAL_STORAGE_CLASS_NEARLINE => 1

  • TERMINAL_STORAGE_CLASS_ARCHIVE => 2

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::GcsHierarchicalNamespaceConfig

Message describing Google Cloud Storage hierarchical namespace configuration

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Required. Enables hierarchical namespace setup for the bucket.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ExistingBucketConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1alpha.StorageResourceConfig], indicates that an existing [Google Cloud Storage](https://cloud.google.com/storage) bucket should be imported.

Inherits from Protobuf::Message.

Accessors

  • $msg->bucket() / $msg->bucket($value)

    Type: String

    Required. Immutable. Name of the Cloud Storage bucket to import.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewLustreConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1alpha.StorageResourceConfig], indicates that a new [Managed Lustre](https://cloud.google.com/products/managed-lustre) instance should be created.

Inherits from Protobuf::Message.

Accessors

  • $msg->lustre() / $msg->lustre($value)

    Type: String

    Required. Immutable. Name of the Managed Lustre instance to create, in the format `projects/{project}/locations/{location}/instances/{instance}`

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. Immutable. Description of the Managed Lustre instance. Maximum of 2048 characters.

  • $msg->filesystem() / $msg->filesystem($value)

    Type: String

    Required. Immutable. Filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be 8 characters or less and can only contain letters and numbers.

  • $msg->capacity_gb() / $msg->capacity_gb($value)

    Type: Int64

    Required. Immutable. Storage capacity of the instance in gibibytes (GiB). Allowed values are between 18000 and 7632000.

  • $msg->per_unit_storage_throughput() / $msg->per_unit_storage_throughput($value)

    Type: Int64

    Optional. Immutable. Throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000. See [Performance tiers and maximum storage capacities](https://cloud.google.com/managed-lustre/docs/create-instance#performance-tiers) for more information.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ExistingLustreConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1alpha.StorageResourceConfig], indicates that an existing [Managed Lustre](https://cloud.google.com/products/managed-lustre) instance should be imported.

Inherits from Protobuf::Message.

Accessors

  • $msg->lustre() / $msg->lustre($value)

    Type: String

    Required. Immutable. Name of the Managed Lustre instance to import, in the format `projects/{project}/locations/{location}/instances/{instance}`

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ComputeResource

A resource defining how virtual machines and accelerators should be provisioned for the cluster.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ComputeResourceConfig

Describes how a compute resource should be created at runtime.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewOnDemandInstancesConfig

When set in a [ComputeResourceConfig][google.cloud.hypercomputecluster.v1alpha.ComputeResourceConfig], indicates that on-demand (i.e., using the standard provisioning model) VM instances should be created.

Inherits from Protobuf::Message.

Accessors

  • $msg->zone() / $msg->zone($value)

    Type: String

    Required. Immutable. Name of the zone in which VM instances should run, e.g., `us-central1-a`. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster.

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    Required. Immutable. Name of the Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-resource) to use, e.g. `n2-standard-2`.

  • $msg->atm_tags() / $msg->atm_tags($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewOnDemandInstancesConfig::AtmTagsEntry)

    Optional. Immutable. Unstable: Contact hypercompute-service-eng@ before using.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewSpotInstancesConfig

When set in a [ComputeResourceConfig][google.cloud.hypercomputecluster.v1alpha.ComputeResourceConfig], indicates that [spot VM](https://cloud.google.com/compute/docs/instances/spot) instances should be created.

Inherits from Protobuf::Message.

Accessors

  • $msg->zone() / $msg->zone($value)

    Type: String

    Required. Immutable. Name of the zone in which VM instances should run, e.g., `us-central1-a`. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster.

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    Required. Immutable. Name of the Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-resource) to use, e.g. `n2-standard-2`.

  • $msg->atm_tags() / $msg->atm_tags($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewSpotInstancesConfig::AtmTagsEntry)

    Optional. Immutable. Unstable: Contact hypercompute-service-eng@ before using.

  • $msg->termination_action() / $msg->termination_action($value)

    Type: Enum (Google::Cloud::Hypercomputecluster::V1alpha::NewSpotInstancesConfig::TerminationAction)

    Optional. Termination action for the instance. If not specified, Compute Engine sets the termination action to DELETE.

Enum: NewSpotInstancesConfig::TerminationAction

  • TERMINATION_ACTION_UNSPECIFIED => 0

  • STOP => 1

  • DELETE => 2

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewReservedInstancesConfig

When set in a [ComputeResourceConfig][google.cloud.hypercomputecluster.v1alpha.ComputeResourceConfig], indicates that VM instances should be created from a [reservation](https://cloud.google.com/compute/docs/instances/reservations-overview).

Inherits from Protobuf::Message.

Accessors

  • $msg->reservation() / $msg->reservation($value)

    Type: String

    Optional. Immutable. Name of the reservation from which VM instances should be created, in the format `projects/{project}/zones/{zone}/reservations/{reservation}`.

  • $msg->reservation_block() / $msg->reservation_block($value)

    Type: String

    Optional. Immutable. Name of the reservation block from which VM instances should be created, in the format `projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservation_block}`.

  • $msg->reservation_sub_block() / $msg->reservation_sub_block($value)

    Type: String

    Optional. Immutable. Name of the reservation sub block from which VM instances should be created, in the format `projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservation_block}/reservationSubBlocks/{reservation_sub_block}`.

  • $msg->atm_tags() / $msg->atm_tags($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewReservedInstancesConfig::AtmTagsEntry)

    Optional. Immutable. Unstable: Contact hypercompute-service-eng@ before using.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Optional. Immutable. Deprecated: Do not use.

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    Optional. Immutable. Deprecated: Do not use.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewFlexStartInstancesConfig

When set in a [ComputeResourceConfig][google.cloud.hypercomputecluster.v1alpha.ComputeResourceConfig], indicates that VM instances should be created using [Flex Start](https://cloud.google.com/compute/docs/instances/provisioning-models).

Inherits from Protobuf::Message.

Accessors

  • $msg->zone() / $msg->zone($value)

    Type: String

    Required. Immutable. Name of the zone in which VM instances should run, e.g., `us-central1-a`. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster.

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    Required. Immutable. Name of the Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-resource) to use, e.g. `n2-standard-2`.

  • $msg->max_duration() / $msg->max_duration($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Required. Immutable. Specifies the time limit for created instances. Instances will be terminated at the end of this duration.

  • $msg->atm_tags() / $msg->atm_tags($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::NewFlexStartInstancesConfig::AtmTagsEntry)

    Optional. Immutable. Unstable: Contact hypercompute-service-eng@ before using.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::BootDisk

A [Persistent disk](https://cloud.google.com/compute/docs/disks) used as the boot disk for a Compute Engine VM instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->type() / $msg->type($value)

    Type: String

    Required. Immutable. [Persistent disk type](https://cloud.google.com/compute/docs/disks#disk-types), in the format `projects/{project}/zones/{zone}/diskTypes/{disk_type}`.

  • $msg->size_gb() / $msg->size_gb($value)

    Type: Int64

    Required. Immutable. Size of the disk in gigabytes. Must be at least 10GB.

  • $msg->image() / $msg->image($value)

    Type: String

    Optional. Source image family used to create this disk. Must be a [supported image family](https://docs.cloud.google.com/cluster-director/docs/compute#os-images) for the VM instance's machine type. If no family is specified, the system will select a supported image family based on the machine type. If this field is cleared, the system will continue to use the current image family.

  • $msg->effective_image() / $msg->effective_image($value)

    Type: String

    Output only. The specific image family that will be used for new VM instances using this disk. If [image][google.cloud.hypercomputecluster.v1alpha.BootDisk.image] is non-empty, this field will be set to the same value as `image`. Otherwise, this field will be set to a system-selected image.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::AtmTag

Unstable: Contact hypercompute-service-eng@ before using.

Inherits from Protobuf::Message.

Accessors

  • $msg->key() / $msg->key($value)

    Type: String

    Required. Unstable: Contact hypercompute-service-eng@ before using.

  • $msg->value() / $msg->value($value)

    Type: String

    Required. Unstable: Contact hypercompute-service-eng@ before using.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::Orchestrator

The component responsible for scheduling and running workloads on the cluster as well as providing the user interface for interacting with the cluster at runtime.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::SlurmOrchestrator

When set in [Orchestrator][google.cloud.hypercomputecluster.v1alpha.Orchestrator], indicates that the cluster should use [Slurm](https://slurm.schedmd.com/) as the orchestrator.

Inherits from Protobuf::Message.

Accessors

  • $msg->login_nodes() / $msg->login_nodes($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::SlurmLoginNodes)

    Required. Configuration for login nodes, which allow users to access the cluster over SSH.

  • $msg->node_sets() / $msg->node_sets($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::SlurmNodeSet)

    Optional. Compute resource configuration for the Slurm nodesets in your cluster. If not specified, the cluster won't create any nodes.

  • $msg->partitions() / $msg->partitions($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::SlurmPartition)

    Optional. Configuration for the Slurm partitions in your cluster. Each partition can contain one or more nodesets, and you can submit separate jobs on each partition. If you don't specify at least one partition in your cluster, you can't submit jobs to the cluster.

  • $msg->default_partition() / $msg->default_partition($value)

    Type: String

    Optional. Default partition to use for submitted jobs that do not explicitly specify a partition. Required if and only if there is more than one partition, in which case it must match the id of one of the partitions.

  • $msg->prolog_bash_scripts() / $msg->prolog_bash_scripts($value)

    Type: String

    Optional. Slurm [prolog scripts](https://slurm.schedmd.com/prolog_epilog.html), which will be executed by compute nodes before a node begins running a new job. Values must not be empty.

  • $msg->epilog_bash_scripts() / $msg->epilog_bash_scripts($value)

    Type: String

    Optional. Slurm [epilog scripts](https://slurm.schedmd.com/prolog_epilog.html), which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.

  • $msg->config() / $msg->config($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::SlurmOrchestrator::SlurmConfig)

    Optional. Unstable: Contact hypercompute-service-eng@ before using.

  • $msg->task_prolog_bash_scripts() / $msg->task_prolog_bash_scripts($value)

    Type: String

    Optional. Unstable: Contact hypercompute-service-eng@ before using.

  • $msg->task_epilog_bash_scripts() / $msg->task_epilog_bash_scripts($value)

    Type: String

    Optional. Unstable: Contact hypercompute-service-eng@ before using.

  • $msg->disable_health_check_program() / $msg->disable_health_check_program($value)

    Type: Bool

    Optional. Unstable: Contact hypercompute-service-eng@ before using. If true, health checking is disabled, and health_check_interval, health_check_node_state, and health_check_program should not be passed in.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::SlurmNodeSet

Configuration for Slurm nodesets in the cluster. Nodesets are groups of compute nodes used by Slurm that are responsible for running workloads submitted to the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->compute_instance() / $msg->compute_instance($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ComputeInstanceSlurmNodeSet)

    Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.

  • $msg->container_node_pool() / $msg->container_node_pool($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ContainerNodePoolSlurmNodeSet)

    Optional. If set, indicates that the nodeset should be backed by a Kubernetes Engine node pool.

  • $msg->id() / $msg->id($value)

    Type: String

    Required. Identifier for the nodeset, which allows it to be referenced by partitions. Must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).

  • $msg->compute_id() / $msg->compute_id($value)

    Type: String

    Required. ID of the compute resource on which this nodeset will run. Must match a key in the cluster's [compute_resources][google.cloud.hypercomputecluster.v1alpha.Cluster.compute_resources].

  • $msg->storage_configs() / $msg->storage_configs($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::StorageConfig)

    Optional. How [storage resources][google.cloud.hypercomputecluster.v1alpha.StorageResource] should be mounted on each compute node.

  • $msg->static_node_count() / $msg->static_node_count($value)

    Type: Int64

    Optional. Number of nodes to be statically created for this nodeset. The cluster will attempt to ensure that at least this many nodes exist at all times.

  • $msg->max_dynamic_node_count() / $msg->max_dynamic_node_count($value)

    Type: Int64

    Optional. Controls how many additional nodes a cluster can bring online to handle workloads. Set this value to enable dynamic node creation and limit the number of additional nodes the cluster can bring online. Leave empty if you do not want the cluster to create nodes dynamically, and instead rely only on static nodes.

  • $msg->service_account() / $msg->service_account($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ServiceAccount)

    Optional. Unstable: Contact hypercompute-service-eng@ before using.

  • $msg->enable_public_ips() / $msg->enable_public_ips($value)

    Type: Bool

    Optional. Whether compute node instances should be assigned [external IP addresses](https://cloud.google.com/compute/docs/ip-addresses#externaladdresses).

  • $msg->startup_script() / $msg->startup_script($value)

    Type: String

    Optional. Deprecated: Use [ComputeInstanceSlurmNodeSet.startup_script][google.cloud.hypercomputecluster.v1alpha.ComputeInstanceSlurmNodeSet.startup_script] instead.

  • $msg->enable_os_login() / $msg->enable_os_login($value)

    Type: Bool

    Optional. Deprecated: Do not use.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::SlurmNodeSet::LabelsEntry)

    Optional. Deprecated: Use [ComputeInstanceSlurmNodeSet.labels][google.cloud.hypercomputecluster.v1alpha.ComputeInstanceSlurmNodeSet.labels] instead.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ComputeInstanceSlurmNodeSet

When set in a [SlurmNodeSet][google.cloud.hypercomputecluster.v1alpha.SlurmNodeSet], indicates that the nodeset should be backed by Compute Engine VM instances.

Inherits from Protobuf::Message.

Accessors

  • $msg->startup_script() / $msg->startup_script($value)

    Type: String

    Optional. [Startup script](https://cloud.google.com/compute/docs/instances/startup-scripts/linux) to be run on each VM instance in the nodeset. Max 256KB.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ComputeInstanceSlurmNodeSet::LabelsEntry)

    Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) that should be applied to each VM instance in the nodeset.

  • $msg->boot_disk() / $msg->boot_disk($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::BootDisk)

    Optional. Boot disk for the compute instance

  • $msg->startup_script_timeout() / $msg->startup_script_timeout($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Optional. The maximum time to wait for the startup script to complete. If the script exceeds this duration, the instance setup will be considered failed. This value must be positive. If this value is unset, a default timeout of 5 minutes (300 seconds) will be used by the system.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ContainerNodePoolSlurmNodeSet

When set in a [SlurmNodeSet][google.cloud.hypercomputecluster.v1alpha.SlurmNodeSet], indicates that the nodeset should be backed by a Kubernetes Engine node pool.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::SlurmPartition

Configuration for Slurm partitions in the cluster. Partitions are groups of nodesets, and are how clients specify where their workloads should be run.

Inherits from Protobuf::Message.

Accessors

  • $msg->id() / $msg->id($value)

    Type: String

    Required. ID of the partition, which is how users will identify it. Must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).

  • $msg->node_set_ids() / $msg->node_set_ids($value)

    Type: String

    Required. IDs of the nodesets that make up this partition. Values must match [SlurmNodeSet.id][google.cloud.hypercomputecluster.v1alpha.SlurmNodeSet.id].

  • $msg->exclusive() / $msg->exclusive($value)

    Type: Bool

    Optional. Unstable: Contact hypercompute-service-eng@ before using.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::SlurmLoginNodes

Configuration for Slurm [login nodes](https://slurm.schedmd.com/quickstart_admin.html#login) in the cluster. Login nodes are Compute Engine VM instances that allow users to access the cluster over SSH.

Inherits from Protobuf::Message.

Accessors

  • $msg->count() / $msg->count($value)

    Type: Int64

    Required. Number of login node instances to create.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Required. Name of the zone in which login nodes should run, e.g., `us-central1-a`. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster.

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    Required. Name of the Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-resource) to use for login nodes, e.g. `n2-standard-2`.

  • $msg->startup_script() / $msg->startup_script($value)

    Type: String

    Optional. [Startup script](https://cloud.google.com/compute/docs/instances/startup-scripts/linux) to be run on each login node instance. Max 256KB. The script must complete within the system-defined default timeout of 5 minutes. For tasks that require more time, consider running them in the background using methods such as `&` or `nohup`.

  • $msg->enable_os_login() / $msg->enable_os_login($value)

    Type: Bool

    Optional. Whether [OS Login](https://cloud.google.com/compute/docs/oslogin) should be enabled on login node instances.

  • $msg->enable_public_ips() / $msg->enable_public_ips($value)

    Type: Bool

    Optional. Whether login node instances should be assigned [external IP addresses](https://cloud.google.com/compute/docs/ip-addresses#externaladdresses).

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::SlurmLoginNodes::LabelsEntry)

    Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) that should be applied to each login node instance.

  • $msg->storage_configs() / $msg->storage_configs($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::StorageConfig)

    Optional. How [storage resources][google.cloud.hypercomputecluster.v1alpha.StorageResource] should be mounted on each login node.

  • $msg->instances() / $msg->instances($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ComputeInstance)

    Output only. Information about the login node instances that were created in Compute Engine.

  • $msg->boot_disk() / $msg->boot_disk($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::BootDisk)

    Optional. Boot disk for the login node.

  • $msg->service_account() / $msg->service_account($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ServiceAccount)

    Optional. Unstable: Contact hypercompute-service-eng@ before using.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ServiceAccount

Service account email and scopes

Inherits from Protobuf::Message.

Accessors

  • $msg->email() / $msg->email($value)

    Type: String

    Optional. Service account email

  • $msg->scopes() / $msg->scopes($value)

    Type: String

    Optional. Service account scopes

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::StorageConfig

Description of how a [storage resource][google.cloud.hypercomputecluster.v1alpha.StorageResource] should be mounted on a VM instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->id() / $msg->id($value)

    Type: String

    Required. ID of the storage resource to mount, which must match a key in the cluster's [storage_resources][google.cloud.hypercomputecluster.v1alpha.Cluster.storage_resources].

  • $msg->local_mount() / $msg->local_mount($value)

    Type: String

    Required. A directory inside the VM instance's file system where the storage resource should be mounted (e.g., `/mnt/share`).

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ComputeInstance

Details about a Compute Engine [instance](https://cloud.google.com/compute/docs/instances).

Inherits from Protobuf::Message.

Accessors

  • $msg->instance() / $msg->instance($value)

    Type: String

    Output only. Name of the VM instance, in the format `projects/{project}/zones/{zone}/instances/{instance}`.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::MaintenancePolicy

Policy controlling how system-initiated maintenance should be conducted on the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->windows() / $msg->windows($value)

    Type: Message (Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::MaintenanceWindow)

    Optional. Periods during which the system may perform maintenance operations on the cluster that might carry a risk of disruption. The system will make a best-effort attempt to only perform maintenance within these windows. If no windows are specified, the system may perform maintenance at any time. All windows must have same start_time and duration.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::MaintenanceWindow

A window of time in which maintenance is allowed.

Inherits from Protobuf::Message.

Accessors

  • $msg->day() / $msg->day($value)

    Type: Enum (Google::Type::DayOfWeek)

    Required. Day of the week on which maintenance may be performed.

  • $msg->start_time() / $msg->start_time($value)

    Type: Message (Google::Type::Timeofday::TimeOfDay)

    Required. Time in UTC during the given day when the system is allowed to start performing maintenance.

  • $msg->duration() / $msg->duration($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Required. Duration of the maintenance window. The system will attempt to complete maintenance within this duration from start_time. Must be between 4 and 24 hours.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::Compute

Message describing Compute object

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::Node

A resource representing a compute node managed by Cluster Director.

Inherits from Protobuf::Message.

Accessors

Enum: Node::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • SUSPENDING => 3

  • SUSPENDED => 4

  • REPAIRING => 5

  • FAILED => 6

  • DELETING => 7

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::SlurmNodeDetails

Slurm-specific details for a Node.

Inherits from Protobuf::Message.

Accessors

  • $msg->states() / $msg->states($value)

    Type: String

    Output only. Raw state flags directly from Slurm.

  • $msg->reason() / $msg->reason($value)

    Type: String

    Output only. User-readable reason for the current state.

  • $msg->partitions() / $msg->partitions($value)

    Type: String

    Output only. Slurm partitions this node belongs to.

  • $msg->nodeset() / $msg->nodeset($value)

    Type: String

    Output only. The ID of the nodeset this node belongs to.

  • $msg->comment() / $msg->comment($value)

    Type: String

    Output only. System comments from Slurm.

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ComputeEngineNodeDetails

Compute Engine-specific details for a Node.

Inherits from Protobuf::Message.

Accessors

  • $msg->instance() / $msg->instance($value)

    Type: String

    Output only. [Relative resource name](https://google.aip.dev/122) of the VM instance, in the format `projects/{project}/zones/{zone}/instances/{instance}`.

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    Output only. Name of the Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-resource) to use, e.g. `n2-standard-2`.

  • $msg->state() / $msg->state($value)

    Type: String

    Output only. The Compute Engine VM [instance lifecycle state](https://cloud.google.com/compute/docs/instances/instance-lifecycle).

Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::ContainerEngineNodeDetails

Container Engine-specific details for a Node.

Inherits from Protobuf::Message.

Accessors

  • $msg->pod() / $msg->pod($value)

    Type: String

    Output only. [Relative resource name](https://google.aip.dev/122) of the pod, in the format `projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}`.

  • $msg->state() / $msg->state($value)

    Type: String

    Output only. The Container Engine [pod lifecycle state](https://kubernetes.io/docs/Concepts/Workloads/Pods/Pod-lifecycle/).

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Hypercomputecluster::V1alpha::HypercomputeCluster::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.