Google Cloud Network Management V1 Client - Class CloudSQLInstanceInfo (1.0.5)

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

For display only. Metadata associated with a Cloud SQL instance.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ display_name string

Name of a Cloud SQL instance.

↳ uri string

URI of a Cloud SQL instance.

↳ network_uri string

URI of a Cloud SQL instance network or empty string if the instance does not have one.

↳ internal_ip string

Internal IP address of a Cloud SQL instance.

↳ external_ip string

External IP address of a Cloud SQL instance.

↳ region string

Region in which the Cloud SQL instance is running.

getDisplayName

Name of a Cloud SQL instance.

Returns
TypeDescription
string

setDisplayName

Name of a Cloud SQL instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUri

URI of a Cloud SQL instance.

Returns
TypeDescription
string

setUri

URI of a Cloud SQL instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNetworkUri

URI of a Cloud SQL instance network or empty string if the instance does not have one.

Returns
TypeDescription
string

setNetworkUri

URI of a Cloud SQL instance network or empty string if the instance does not have one.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInternalIp

Internal IP address of a Cloud SQL instance.

Returns
TypeDescription
string

setInternalIp

Internal IP address of a Cloud SQL instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExternalIp

External IP address of a Cloud SQL instance.

Returns
TypeDescription
string

setExternalIp

External IP address of a Cloud SQL instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRegion

Region in which the Cloud SQL instance is running.

Returns
TypeDescription
string

setRegion

Region in which the Cloud SQL instance is running.

Parameter
NameDescription
var string
Returns
TypeDescription
$this