Class: Google::Apis::MigrationcenterV1::PostgreSqlSchemaDetails

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

Overview

Specific details for a PostgreSql schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PostgreSqlSchemaDetails

Returns a new instance of PostgreSqlSchemaDetails.



4337
4338
4339
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4337

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

Instance Attribute Details

#foreign_tables_countFixnum

Optional. PostgreSql foreign tables. Corresponds to the JSON property foreignTablesCount

Returns:

  • (Fixnum)


4330
4331
4332
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4330

def foreign_tables_count
  @foreign_tables_count
end

#postgresql_extensionsArray<Google::Apis::MigrationcenterV1::PostgreSqlExtension>

Optional. PostgreSql extensions. Corresponds to the JSON property postgresqlExtensions



4335
4336
4337
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4335

def postgresql_extensions
  @postgresql_extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4342
4343
4344
4345
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4342

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