# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::PackageEntity (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::PackageEntity.

Package's parent is a schema.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #custom_features

    def custom_features() -> ::Google::Protobuf::Struct

**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Protobuf-Struct)) --- Custom engine specific features.

### #custom_features=

    def custom_features=(value) -> ::Google::Protobuf::Struct

**Parameter**

- **value** ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Protobuf-Struct)) --- Custom engine specific features.
**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Protobuf-Struct)) --- Custom engine specific features.

### #package_body

    def package_body() -> ::String

**Returns**

- (::String) --- The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory.

### #package_body=

    def package_body=(value) -> ::String

**Parameter**

- **value** (::String) --- The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory.
**Returns**

- (::String) --- The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory.

### #package_sql_code

    def package_sql_code() -> ::String

**Returns**

- (::String) --- The SQL code which creates the package.

### #package_sql_code=

    def package_sql_code=(value) -> ::String

**Parameter**

- **value** (::String) --- The SQL code which creates the package.
**Returns**

- (::String) --- The SQL code which creates the package.