Google Cloud Dms V1 Client - Class PackageEntity (1.3.0)

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
NameDescription
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
TypeDescription
string

setPackageSqlCode

The SQL code which creates the package.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getCustomFeatures

Custom engine specific features.

Returns
TypeDescription
Google\Protobuf\Struct|null

hasCustomFeatures

clearCustomFeatures

setCustomFeatures

Custom engine specific features.

Parameter
NameDescription
var Google\Protobuf\Struct
Returns
TypeDescription
$this