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
Methods
__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.
↳ 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
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