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

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

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 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
Type Description
string

setDisplayName

Name of a Cloud SQL instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getUri

URI of a Cloud SQL instance.

Returns
Type Description
string

setUri

URI of a Cloud SQL instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getNetworkUri

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

Returns
Type Description
string

setNetworkUri

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

Parameter
Name Description
var string
Returns
Type Description
$this

getInternalIp

Internal IP address of a Cloud SQL instance.

Returns
Type Description
string

setInternalIp

Internal IP address of a Cloud SQL instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getExternalIp

External IP address of a Cloud SQL instance.

Returns
Type Description
string

setExternalIp

External IP address of a Cloud SQL instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getRegion

Region in which the Cloud SQL instance is running.

Returns
Type Description
string

setRegion

Region in which the Cloud SQL instance is running.

Parameter
Name Description
var string
Returns
Type Description
$this