class Google::Apis::NetworkmanagementV1beta1::InstanceInfo
For display only. Metadata associated with a Compute Engine instance.
Attributes
Name of a Compute Engine instance. Corresponds to the JSON property `displayName` @return [String]
External IP address of the network interface. Corresponds to the JSON property `externalIp` @return [String]
Name of the network interface of a Compute Engine instance. Corresponds to the JSON property `interface` @return [String]
Internal IP address of the network interface. Corresponds to the JSON property `internalIp` @return [String]
URI of a Compute Engine network. Corresponds to the JSON property `networkUri` @return [String]
Service account authorized for the instance. Corresponds to the JSON property `serviceAccount` @return [String]
URI of a Compute Engine instance. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 835 def initialize(**args) update!(**args) end
Public Instance Methods
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