Google Cloud Network Management V1 Client - Class InstanceInfo (1.3.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
NameDescription
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
TypeDescription
string

setDisplayName

Name of a Compute Engine instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUri

URI of a Compute Engine instance.

Returns
TypeDescription
string

setUri

URI of a Compute Engine instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInterface

Name of the network interface of a Compute Engine instance.

Returns
TypeDescription
string

setInterface

Name of the network interface of a Compute Engine instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNetworkUri

URI of a Compute Engine network.

Returns
TypeDescription
string

setNetworkUri

URI of a Compute Engine network.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInternalIp

Internal IP address of the network interface.

Returns
TypeDescription
string

setInternalIp

Internal IP address of the network interface.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExternalIp

External IP address of the network interface.

Returns
TypeDescription
string

setExternalIp

External IP address of the network interface.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNetworkTags

Network tags configured on the instance.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNetworkTags

Network tags configured on the instance.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getServiceAccount

Service account authorized for the instance.

Returns
TypeDescription
string

setServiceAccount

Service account authorized for the instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this