class Google::Apis::DatamigrationV1::SqlIpConfig
IP Management configuration.
Attributes
Whether the instance should be assigned an IPv4 address or not. Corresponds to the JSON property `enableIpv4` @return [Boolean]
Whether the instance should be assigned an IPv4 address or not. Corresponds to the JSON property `enableIpv4` @return [Boolean]
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. Corresponds to the JSON property `privateNetwork` @return [String]
Whether SSL connections over IP should be enforced or not. Corresponds to the JSON property `requireSsl` @return [Boolean]
Whether SSL connections over IP should be enforced or not. Corresponds to the JSON property `requireSsl` @return [Boolean]
Public Class Methods
# File lib/google/apis/datamigration_v1/classes.rb, line 1455 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datamigration_v1/classes.rb, line 1460 def update!(**args) @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks) @enable_ipv4 = args[:enable_ipv4] if args.key?(:enable_ipv4) @private_network = args[:private_network] if args.key?(:private_network) @require_ssl = args[:require_ssl] if args.key?(:require_ssl) end