Class: Google::Apis::BaremetalsolutionV2::RenameNetworkRequest
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::RenameNetworkRequest
- 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_network_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RenameNetworkRequest
constructor
A new instance of RenameNetworkRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RenameNetworkRequest
Returns a new instance of RenameNetworkRequest.
1854 1855 1856 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1854 def initialize(**args) update!(**args) end |
Instance Attribute Details
#new_network_id ⇒ String
Required. The new id of the network.
Corresponds to the JSON property newNetworkId
1852 1853 1854 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1852 def new_network_id @new_network_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1859 1860 1861 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1859 def update!(**args) @new_network_id = args[:new_network_id] if args.key?(:new_network_id) end |