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.
2045 2046 2047 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2045 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
2043 2044 2045 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2043 def new_nfsshare_id @new_nfsshare_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2050 2051 2052 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2050 def update!(**args) @new_nfsshare_id = args[:new_nfsshare_id] if args.key?(:new_nfsshare_id) end |