Class: Google::Apis::BaremetalsolutionV2::NfsShare
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::NfsShare
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb
Overview
An NFS share.
Instance Attribute Summary collapse
-
#allowed_clients ⇒ Array<Google::Apis::BaremetalsolutionV2::AllowedClient>
List of allowed access points.
-
#labels ⇒ Hash<String,String>
Labels as key value pairs.
-
#name ⇒ String
Output only.
-
#nfs_share_id ⇒ String
Output only.
-
#state ⇒ String
The state of the NFS share.
-
#volume ⇒ String
The volume containing the share.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NfsShare
constructor
A new instance of NfsShare.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NfsShare
Returns a new instance of NfsShare.
1111 1112 1113 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1111 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_clients ⇒ Array<Google::Apis::BaremetalsolutionV2::AllowedClient>
List of allowed access points.
Corresponds to the JSON property allowedClients
1084 1085 1086 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1084 def allowed_clients @allowed_clients end |
#labels ⇒ Hash<String,String>
Labels as key value pairs.
Corresponds to the JSON property labels
1089 1090 1091 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1089 def labels @labels end |
#name ⇒ String
Output only. The name of the NFS share.
Corresponds to the JSON property name
1094 1095 1096 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1094 def name @name end |
#nfs_share_id ⇒ String
Output only. An identifier for the NFS share, generated by the backend.
Corresponds to the JSON property nfsShareId
1099 1100 1101 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1099 def nfs_share_id @nfs_share_id end |
#state ⇒ String
The state of the NFS share.
Corresponds to the JSON property state
1104 1105 1106 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1104 def state @state end |
#volume ⇒ String
The volume containing the share.
Corresponds to the JSON property volume
1109 1110 1111 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1109 def volume @volume end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1116 1117 1118 1119 1120 1121 1122 1123 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1116 def update!(**args) @allowed_clients = args[:allowed_clients] if args.key?(:allowed_clients) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @nfs_share_id = args[:nfs_share_id] if args.key?(:nfs_share_id) @state = args[:state] if args.key?(:state) @volume = args[:volume] if args.key?(:volume) end |