Google Cloud Dms V1 Client - Class PackageEntity (2.0.3)

Reference documentation and code samples for the Google Cloud Dms V1 Client class PackageEntity.

Package's parent is a schema.

Generated from protobuf message google.cloud.clouddms.v1.PackageEntity

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ package_sql_code string

The SQL code which creates the package.

↳ package_body string

The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory.

↳ custom_features Google\Protobuf\Struct

Custom engine specific features.

getPackageSqlCode

The SQL code which creates the package.

Returns
Type Description
string

setPackageSqlCode

The SQL code which creates the package.

Parameter
Name Description
var string
Returns
Type Description
$this

getPackageBody

The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory.

Returns
Type Description
string

setPackageBody

The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory.

Parameter
Name Description
var string
Returns
Type Description
$this

getCustomFeatures

Custom engine specific features.

Returns
Type Description
Google\Protobuf\Struct|null

hasCustomFeatures

clearCustomFeatures

setCustomFeatures

Custom engine specific features.

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this