Class: Google::Apis::BaremetalsolutionV2::RenameNetworkRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

Required. The new id of the network. Corresponds to the JSON property newNetworkId

Returns:

  • (String)


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