class Google::Apis::BaremetalsolutionV1alpha1::NetworkAddress

A network.

Attributes

address[RW]

IP address to be assigned to the server. Corresponds to the JSON property `address` @return [String]

network_id[RW]

Id of the network to use, within the same ProvisioningConfig request. Corresponds to the JSON property `networkId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 531
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 536
def update!(**args)
  @address = args[:address] if args.key?(:address)
  @network_id = args[:network_id] if args.key?(:network_id)
end