Class: Google::Apis::DatastreamV1alpha1::BackfillAllStrategy

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

Overview

Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackfillAllStrategy

Returns a new instance of BackfillAllStrategy.



53
54
55
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 53

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

Instance Attribute Details

#mysql_excluded_objectsGoogle::Apis::DatastreamV1alpha1::MysqlRdbms

MySQL database structure Corresponds to the JSON property mysqlExcludedObjects



46
47
48
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 46

def mysql_excluded_objects
  @mysql_excluded_objects
end

#oracle_excluded_objectsGoogle::Apis::DatastreamV1alpha1::OracleRdbms

Oracle database structure. Corresponds to the JSON property oracleExcludedObjects



51
52
53
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 51

def oracle_excluded_objects
  @oracle_excluded_objects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



58
59
60
61
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 58

def update!(**args)
  @mysql_excluded_objects = args[:mysql_excluded_objects] if args.key?(:mysql_excluded_objects)
  @oracle_excluded_objects = args[:oracle_excluded_objects] if args.key?(:oracle_excluded_objects)
end