class Google::Apis::NetworkmanagementV1beta1::InstanceInfo

For display only. Metadata associated with a Compute Engine instance.

Attributes

display_name[RW]

Name of a Compute Engine instance. Corresponds to the JSON property `displayName` @return [String]

external_ip[RW]

External IP address of the network interface. Corresponds to the JSON property `externalIp` @return [String]

interface[RW]

Name of the network interface of a Compute Engine instance. Corresponds to the JSON property `interface` @return [String]

internal_ip[RW]

Internal IP address of the network interface. Corresponds to the JSON property `internalIp` @return [String]

network_tags[RW]

Network tags configured on the instance. Corresponds to the JSON property `networkTags` @return [Array<String>]

network_uri[RW]

URI of a Compute Engine network. Corresponds to the JSON property `networkUri` @return [String]

service_account[RW]

Service account authorized for the instance. Corresponds to the JSON property `serviceAccount` @return [String]

uri[RW]

URI of a Compute Engine instance. Corresponds to the JSON property `uri` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 840
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @external_ip = args[:external_ip] if args.key?(:external_ip)
  @interface = args[:interface] if args.key?(:interface)
  @internal_ip = args[:internal_ip] if args.key?(:internal_ip)
  @network_tags = args[:network_tags] if args.key?(:network_tags)
  @network_uri = args[:network_uri] if args.key?(:network_uri)
  @service_account = args[:service_account] if args.key?(:service_account)
  @uri = args[:uri] if args.key?(:uri)
end