class Google::Apis::ComputeV1::InstanceWithNamedPorts
Attributes
instance[RW]
- Output Only
-
The URL of the instance.
Corresponds to the JSON property `instance` @return [String]
named_ports[RW]
- Output Only
-
The named ports that belong to this instance group.
Corresponds to the JSON property `namedPorts` @return [Array<Google::Apis::ComputeV1::NamedPort>]
status[RW]
- Output Only
-
The status of the instance.
Corresponds to the JSON property `status` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/compute_v1/classes.rb, line 4445 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/compute_v1/classes.rb, line 4450 def update!(**args) @instance = args[:instance] if args.key?(:instance) @named_ports = args[:named_ports] if args.key?(:named_ports) @status = args[:status] if args.key?(:status) end