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.
1930 1931 1932 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1930 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
1928 1929 1930 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1928 def new_nfsshare_id @new_nfsshare_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1935 1936 1937 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1935 def update!(**args) @new_nfsshare_id = args[:new_nfsshare_id] if args.key?(:new_nfsshare_id) end |