Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::NfsShare (v0.5.1)

Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::NfsShare.

An NFS share.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed_clients

def allowed_clients() -> ::Array<::Google::Cloud::BareMetalSolution::V2::NfsShare::AllowedClient>
Returns

#allowed_clients=

def allowed_clients=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::NfsShare::AllowedClient>
Parameter
Returns

#id

def id() -> ::String
Returns
  • (::String) — Output only. An identifier for the NFS share, generated by the backend. This is the same value as nfs_share_id and will replace it in the future.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.

#name

def name() -> ::String
Returns
  • (::String) — Immutable. The name of the NFS share.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Immutable. The name of the NFS share.
Returns
  • (::String) — Immutable. The name of the NFS share.

#nfs_share_id

def nfs_share_id() -> ::String
Returns
  • (::String) — Output only. An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead.

#requested_size_gib

def requested_size_gib() -> ::Integer
Returns
  • (::Integer) — The requested size, in GiB.

#requested_size_gib=

def requested_size_gib=(value) -> ::Integer
Parameter
  • value (::Integer) — The requested size, in GiB.
Returns
  • (::Integer) — The requested size, in GiB.

#state

def state() -> ::Google::Cloud::BareMetalSolution::V2::NfsShare::State
Returns

#storage_type

def storage_type() -> ::Google::Cloud::BareMetalSolution::V2::NfsShare::StorageType
Returns

#storage_type=

def storage_type=(value) -> ::Google::Cloud::BareMetalSolution::V2::NfsShare::StorageType
Parameter
Returns

#volume

def volume() -> ::String
Returns
  • (::String) — Output only. The underlying volume of the share. Created automatically during provisioning.