Class: Google::Apis::DatamigrationV1::SinglePackageChange
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::SinglePackageChange
- 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
Options to configure rule type SinglePackageChange. The rule is used to alter the sql code for a package entities. The rule filter field can refer to one entity. The rule scope can be: Package
Instance Attribute Summary collapse
-
#package_body ⇒ String
Optional.
-
#package_description ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SinglePackageChange
constructor
A new instance of SinglePackageChange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SinglePackageChange
Returns a new instance of SinglePackageChange.
4676 4677 4678 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#package_body ⇒ String
Optional. Sql code for package body
Corresponds to the JSON property packageBody
4669 4670 4671 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4669 def package_body @package_body end |
#package_description ⇒ String
Optional. Sql code for package description
Corresponds to the JSON property packageDescription
4674 4675 4676 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4674 def package_description @package_description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4681 4682 4683 4684 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4681 def update!(**args) @package_body = args[:package_body] if args.key?(:package_body) @package_description = args[:package_description] if args.key?(:package_description) end |