Reference documentation and code samples for the Google Cloud Dataproc V1 Client class AttachedDiskConfig.
Specifies the config of attached disk options for single VM instance.
Generated from protobuf message google.cloud.dataproc.v1.AttachedDiskConfig
Namespace
Google \ Cloud \ Dataproc \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ disk_type |
int
Optional. Disk type. |
↳ disk_size_gb |
int
Optional. Disk size in GB. |
↳ provisioned_iops |
int|string
Optional. Indicates how many IOPS to provision for the attached disk. This sets the number of I/O operations per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features |
↳ provisioned_throughput |
int|string
Optional. Indicates how much throughput to provision for the attached disk. This sets the number of throughput mb per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features |
getDiskType
Optional. Disk type.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type DiskType. |
setDiskType
Optional. Disk type.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type DiskType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDiskSizeGb
Optional. Disk size in GB.
| Returns | |
|---|---|
| Type | Description |
int |
|
setDiskSizeGb
Optional. Disk size in GB.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProvisionedIops
Optional. Indicates how many IOPS to provision for the attached disk. This sets the number of I/O operations per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasProvisionedIops
clearProvisionedIops
setProvisionedIops
Optional. Indicates how many IOPS to provision for the attached disk. This sets the number of I/O operations per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProvisionedThroughput
Optional. Indicates how much throughput to provision for the attached disk. This sets the number of throughput mb per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasProvisionedThroughput
clearProvisionedThroughput
setProvisionedThroughput
Optional. Indicates how much throughput to provision for the attached disk. This sets the number of throughput mb per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|