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.



87
88
89
# File 'lib/google/apis/datastream_v1/classes.rb', line 87

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

Instance Attribute Details

#mongodb_excluded_objectsGoogle::Apis::DatastreamV1::MongodbCluster

MongoDB Cluster structure. Corresponds to the JSON property mongodbExcludedObjects



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

def mongodb_excluded_objects
  @mongodb_excluded_objects
end

#mysql_excluded_objectsGoogle::Apis::DatastreamV1::MysqlRdbms

MySQL database structure Corresponds to the JSON property mysqlExcludedObjects



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

def mysql_excluded_objects
  @mysql_excluded_objects
end

#oracle_excluded_objectsGoogle::Apis::DatastreamV1::OracleRdbms

Oracle database structure. Corresponds to the JSON property oracleExcludedObjects



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

def oracle_excluded_objects
  @oracle_excluded_objects
end

#postgresql_excluded_objectsGoogle::Apis::DatastreamV1::PostgresqlRdbms

PostgreSQL database structure. Corresponds to the JSON property postgresqlExcludedObjects



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

def postgresql_excluded_objects
  @postgresql_excluded_objects
end

#salesforce_excluded_objectsGoogle::Apis::DatastreamV1::SalesforceOrg

Salesforce organization structure. Corresponds to the JSON property salesforceExcludedObjects



80
81
82
# File 'lib/google/apis/datastream_v1/classes.rb', line 80

def salesforce_excluded_objects
  @salesforce_excluded_objects
end

#sql_server_excluded_objectsGoogle::Apis::DatastreamV1::SqlServerRdbms

SQLServer database structure. Corresponds to the JSON property sqlServerExcludedObjects



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

def sql_server_excluded_objects
  @sql_server_excluded_objects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



92
93
94
95
96
97
98
99
# File 'lib/google/apis/datastream_v1/classes.rb', line 92

def update!(**args)
  @mongodb_excluded_objects = args[:mongodb_excluded_objects] if args.key?(:mongodb_excluded_objects)
  @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)
  @salesforce_excluded_objects = args[:salesforce_excluded_objects] if args.key?(:salesforce_excluded_objects)
  @sql_server_excluded_objects = args[:sql_server_excluded_objects] if args.key?(:sql_server_excluded_objects)
end