Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::SqlIpConfig.
IP Management configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#authorized_networks
def authorized_networks() -> ::Array<::Google::Cloud::CloudDMS::V1::SqlAclEntry>
Returns
-
(::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
).
#authorized_networks=
def authorized_networks=(value) -> ::Array<::Google::Cloud::CloudDMS::V1::SqlAclEntry>
Parameter
-
value (::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
).
Returns
-
(::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
).
#enable_ipv4
def enable_ipv4() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Whether the instance should be assigned an IPv4 address or not.
#enable_ipv4=
def enable_ipv4=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Whether the instance should be assigned an IPv4 address or not.
Returns
- (::Google::Protobuf::BoolValue) — Whether the instance should be assigned an IPv4 address or not.
#private_network
def private_network() -> ::String
Returns
-
(::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.
#private_network=
def private_network=(value) -> ::String
Parameter
-
value (::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.
Returns
-
(::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
def require_ssl() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Whether SSL connections over IP should be enforced or not.
#require_ssl=
def require_ssl=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Whether SSL connections over IP should be enforced or not.
Returns
- (::Google::Protobuf::BoolValue) — Whether SSL connections over IP should be enforced or not.