Interface BootDiskOrBuilder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface BootDiskOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getSizeGb()
publicabstractlonggetSizeGb()Required. Immutable. Size of the disk in gigabytes. Must be at least 10GB.
int64 size_gb = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
long |
The sizeGb. |
getType()
publicabstractStringgetType() Required. Immutable. Persistent disk
type, in the
format projects/{project}/zones/{zone}/diskTypes/{disk_type}.
string type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
publicabstractByteStringgetTypeBytes() Required. Immutable. Persistent disk
type, in the
format projects/{project}/zones/{zone}/diskTypes/{disk_type}.
string type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |