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.
2035 2036 2037 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2035 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
2033 2034 2035 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2033 def new_network_id @new_network_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2040 2041 2042 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2040 def update!(**args) @new_network_id = args[:new_network_id] if args.key?(:new_network_id) end |