Class: Google::Apis::DatastreamV1::BackfillAllStrategy

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/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.



77
78
79
# File 'lib/google/apis/datastream_v1/classes.rb', line 77

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

Instance Attribute Details

#mysql_excluded_objectsGoogle::Apis::DatastreamV1::MysqlRdbms

MySQL database structure Corresponds to the JSON property mysqlExcludedObjects



60
61
62
# File 'lib/google/apis/datastream_v1/classes.rb', line 60

def mysql_excluded_objects
  @mysql_excluded_objects
end

#oracle_excluded_objectsGoogle::Apis::DatastreamV1::OracleRdbms

Oracle database structure. Corresponds to the JSON property oracleExcludedObjects



65
66
67
# File 'lib/google/apis/datastream_v1/classes.rb', line 65

def oracle_excluded_objects
  @oracle_excluded_objects
end

#postgresql_excluded_objectsGoogle::Apis::DatastreamV1::PostgresqlRdbms

PostgreSQL database structure. Corresponds to the JSON property postgresqlExcludedObjects



70
71
72
# File 'lib/google/apis/datastream_v1/classes.rb', line 70

def postgresql_excluded_objects
  @postgresql_excluded_objects
end

#sql_server_excluded_objectsGoogle::Apis::DatastreamV1::SqlServerRdbms

SQLServer database structure. Corresponds to the JSON property sqlServerExcludedObjects



75
76
77
# File 'lib/google/apis/datastream_v1/classes.rb', line 75

def sql_server_excluded_objects
  @sql_server_excluded_objects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82
83
84
85
86
87
# File 'lib/google/apis/datastream_v1/classes.rb', line 82

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)
  @postgresql_excluded_objects = args[:postgresql_excluded_objects] if args.key?(:postgresql_excluded_objects)
  @sql_server_excluded_objects = args[:sql_server_excluded_objects] if args.key?(:sql_server_excluded_objects)
end