Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlIpAddressType.
Protobuf typegoogle.cloud.sql.v1.SqlIpAddressType
Namespace
Google \ Cloud \ Sql \ V1
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
SQL_IP_ADDRESS_TYPE_UNSPECIFIED
Value: 0
This is an unknown IP address type.
Generated from protobuf enumSQL_IP_ADDRESS_TYPE_UNSPECIFIED = 0;
PRIMARY
Value: 1
IP address the customer is supposed to connect to. Usually this is the
load balancer's IP address
Generated from protobuf enumPRIMARY = 1;
OUTGOING
Value: 2
Source IP address of the connection a read replica establishes to its
external primary instance. This IP address can be allowlisted by the
customer in case it has a firewall that filters incoming connection to its
on premises primary instance.
Generated from protobuf enumOUTGOING = 2;
PBPRIVATE
Value: 3
Private IP used when using private IPs and network peering.
Generated from protobuf enumPRIVATE = 3;
MIGRATED_1ST_GEN
Value: 4
V1 IP of a migrated instance. We want the user to
decommission this IP as soon as the migration is complete.
Note: V1 instances with V1 ip addresses will be counted as PRIMARY.
[[["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 Sql Admin V1 Client - Class SqlIpAddressType (1.2.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.6 (latest)](/php/docs/reference/cloud-sql-admin/latest/V1.SqlIpAddressType)\n- [1.2.5](/php/docs/reference/cloud-sql-admin/1.2.5/V1.SqlIpAddressType)\n- [1.1.0](/php/docs/reference/cloud-sql-admin/1.1.0/V1.SqlIpAddressType)\n- [1.0.0](/php/docs/reference/cloud-sql-admin/1.0.0/V1.SqlIpAddressType)\n- [0.19.0](/php/docs/reference/cloud-sql-admin/0.19.0/V1.SqlIpAddressType)\n- [0.18.0](/php/docs/reference/cloud-sql-admin/0.18.0/V1.SqlIpAddressType)\n- [0.17.1](/php/docs/reference/cloud-sql-admin/0.17.1/V1.SqlIpAddressType)\n- [0.16.1](/php/docs/reference/cloud-sql-admin/0.16.1/V1.SqlIpAddressType)\n- [0.12.0](/php/docs/reference/cloud-sql-admin/0.12.0/V1.SqlIpAddressType)\n- [0.11.0](/php/docs/reference/cloud-sql-admin/0.11.0/V1.SqlIpAddressType)\n- [0.10.0](/php/docs/reference/cloud-sql-admin/0.10.0/V1.SqlIpAddressType)\n- [0.9.0](/php/docs/reference/cloud-sql-admin/0.9.0/V1.SqlIpAddressType)\n- [0.8.0](/php/docs/reference/cloud-sql-admin/0.8.0/V1.SqlIpAddressType)\n- [0.7.0](/php/docs/reference/cloud-sql-admin/0.7.0/V1.SqlIpAddressType)\n- [0.6.0](/php/docs/reference/cloud-sql-admin/0.6.0/V1.SqlIpAddressType)\n- [0.5.0](/php/docs/reference/cloud-sql-admin/0.5.0/V1.SqlIpAddressType)\n- [0.4.1](/php/docs/reference/cloud-sql-admin/0.4.1/V1.SqlIpAddressType)\n- [0.3.1](/php/docs/reference/cloud-sql-admin/0.3.1/V1.SqlIpAddressType)\n- [0.2.12](/php/docs/reference/cloud-sql-admin/0.2.12/V1.SqlIpAddressType) \nReference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlIpAddressType.\n\nProtobuf type `google.cloud.sql.v1.SqlIpAddressType`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Sql \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### SQL_IP_ADDRESS_TYPE_UNSPECIFIED\n\n Value: 0\n\nThis is an unknown IP address type.\n\nGenerated from protobuf enum `SQL_IP_ADDRESS_TYPE_UNSPECIFIED = 0;`\n\n### PRIMARY\n\n Value: 1\n\nIP address the customer is supposed to connect to. Usually this is the\nload balancer's IP address\n\nGenerated from protobuf enum `PRIMARY = 1;`\n\n### OUTGOING\n\n Value: 2\n\nSource IP address of the connection a read replica establishes to its\nexternal primary instance. This IP address can be allowlisted by the\ncustomer in case it has a firewall that filters incoming connection to its\non premises primary instance.\n\nGenerated from protobuf enum `OUTGOING = 2;`\n\n### PBPRIVATE\n\n Value: 3\n\nPrivate IP used when using private IPs and network peering.\n\nGenerated from protobuf enum `PRIVATE = 3;`\n\n### MIGRATED_1ST_GEN\n\n Value: 4\n\nV1 IP of a migrated instance. We want the user to\ndecommission this IP as soon as the migration is complete.\n\nNote: V1 instances with V1 ip addresses will be counted as PRIMARY.\n\nGenerated from protobuf enum `MIGRATED_1ST_GEN = 4;`"]]