Google Cloud AlloyDB for PostgreSQL V1alpha Client - Class InstanceNetworkConfig (0.9.0)

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

Metadata related to instance level network configuration.

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

Namespace

Google \ Cloud \ AlloyDb \ V1alpha \ Instance

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ authorized_external_networks array<Google\Cloud\AlloyDb\V1alpha\Instance\InstanceNetworkConfig\AuthorizedNetwork>

Optional. A list of external network authorized to access this instance.

↳ enable_public_ip bool

Optional. Enabling public ip for the instance.

getAuthorizedExternalNetworks

Optional. A list of external network authorized to access this instance.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAuthorizedExternalNetworks

Optional. A list of external network authorized to access this instance.

Parameter
NameDescription
var array<Google\Cloud\AlloyDb\V1alpha\Instance\InstanceNetworkConfig\AuthorizedNetwork>
Returns
TypeDescription
$this

getEnablePublicIp

Optional. Enabling public ip for the instance.

Returns
TypeDescription
bool

setEnablePublicIp

Optional. Enabling public ip for the instance.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this