Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class PscAutoConnectionConfig.
Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.
Generated from protobuf message google.cloud.alloydb.v1.Instance.PscAutoConnectionConfig
Namespace
Google \ Cloud \ AlloyDb \ V1 \ InstanceMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ consumer_project
string
The consumer project to which the PSC service automation endpoint will be created.
↳ consumer_network
string
The consumer network for the PSC service automation, example: "projects/vpc-host-project/global/networks/default". The consumer network might be hosted a different project than the consumer project.
↳ ip_address
string
Output only. The IP address of the PSC service automation endpoint.
↳ status
string
Output only. The status of the PSC service automation connection.
↳ consumer_network_status
string
Output only. The status of the service connection policy.
getConsumerProject
The consumer project to which the PSC service automation endpoint will be created.
string
setConsumerProject
The consumer project to which the PSC service automation endpoint will be created.
var
string
$this
getConsumerNetwork
The consumer network for the PSC service automation, example: "projects/vpc-host-project/global/networks/default".
The consumer network might be hosted a different project than the consumer project.
string
setConsumerNetwork
The consumer network for the PSC service automation, example: "projects/vpc-host-project/global/networks/default".
The consumer network might be hosted a different project than the consumer project.
var
string
$this
getIpAddress
Output only. The IP address of the PSC service automation endpoint.
string
setIpAddress
Output only. The IP address of the PSC service automation endpoint.
var
string
$this
getStatus
Output only. The status of the PSC service automation connection.
string
setStatus
Output only. The status of the PSC service automation connection.
var
string
$this
getConsumerNetworkStatus
Output only. The status of the service connection policy.
string
setConsumerNetworkStatus
Output only. The status of the service connection policy.
var
string
$this