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 \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
string
Required. Immutable. Persistent disk type, in the format |
↳ 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 |
|