Class: Google::Apis::DatamigrationV1::SinglePackageChange

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

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

Instance Method Summary collapse

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_bodyString

Optional. Sql code for package body Corresponds to the JSON property packageBody

Returns:

  • (String)


4669
4670
4671
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4669

def package_body
  @package_body
end

#package_descriptionString

Optional. Sql code for package description Corresponds to the JSON property packageDescription

Returns:

  • (String)


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