Class: Google::Apis::BaremetalsolutionV2::RenameNfsShareRequest
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::RenameNfsShareRequest
- 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
Message requesting rename of a server.
Instance Attribute Summary collapse
-
#new_nfsshare_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RenameNfsShareRequest
constructor
A new instance of RenameNfsShareRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RenameNfsShareRequest
Returns a new instance of RenameNfsShareRequest.
2054 2055 2056 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2054 def initialize(**args) update!(**args) end |
Instance Attribute Details
#new_nfsshare_id ⇒ String
Required. The new id
of the nfsshare.
Corresponds to the JSON property newNfsshareId
2052 2053 2054 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2052 def new_nfsshare_id @new_nfsshare_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2059 2060 2061 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2059 def update!(**args) @new_nfsshare_id = args[:new_nfsshare_id] if args.key?(:new_nfsshare_id) end |