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<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. |
↳ 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: // |
↳ 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 with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. |
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<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 |
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 with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-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 with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |