Reference documentation and code samples for the Google Cloud Dms V1 Client class SqlIpConfig.
IP Management configuration.
Generated from protobuf message google.cloud.clouddms.v1.SqlIpConfig
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ enable_ipv4
↳ private_network
string
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.
↳ allocated_ip_range
string
Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can't be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant.
↳ require_ssl
↳ authorized_networks
array< Google\Cloud\CloudDms\V1\SqlAclEntry
>
The list of external networks that are allowed to connect to the instance using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation
, also known as 'slash' notation (e.g. 192.168.100.0/24
).
getEnableIpv4
Whether the instance should be assigned an IPv4 address or not.
hasEnableIpv4
clearEnableIpv4
getEnableIpv4Value
Returns the unboxed value from getEnableIpv4()
Whether the instance should be assigned an IPv4 address or not.
bool|null
setEnableIpv4
Whether the instance should be assigned an IPv4 address or not.
$this
setEnableIpv4Value
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
Whether the instance should be assigned an IPv4 address or not.
var
bool|null
$this
getPrivateNetwork
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.
string
setPrivateNetwork
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.
var
string
$this
getAllocatedIpRange
Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can't be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant.
string
setAllocatedIpRange
Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can't be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant.
var
string
$this
getRequireSsl
Whether SSL connections over IP should be enforced or not.
hasRequireSsl
clearRequireSsl
getRequireSslValue
Returns the unboxed value from getRequireSsl()
Whether SSL connections over IP should be enforced or not.
bool|null
setRequireSsl
Whether SSL connections over IP should be enforced or not.
$this
setRequireSslValue
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
Whether SSL connections over IP should be enforced or not.
var
bool|null
$this
getAuthorizedNetworks
The list of external networks that are allowed to connect to the instance
using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation
, also known as
'slash' notation (e.g. 192.168.100.0/24
).
setAuthorizedNetworks
The list of external networks that are allowed to connect to the instance
using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation
, also known as
'slash' notation (e.g. 192.168.100.0/24
).
$this