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

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.

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
Google\Protobuf\Internal\RepeatedField

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