Google Cloud Network Management V1 Client - Class InstanceInfo (2.5.0)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class InstanceInfo.

For display only. Metadata associated with a Compute Engine instance.

Generated from protobuf message google.cloud.networkmanagement.v1.InstanceInfo

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ display_name
string

Name of a Compute Engine instance.

↳ uri
string

URI of a Compute Engine instance.

↳ interface
string

Name of the network interface of a Compute Engine instance.

↳ network_uri
string

URI of a Compute Engine network.

↳ internal_ip
string

Internal IP address of the network interface.

↳ external_ip
string

External IP address of the network interface.

↳ network_tags
array

Network tags configured on the instance.

↳ service_account
string

Service account authorized for the instance.

↳ psc_network_attachment_uri
string

URI of the PSC network attachment the NIC is attached to (if relevant).

getDisplayName

Name of a Compute Engine instance.

Returns
Type
Description
string

setDisplayName

Name of a Compute Engine instance.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getUri

URI of a Compute Engine instance.

Returns
Type
Description
string

setUri

URI of a Compute Engine instance.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getInterface

Name of the network interface of a Compute Engine instance.

Returns
Type
Description
string

setInterface

Name of the network interface of a Compute Engine instance.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getNetworkUri

URI of a Compute Engine network.

Returns
Type
Description
string

setNetworkUri

URI of a Compute Engine network.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getInternalIp

Internal IP address of the network interface.

Returns
Type
Description
string

setInternalIp

Internal IP address of the network interface.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getExternalIp

External IP address of the network interface.

Returns
Type
Description
string

setExternalIp

External IP address of the network interface.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getNetworkTags

Network tags configured on the instance.

Returns
Type
Description

setNetworkTags

Network tags configured on the instance.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getServiceAccount

Service account authorized for the instance.

Returns
Type
Description
string

setServiceAccount

Service account authorized for the instance.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPscNetworkAttachmentUri

URI of the PSC network attachment the NIC is attached to (if relevant).

Returns
Type
Description
string

setPscNetworkAttachmentUri

URI of the PSC network attachment the NIC is attached to (if relevant).

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: