class Google::Apis::DatamigrationV1beta1::SqlIpConfig

IP Management configuration.

Attributes

authorized_networks[RW]

The list of external networks that are allowed to connect to the instance using the IP. See en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as 'slash' notation (e.g. `192.168.100.0/24`). Corresponds to the JSON property `authorizedNetworks` @return [Array<Google::Apis::DatamigrationV1beta1::SqlAclEntry>]

enable_ipv4[RW]

Whether the instance is assigned a public IP address or not. Corresponds to the JSON property `enableIpv4` @return [Boolean]

enable_ipv4?[RW]

Whether the instance is assigned a public IP address or not. Corresponds to the JSON property `enableIpv4` @return [Boolean]

private_network[RW]

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]

require_ssl[RW]

Whether SSL connections over IP should be enforced or not. Corresponds to the JSON property `requireSsl` @return [Boolean]

require_ssl?[RW]

Whether SSL connections over IP should be enforced or not. Corresponds to the JSON property `requireSsl` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datamigration_v1beta1/classes.rb, line 1386
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datamigration_v1beta1/classes.rb, line 1391
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