Class: Google::Apis::MigrationcenterV1alpha1::PostgreSqlSchemaDetails

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



5115
5116
5117
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5115

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

Instance Attribute Details

#foreign_tables_countFixnum

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

Returns:

  • (Fixnum)


5108
5109
5110
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5108

def foreign_tables_count
  @foreign_tables_count
end

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

Optional. PostgreSql extensions. Corresponds to the JSON property postgresqlExtensions



5113
5114
5115
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5113

def postgresql_extensions
  @postgresql_extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5120
5121
5122
5123
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5120

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