class Google::Apis::SqladminV1beta4::IpConfiguration

IP Management configuration.

Attributes

allocated_ip_range[RW]

The name of the allocated ip range for the private ip Cloud SQL instance. For example: “google-managed-services-default”. If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035]( tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z](*[a-z0-9])?.` Corresponds to the JSON property `allocatedIpRange` @return [String]

authorized_networks[RW]

The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example: `157.197.200.0/24`). Corresponds to the JSON property `authorizedNetworks` @return [Array<Google::Apis::SqladminV1beta4::AclEntry>]

enable_private_path_for_google_cloud_services[RW]

Controls connectivity to private IP instances from Google services, such as BigQuery. Corresponds to the JSON property `enablePrivatePathForGoogleCloudServices` @return [Boolean]

enable_private_path_for_google_cloud_services?[RW]

Controls connectivity to private IP instances from Google services, such as BigQuery. Corresponds to the JSON property `enablePrivatePathForGoogleCloudServices` @return [Boolean]

ipv4_enabled[RW]

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

ipv4_enabled?[RW]

Whether the instance is assigned a public IP address or not. Corresponds to the JSON property `ipv4Enabled` @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 are enforced or not. Corresponds to the JSON property `requireSsl` @return [Boolean]

require_ssl?[RW]

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 2083
def update!(**args)
  @allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
  @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
  @enable_private_path_for_google_cloud_services = args[:enable_private_path_for_google_cloud_services] if args.key?(:enable_private_path_for_google_cloud_services)
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
  @private_network = args[:private_network] if args.key?(:private_network)
  @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
end