Service Client: Google::Cloud::Hypercomputecluster::V1::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::V1::HypercomputeCluster - Compiled Protocol Buffers messages for google/cloud/hypercomputecluster/v1/hypercompute_cluster.proto

SYNOPSIS

use Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster;

my $msg = Google::Cloud::Hypercomputecluster::V1::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::V1::HypercomputeCluster::Cluster->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/hypercomputecluster/v1/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::V1::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

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

    Type: String

    Identifier. [Relative resource name](https://google.aip.dev/122) of the cluster, in the format `projects/{project}/locations/{location}/clusters/{cluster}`.

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

    Type: String

    Optional. User-provided description of the cluster.

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

    Type: Message (Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::Cluster::LabelsEntry)

    Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied to the cluster. Labels can be used to organize clusters and to filter them in queries.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time that the cluster was originally created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time that the cluster was most recently updated.

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

    Type: Bool

    Output only. Indicates whether changes to the cluster are currently in flight. If this is `true`, then the current state might not match the cluster's intended state.

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

    Type: Message (Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::Cluster::NetworkResourcesEntry)

    Optional. Network resources available to the cluster. Must contain at most one value. Keys specify the ID of the network resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).

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

    Type: Message (Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::Cluster::StorageResourcesEntry)

    Optional. Storage resources available to the cluster. Keys specify the ID of the storage resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).

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

    Type: Message (Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::Cluster::ComputeResourcesEntry)

    Optional. Compute resources available to the cluster. Keys specify the ID of the compute resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).

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

    Type: Message (Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::Orchestrator)

    Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.

Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::ListClustersRequest

Request message for [ListClusters][google.cloud.hypercomputecluster.v1.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::V1::HypercomputeCluster::ListClustersResponse

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

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Hypercomputecluster::V1::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::V1::HypercomputeCluster::GetClusterRequest

Request message for [GetCluster][google.cloud.hypercomputecluster.v1.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::V1::HypercomputeCluster::CreateClusterRequest

Request message for [CreateCluster][google.cloud.hypercomputecluster.v1.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::V1::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::V1::HypercomputeCluster::UpdateClusterRequest

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

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Hypercomputecluster::V1::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::V1::HypercomputeCluster::DeleteClusterRequest

Request message for [DeleteCluster][google.cloud.hypercomputecluster.v1.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::V1::HypercomputeCluster::NetworkResource

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

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1::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::V1::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::V1::HypercomputeCluster::NewNetworkConfig

When set in a [NetworkResourceConfig][google.cloud.hypercomputecluster.v1.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::V1::HypercomputeCluster::ExistingNetworkConfig

When set in a [NetworkResourceConfig][google.cloud.hypercomputecluster.v1.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::V1::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::V1::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::V1::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::V1::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::V1::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::V1::HypercomputeCluster::NewFilestoreConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1.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::V1::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::V1::HypercomputeCluster::ExistingFilestoreConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1.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::V1::HypercomputeCluster::NewBucketConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1.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::V1::HypercomputeCluster::GcsAutoclassConfig

Message describing Google Cloud Storage autoclass configuration

Inherits from Protobuf::Message.

Accessors

Enum: GcsAutoclassConfig::TerminalStorageClass

  • TERMINAL_STORAGE_CLASS_UNSPECIFIED => 0

Google::Cloud::Hypercomputecluster::V1::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::V1::HypercomputeCluster::ExistingBucketConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1.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::V1::HypercomputeCluster::NewLustreConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1.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.

Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::ExistingLustreConfig

When set in a [StorageResourceConfig][google.cloud.hypercomputecluster.v1.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::V1::HypercomputeCluster::ComputeResource

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

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::ComputeResourceConfig

Describes how a compute resource should be created at runtime.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::NewOnDemandInstancesConfig

When set in a [ComputeResourceConfig][google.cloud.hypercomputecluster.v1.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`.

Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::NewSpotInstancesConfig

When set in a [ComputeResourceConfig][google.cloud.hypercomputecluster.v1.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->termination_action() / $msg->termination_action($value)

    Type: Enum (Google::Cloud::Hypercomputecluster::V1::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::V1::HypercomputeCluster::NewReservedInstancesConfig

When set in a [ComputeResourceConfig][google.cloud.hypercomputecluster.v1.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}`.

Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::NewFlexStartInstancesConfig

When set in a [ComputeResourceConfig][google.cloud.hypercomputecluster.v1.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.

Google::Cloud::Hypercomputecluster::V1::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.

Google::Cloud::Hypercomputecluster::V1::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::V1::HypercomputeCluster::SlurmOrchestrator

When set in [Orchestrator][google.cloud.hypercomputecluster.v1.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::V1::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::V1::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::V1::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.

Google::Cloud::Hypercomputecluster::V1::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::V1::HypercomputeCluster::ComputeInstanceSlurmNodeSet)

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

  • $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

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

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

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

    Optional. How [storage resources][google.cloud.hypercomputecluster.v1.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.

Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::ComputeInstanceSlurmNodeSet

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

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Hypercomputecluster::V1::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.v1.SlurmNodeSet.id].

Google::Cloud::Hypercomputecluster::V1::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::V1::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::V1::HypercomputeCluster::StorageConfig)

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

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

    Type: Message (Google::Cloud::Hypercomputecluster::V1::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::V1::HypercomputeCluster::BootDisk)

    Optional. Boot disk for the login node.

Google::Cloud::Hypercomputecluster::V1::HypercomputeCluster::StorageConfig

Description of how a [storage resource][google.cloud.hypercomputecluster.v1.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.v1.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::V1::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}`.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.