Google Cloud AlloyDB for PostgreSQL V1alpha Client - Class PscInterfaceConfig (0.10.3)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1alpha Client class PscInterfaceConfig.

Configuration for setting up a PSC interface. This information needs to be provided by the customer.

PSC interfaces will be created and added to VMs via SLM (adding a network interface will require recreating the VM). For HA instances this will be done via LDTM.

Generated from protobuf message google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig

Namespace

Google \ Cloud \ AlloyDb \ V1alpha \ Instance

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ consumer_endpoint_ips array

A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.

↳ network_attachment string

The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}". NetworkAttachment has to be provided when the PSC interface is created.

getConsumerEndpointIps

A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setConsumerEndpointIps

A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getNetworkAttachment

The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}".

NetworkAttachment has to be provided when the PSC interface is created.

Returns
Type Description
string

setNetworkAttachment

The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}".

NetworkAttachment has to be provided when the PSC interface is created.

Parameter
Name Description
var string
Returns
Type Description
$this