Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::InstanceInfo.
For display only. Metadata associated with a Compute Engine instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#display_name
def display_name() -> ::String
Returns
- (::String) — Name of a Compute Engine instance.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Name of a Compute Engine instance.
Returns
- (::String) — Name of a Compute Engine instance.
#external_ip
def external_ip() -> ::String
Returns
- (::String) — External IP address of the network interface.
#external_ip=
def external_ip=(value) -> ::String
Parameter
- value (::String) — External IP address of the network interface.
Returns
- (::String) — External IP address of the network interface.
#interface
def interface() -> ::String
Returns
- (::String) — Name of the network interface of a Compute Engine instance.
#interface=
def interface=(value) -> ::String
Parameter
- value (::String) — Name of the network interface of a Compute Engine instance.
Returns
- (::String) — Name of the network interface of a Compute Engine instance.
#internal_ip
def internal_ip() -> ::String
Returns
- (::String) — Internal IP address of the network interface.
#internal_ip=
def internal_ip=(value) -> ::String
Parameter
- value (::String) — Internal IP address of the network interface.
Returns
- (::String) — Internal IP address of the network interface.
#network_tags
def network_tags() -> ::Array<::String>
Returns
- (::Array<::String>) — Network tags configured on the instance.
#network_tags=
def network_tags=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Network tags configured on the instance.
Returns
- (::Array<::String>) — Network tags configured on the instance.
#network_uri
def network_uri() -> ::String
Returns
- (::String) — URI of a Compute Engine network.
#network_uri=
def network_uri=(value) -> ::String
Parameter
- value (::String) — URI of a Compute Engine network.
Returns
- (::String) — URI of a Compute Engine network.
#psc_network_attachment_uri
def psc_network_attachment_uri() -> ::String
Returns
- (::String) — URI of the PSC network attachment the NIC is attached to (if relevant).
#psc_network_attachment_uri=
def psc_network_attachment_uri=(value) -> ::String
Parameter
- value (::String) — URI of the PSC network attachment the NIC is attached to (if relevant).
Returns
- (::String) — URI of the PSC network attachment the NIC is attached to (if relevant).
#service_account
def service_account() -> ::String
Returns
- (::String) — Service account authorized for the instance.
#service_account=
def service_account=(value) -> ::String
Parameter
- value (::String) — Service account authorized for the instance.
Returns
- (::String) — Service account authorized for the instance.
#uri
def uri() -> ::String
Returns
- (::String) — URI of a Compute Engine instance.
#uri=
def uri=(value) -> ::String
Parameter
- value (::String) — URI of a Compute Engine instance.
Returns
- (::String) — URI of a Compute Engine instance.