Class: Google::Apis::BaremetalsolutionV2::RenameVolumeRequest
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::RenameVolumeRequest
- 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_volume_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RenameVolumeRequest
constructor
A new instance of RenameVolumeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RenameVolumeRequest
Returns a new instance of RenameVolumeRequest.
1931 1932 1933 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1931 def initialize(**args) update!(**args) end |
Instance Attribute Details
#new_volume_id ⇒ String
Required. The new id of the volume.
Corresponds to the JSON property newVolumeId
1929 1930 1931 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1929 def new_volume_id @new_volume_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1936 1937 1938 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1936 def update!(**args) @new_volume_id = args[:new_volume_id] if args.key?(:new_volume_id) end |