class Google::Apis::BaremetalsolutionV2::Network

A network.

Attributes

ip_address[RW]

IP address configured. Corresponds to the JSON property `ipAddress` @return [String]

mac_address[RW]

List of physical nics. Corresponds to the JSON property `macAddress` @return [Array<String>]

network[RW]

Name of the network. Corresponds to the JSON property `network` @return [String]

type[RW]

The type of this network. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/baremetalsolution_v2/classes.rb, line 500
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_v2/classes.rb, line 505
def update!(**args)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @mac_address = args[:mac_address] if args.key?(:mac_address)
  @network = args[:network] if args.key?(:network)
  @type = args[:type] if args.key?(:type)
end