Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::StoragePoolDisk (v2.12.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::StoragePoolDisk.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attached_instances

def attached_instances() -> ::Array<::String>
Returns
  • (::Array<::String>) — [Output Only] Instances this disk is attached to.

#attached_instances=

def attached_instances=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — [Output Only] Instances this disk is attached to.
Returns
  • (::Array<::String>) — [Output Only] Instances this disk is attached to.

#creation_timestamp

def creation_timestamp() -> ::String
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#creation_timestamp=

def creation_timestamp=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Creation timestamp in RFC3339 text format.
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#disk

def disk() -> ::String
Returns
  • (::String) — [Output Only] The URL of the disk.

#disk=

def disk=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The URL of the disk.
Returns
  • (::String) — [Output Only] The URL of the disk.

#name

def name() -> ::String
Returns
  • (::String) — [Output Only] The name of the disk.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The name of the disk.
Returns
  • (::String) — [Output Only] The name of the disk.

#provisioned_iops

def provisioned_iops() -> ::Integer
Returns
  • (::Integer) — [Output Only] The number of IOPS provisioned for the disk.

#provisioned_iops=

def provisioned_iops=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] The number of IOPS provisioned for the disk.
Returns
  • (::Integer) — [Output Only] The number of IOPS provisioned for the disk.

#provisioned_throughput

def provisioned_throughput() -> ::Integer
Returns
  • (::Integer) — [Output Only] The throughput provisioned for the disk.

#provisioned_throughput=

def provisioned_throughput=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] The throughput provisioned for the disk.
Returns
  • (::Integer) — [Output Only] The throughput provisioned for the disk.

#resource_policies

def resource_policies() -> ::Array<::String>
Returns
  • (::Array<::String>) — [Output Only] Resource policies applied to disk for automatic snapshot creations.

#resource_policies=

def resource_policies=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — [Output Only] Resource policies applied to disk for automatic snapshot creations.
Returns
  • (::Array<::String>) — [Output Only] Resource policies applied to disk for automatic snapshot creations.

#size_gb

def size_gb() -> ::Integer
Returns
  • (::Integer) — [Output Only] The disk size, in GB.

#size_gb=

def size_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] The disk size, in GB.
Returns
  • (::Integer) — [Output Only] The disk size, in GB.

#status

def status() -> ::String
Returns
  • (::String) — [Output Only] The disk status. Check the Status enum for the list of possible values.

#status=

def status=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The disk status. Check the Status enum for the list of possible values.
Returns
  • (::String) — [Output Only] The disk status. Check the Status enum for the list of possible values.

#type

def type() -> ::String
Returns
  • (::String) — [Output Only] The disk type.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The disk type.
Returns
  • (::String) — [Output Only] The disk type.

#used_bytes

def used_bytes() -> ::Integer
Returns
  • (::Integer) — [Output Only] Amount of disk space used.

#used_bytes=

def used_bytes=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] Amount of disk space used.
Returns
  • (::Integer) — [Output Only] Amount of disk space used.