class Google::Apis::ManagerV1beta2::NetworkInterface

A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.

Attributes

access_configs[RW]

An array of configurations for this interface. This specifies how this interface is configured to interact with other network services Corresponds to the JSON property `accessConfigs` @return [Array<Google::Apis::ManagerV1beta2::AccessConfig>]

name[RW]

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

network[RW]

The name of the NetworkModule to which this interface applies. If not specified, or specified as 'default', this will use the 'default' network. Corresponds to the JSON property `network` @return [String]

network_ip[RW]

An optional IPV4 internal network address to assign to the instance for this network interface. Corresponds to the JSON property `networkIp` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/manager_v1beta2/classes.rb, line 810
def update!(**args)
  @access_configs = args[:access_configs] if args.key?(:access_configs)
  @name = args[:name] if args.key?(:name)
  @network = args[:network] if args.key?(:network)
  @network_ip = args[:network_ip] if args.key?(:network_ip)
end