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
- (::Array<::Google::Cloud::BareMetalSolution::V2::NfsShare::AllowedClient>) — List of allowed access points.
#allowed_clients=
def allowed_clients=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::NfsShare::AllowedClient>
Parameter
- value (::Array<::Google::Cloud::BareMetalSolution::V2::NfsShare::AllowedClient>) — List of allowed access points.
Returns
- (::Array<::Google::Cloud::BareMetalSolution::V2::NfsShare::AllowedClient>) — List of allowed access points.
#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) — Output only. 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.
#state
def state() -> ::Google::Cloud::BareMetalSolution::V2::NfsShare::State
Returns
- (::Google::Cloud::BareMetalSolution::V2::NfsShare::State) — The state of the NFS share.
#state=
def state=(value) -> ::Google::Cloud::BareMetalSolution::V2::NfsShare::State
Parameter
- value (::Google::Cloud::BareMetalSolution::V2::NfsShare::State) — The state of the NFS share.
Returns
- (::Google::Cloud::BareMetalSolution::V2::NfsShare::State) — The state of the NFS share.
#volume
def volume() -> ::String
Returns
- (::String) — The volume containing the share.
#volume=
def volume=(value) -> ::String
Parameter
- value (::String) — The volume containing the share.
Returns
- (::String) — The volume containing the share.