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.



4853
4854
4855
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4853

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

Instance Attribute Details

#foreign_tables_countFixnum

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

Returns:

  • (Fixnum)


4846
4847
4848
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4846

def foreign_tables_count
  @foreign_tables_count
end

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

Optional. PostgreSql extensions. Corresponds to the JSON property postgresqlExtensions



4851
4852
4853
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4851

def postgresql_extensions
  @postgresql_extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4858
4859
4860
4861
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4858

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