Google Cloud Hypercompute Cluster V1beta Client - Class BootDisk (0.3.1)

Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class BootDisk.

A Persistent disk used as the boot disk for a Compute Engine VM instance.

Generated from protobuf message google.cloud.hypercomputecluster.v1beta.BootDisk

Namespace

Google \ Cloud \ HypercomputeCluster \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type string

Required. Immutable. Persistent disk type, in the format projects/{project}/zones/{zone}/diskTypes/{disk_type}.

↳ size_gb int|string

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

getType

Required. Immutable. Persistent disk type, in the format projects/{project}/zones/{zone}/diskTypes/{disk_type}.

Returns
Type Description
string

setType

Required. Immutable. Persistent disk type, in the format projects/{project}/zones/{zone}/diskTypes/{disk_type}.

Parameter
Name Description
var string
Returns
Type Description
$this

getSizeGb

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

Returns
Type Description
int|string

setSizeGb

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

Parameter
Name Description
var int|string
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026年07月31日 UTC.