Class: Google::Apis::MigrationcenterV1::PostgreSqlExtension

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

PostgreSql extension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PostgreSqlExtension

Returns a new instance of PostgreSqlExtension.



4286
4287
4288
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4286

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

Instance Attribute Details

#extensionString

Required. The extension name. Corresponds to the JSON property extension

Returns:

  • (String)


4279
4280
4281
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4279

def extension
  @extension
end

#versionString

Required. The extension version. Corresponds to the JSON property version

Returns:

  • (String)


4284
4285
4286
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4284

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4291
4292
4293
4294
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4291

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