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.
↳ network
string
Output only. The resource link for the VPC network in which instance resources are created and from which they are accessible via Private IP. This will be the same value as the parent cluster's network. It is specified in the form: //projects/{project_number}/global/networks/{network_id}.
↳ allocated_ip_range_override
string
Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: "google-managed-services-default". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply withRFC 1035. Specifically, the name must be 1-63 characters long and match the regular expressiona-z?.
getAuthorizedExternalNetworks
Optional. A list of external network authorized to access this instance.
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
getNetwork
Output only. The resource link for the VPC network in which instance
resources are created and from which they are accessible via Private IP.
This will be the same value as the parent cluster's network. It is
specified in the form: //projects/{project_number}/global/networks/{network_id}.
Returns
Type
Description
string
setNetwork
Output only. The resource link for the VPC network in which instance
resources are created and from which they are accessible via Private IP.
This will be the same value as the parent cluster's network. It is
specified in the form: //projects/{project_number}/global/networks/{network_id}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getAllocatedIpRangeOverride
Optional. Name of the allocated IP range for the private IP AlloyDB
instance, for example: "google-managed-services-default". If set, the
instance IPs will be created from this allocated range and will override
the IP range used by the parent cluster. The range name must comply withRFC 1035. Specifically,
the name must be 1-63 characters long and match the regular expressiona-z?.
Returns
Type
Description
string
setAllocatedIpRangeOverride
Optional. Name of the allocated IP range for the private IP AlloyDB
instance, for example: "google-managed-services-default". If set, the
instance IPs will be created from this allocated range and will override
the IP range used by the parent cluster. The range name must comply withRFC 1035. Specifically,
the name must be 1-63 characters long and match the regular expressiona-z?.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud AlloyDB for PostgreSQL V1 Client - Class InstanceNetworkConfig (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-alloydb/latest/V1.Instance.InstanceNetworkConfig)\n- [1.4.0](/php/docs/reference/cloud-alloydb/1.4.0/V1.Instance.InstanceNetworkConfig)\n- [1.3.0](/php/docs/reference/cloud-alloydb/1.3.0/V1.Instance.InstanceNetworkConfig)\n- [1.2.0](/php/docs/reference/cloud-alloydb/1.2.0/V1.Instance.InstanceNetworkConfig)\n- [1.1.3](/php/docs/reference/cloud-alloydb/1.1.3/V1.Instance.InstanceNetworkConfig)\n- [1.0.0](/php/docs/reference/cloud-alloydb/1.0.0/V1.Instance.InstanceNetworkConfig)\n- [0.10.3](/php/docs/reference/cloud-alloydb/0.10.3/V1.Instance.InstanceNetworkConfig)\n- [0.9.0](/php/docs/reference/cloud-alloydb/0.9.0/V1.Instance.InstanceNetworkConfig)\n- [0.8.0](/php/docs/reference/cloud-alloydb/0.8.0/V1.Instance.InstanceNetworkConfig)\n- [0.7.1](/php/docs/reference/cloud-alloydb/0.7.1/V1.Instance.InstanceNetworkConfig)\n- [0.6.0](/php/docs/reference/cloud-alloydb/0.6.0/V1.Instance.InstanceNetworkConfig)\n- [0.5.0](/php/docs/reference/cloud-alloydb/0.5.0/V1.Instance.InstanceNetworkConfig)\n- [0.4.0](/php/docs/reference/cloud-alloydb/0.4.0/V1.Instance.InstanceNetworkConfig)\n- [0.3.0](/php/docs/reference/cloud-alloydb/0.3.0/V1.Instance.InstanceNetworkConfig)\n- [0.2.1](/php/docs/reference/cloud-alloydb/0.2.1/V1.Instance.InstanceNetworkConfig)\n- [0.1.3](/php/docs/reference/cloud-alloydb/0.1.3/V1.Instance.InstanceNetworkConfig) \nReference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class InstanceNetworkConfig.\n\nMetadata related to instance-level network configuration.\n\nGenerated from protobuf message `google.cloud.alloydb.v1.Instance.InstanceNetworkConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AlloyDb \\\\ V1 \\\\ Instance\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAuthorizedExternalNetworks\n\nOptional. A list of external network authorized to access this instance.\n\n### setAuthorizedExternalNetworks\n\nOptional. A list of external network authorized to access this instance.\n\n### getEnablePublicIp\n\nOptional. Enabling public ip for the instance.\n\n### setEnablePublicIp\n\nOptional. Enabling public ip for the instance.\n\n### getEnableOutboundPublicIp\n\nOptional. Enabling an outbound public IP address to support a database\nserver sending requests out into the internet.\n\n### setEnableOutboundPublicIp\n\nOptional. Enabling an outbound public IP address to support a database\nserver sending requests out into the internet.\n\n### getNetwork\n\nOutput only. The resource link for the VPC network in which instance\nresources are created and from which they are accessible via Private IP.\n\nThis will be the same value as the parent cluster's network. It is\nspecified in the form: //\n`projects/{project_number}/global/networks/{network_id}`.\n\n### setNetwork\n\nOutput only. The resource link for the VPC network in which instance\nresources are created and from which they are accessible via Private IP.\n\nThis will be the same value as the parent cluster's network. It is\nspecified in the form: //\n`projects/{project_number}/global/networks/{network_id}`.\n\n### getAllocatedIpRangeOverride\n\nOptional. Name of the allocated IP range for the private IP AlloyDB\ninstance, for example: \"google-managed-services-default\". If set, the\ninstance IPs will be created from this allocated range and will override\nthe IP range used by the parent cluster. The range name must comply with\n[RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically,\nthe name must be 1-63 characters long and match the regular expression\n[a-z](/php/docs/reference/cloud-alloydb/latest/[-a-z0-9]*[a-z0-9])?.\n\n### setAllocatedIpRangeOverride\n\nOptional. Name of the allocated IP range for the private IP AlloyDB\ninstance, for example: \"google-managed-services-default\". If set, the\ninstance IPs will be created from this allocated range and will override\nthe IP range used by the parent cluster. The range name must comply with\n[RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically,\nthe name must be 1-63 characters long and match the regular expression\n[a-z](/php/docs/reference/cloud-alloydb/latest/[-a-z0-9]*[a-z0-9])?."]]