Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InstanceWithNamedPorts (v1.3.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstanceWithNamedPorts.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#instance

def instance() -> ::String
Returns
  • (::String) — [Output Only] The URL of the instance.

#instance=

def instance=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The URL of the instance.
Returns
  • (::String) — [Output Only] The URL of the instance.

#named_ports

def named_ports() -> ::Array<::Google::Cloud::Compute::V1::NamedPort>
Returns

#named_ports=

def named_ports=(value) -> ::Array<::Google::Cloud::Compute::V1::NamedPort>
Parameter
Returns

#status

def status() -> ::String
Returns
  • (::String) — [Output Only] The status of the instance. Check the Status enum for the list of possible values.

#status=

def status=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The status of the instance. Check the Status enum for the list of possible values.
Returns
  • (::String) — [Output Only] The status of the instance. Check the Status enum for the list of possible values.