The resource link for the VPC network from which the Cloud SQL instance is
accessible for private IP. For example,
projects/myProject/global/networks/default. This setting can
be updated, but it cannot be removed after it is set.
The resource link for the VPC network from which the Cloud SQL instance is
accessible for private IP. For example,
projects/myProject/global/networks/default. This setting can
be updated, but it cannot be removed after it is set.
[[["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-08-07 UTC."],[],[],null,["# Interface SqlIpConfigOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.clouddms.v1.SqlIpConfigOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.clouddms.v1.SqlIpConfigOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.clouddms.v1.SqlIpConfigOrBuilder) \n\n public interface SqlIpConfigOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getAuthorizedNetworks(int index)\n\n public abstract SqlAclEntry getAuthorizedNetworks(int index)\n\nThe list of external networks that are allowed to connect to the instance\nusing the IP. See\n\u003chttps://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation\u003e, also known as\n'slash' notation (e.g. `192.168.100.0/24`).\n\n`repeated .google.events.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;`\n\n### getAuthorizedNetworksCount()\n\n public abstract int getAuthorizedNetworksCount()\n\nThe list of external networks that are allowed to connect to the instance\nusing the IP. See\n\u003chttps://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation\u003e, also known as\n'slash' notation (e.g. `192.168.100.0/24`).\n\n`repeated .google.events.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;`\n\n### getAuthorizedNetworksList()\n\n public abstract List\u003cSqlAclEntry\u003e getAuthorizedNetworksList()\n\nThe list of external networks that are allowed to connect to the instance\nusing the IP. See\n\u003chttps://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation\u003e, also known as\n'slash' notation (e.g. `192.168.100.0/24`).\n\n`repeated .google.events.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;`\n\n### getAuthorizedNetworksOrBuilder(int index)\n\n public abstract SqlAclEntryOrBuilder getAuthorizedNetworksOrBuilder(int index)\n\nThe list of external networks that are allowed to connect to the instance\nusing the IP. See\n\u003chttps://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation\u003e, also known as\n'slash' notation (e.g. `192.168.100.0/24`).\n\n`repeated .google.events.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;`\n\n### getAuthorizedNetworksOrBuilderList()\n\n public abstract List\u003c? extends SqlAclEntryOrBuilder\u003e getAuthorizedNetworksOrBuilderList()\n\nThe list of external networks that are allowed to connect to the instance\nusing the IP. See\n\u003chttps://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation\u003e, also known as\n'slash' notation (e.g. `192.168.100.0/24`).\n\n`repeated .google.events.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;`\n\n### getEnableIpv4()\n\n public abstract BoolValue getEnableIpv4()\n\nWhether the instance should be assigned an IPv4 address or not.\n\n`.google.protobuf.BoolValue enable_ipv4 = 1;`\n\n### getEnableIpv4OrBuilder()\n\n public abstract BoolValueOrBuilder getEnableIpv4OrBuilder()\n\nWhether the instance should be assigned an IPv4 address or not.\n\n`.google.protobuf.BoolValue enable_ipv4 = 1;`\n\n### getPrivateNetwork()\n\n public abstract String getPrivateNetwork()\n\nThe resource link for the VPC network from which the Cloud SQL instance is\naccessible for private IP. For example,\n`projects/myProject/global/networks/default`. This setting can\nbe updated, but it cannot be removed after it is set.\n\n`string private_network = 2;`\n\n### getPrivateNetworkBytes()\n\n public abstract ByteString getPrivateNetworkBytes()\n\nThe resource link for the VPC network from which the Cloud SQL instance is\naccessible for private IP. For example,\n`projects/myProject/global/networks/default`. This setting can\nbe updated, but it cannot be removed after it is set.\n\n`string private_network = 2;`\n\n### getRequireSsl()\n\n public abstract BoolValue getRequireSsl()\n\nWhether SSL connections over IP should be enforced or not.\n\n`.google.protobuf.BoolValue require_ssl = 3;`\n\n### getRequireSslOrBuilder()\n\n public abstract BoolValueOrBuilder getRequireSslOrBuilder()\n\nWhether SSL connections over IP should be enforced or not.\n\n`.google.protobuf.BoolValue require_ssl = 3;`\n\n### hasEnableIpv4()\n\n public abstract boolean hasEnableIpv4()\n\nWhether the instance should be assigned an IPv4 address or not.\n\n`.google.protobuf.BoolValue enable_ipv4 = 1;`\n\n### hasRequireSsl()\n\n public abstract boolean hasRequireSsl()\n\nWhether SSL connections over IP should be enforced or not.\n\n`.google.protobuf.BoolValue require_ssl = 3;`"]]