Class: Google::Apis::DatamigrationV1::PackageEntity

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb

Overview

Package's parent is a schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PackageEntity

Returns a new instance of PackageEntity.



3450
3451
3452
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3450

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#custom_featuresHash<String,Object>

Custom engine specific features. Corresponds to the JSON property customFeatures

Returns:

  • (Hash<String,Object>)


3437
3438
3439
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3437

def custom_features
  @custom_features
end

#package_bodyString

The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory. Corresponds to the JSON property packageBody

Returns:

  • (String)


3443
3444
3445
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3443

def package_body
  @package_body
end

#package_sql_codeString

The SQL code which creates the package. Corresponds to the JSON property packageSqlCode

Returns:

  • (String)


3448
3449
3450
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3448

def package_sql_code
  @package_sql_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3455
3456
3457
3458
3459
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3455

def update!(**args)
  @custom_features = args[:custom_features] if args.key?(:custom_features)
  @package_body = args[:package_body] if args.key?(:package_body)
  @package_sql_code = args[:package_sql_code] if args.key?(:package_sql_code)
end