Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class InstanceNetworkConfig.
Metadata related to instance-level network configuration.
Generated from protobuf message google.cloud.alloydb.v1.Instance.InstanceNetworkConfig
Namespace
Google \ Cloud \ AlloyDb \ V1 \ InstanceMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ authorized_external_networks |
array<Google\Cloud\AlloyDb\V1\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. |
↳ enable_outbound_public_ip |
bool
Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet. |
getAuthorizedExternalNetworks
Optional. A list of external network authorized to access this instance.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAuthorizedExternalNetworks
Optional. A list of external network authorized to access this instance.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\AlloyDb\V1\Instance\InstanceNetworkConfig\AuthorizedNetwork>
|
Returns | |
---|---|
Type | Description |
$this |
getEnablePublicIp
Optional. Enabling public ip for the instance.
Returns | |
---|---|
Type | Description |
bool |
setEnablePublicIp
Optional. Enabling public ip for the instance.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getEnableOutboundPublicIp
Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.
Returns | |
---|---|
Type | Description |
bool |
setEnableOutboundPublicIp
Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |