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.



1893
1894
1895
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1893

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)


1891
1892
1893
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1891

def new_network_id
  @new_network_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1898
1899
1900
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1898

def update!(**args)
  @new_network_id = args[:new_network_id] if args.key?(:new_network_id)
end