# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::SqlIpConfig (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.2 1.1.0 1.0.1 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.5 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

### #allocated_ip_range

    def allocated_ip_range() -> ::String

**Returns**

- (::String) --- Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can't be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant.

### #allocated_ip_range=

    def allocated_ip_range=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can't be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant.
**Returns**

- (::String) --- Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can't be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant.

### #authorized_networks

    def authorized_networks() -> ::Array<::Google::Cloud::CloudDMS::V1::SqlAclEntry>

**Returns**

- (::Array\<[::Google::Cloud::CloudDMS::V1::SqlAclEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Protobuf-BoolValue)) --- Whether the instance should be assigned an IPv4 address or not.
**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Protobuf-BoolValue)) --- Whether SSL connections over IP should be enforced or not.
**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Protobuf-BoolValue)) --- Whether SSL connections over IP should be enforced or not.