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
- (::Array<::Google::Cloud::Compute::V1::NamedPort>) — [Output Only] The named ports that belong to this instance group.
#named_ports=
def named_ports=(value) -> ::Array<::Google::Cloud::Compute::V1::NamedPort>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::NamedPort>) — [Output Only] The named ports that belong to this instance group.
Returns
- (::Array<::Google::Cloud::Compute::V1::NamedPort>) — [Output Only] The named ports that belong to this instance group.
#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.