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.
1119 1120 1121 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1119 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
1092 1093 1094 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1092 def allowed_clients @allowed_clients end |
#labels ⇒ Hash<String,String>
Labels as key value pairs.
Corresponds to the JSON property labels
1097 1098 1099 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1097 def labels @labels end |
#name ⇒ String
Output only. The name of the NFS share.
Corresponds to the JSON property name
1102 1103 1104 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1102 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
1107 1108 1109 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1107 def nfs_share_id @nfs_share_id end |
#state ⇒ String
The state of the NFS share.
Corresponds to the JSON property state
1112 1113 1114 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1112 def state @state end |
#volume ⇒ String
The volume containing the share.
Corresponds to the JSON property volume
1117 1118 1119 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1117 def volume @volume end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1124 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 |