Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class PscAutoConnectionConfig.
Settings for an automatically-setup Private Service Connect consumer endpoint that is used to connect to a Cloud SQL instance.
Generated from protobuf message google.cloud.sql.v1.PscAutoConnectionConfig
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ consumer_project
string
Optional. This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.
↳ consumer_network
string
Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, projects/project1/global/networks/network1
. The consumer host project of this network might be different from the consumer service project.
↳ ip_address
string
The IP address of the consumer endpoint.
↳ status
string
The connection status of the consumer endpoint.
↳ consumer_network_status
string
The connection policy status of the consumer network.
getConsumerProject
Optional. This is the project ID of consumer service project of this consumer endpoint.
Optional. This is only applicable if consumer_network is a shared vpc network.
string
setConsumerProject
Optional. This is the project ID of consumer service project of this consumer endpoint.
Optional. This is only applicable if consumer_network is a shared vpc network.
var
string
$this
getConsumerNetwork
Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name.
For example, projects/project1/global/networks/network1
.
The consumer host project of this network might be different from the
consumer service project.
string
setConsumerNetwork
Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name.
For example, projects/project1/global/networks/network1
.
The consumer host project of this network might be different from the
consumer service project.
var
string
$this
getIpAddress
The IP address of the consumer endpoint.
string
hasIpAddress
clearIpAddress
setIpAddress
The IP address of the consumer endpoint.
var
string
$this
getStatus
The connection status of the consumer endpoint.
string
hasStatus
clearStatus
setStatus
The connection status of the consumer endpoint.
var
string
$this
getConsumerNetworkStatus
The connection policy status of the consumer network.
string
hasConsumerNetworkStatus
clearConsumerNetworkStatus
setConsumerNetworkStatus
The connection policy status of the consumer network.
var
string
$this

