Class: Google::Apis::MigrationcenterV1alpha1::PostgreSqlExtension
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::PostgreSqlExtension
- 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
PostgreSql extension.
Instance Attribute Summary collapse
-
#extension ⇒ String
Required.
-
#version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostgreSqlExtension
constructor
A new instance of PostgreSqlExtension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PostgreSqlExtension
Returns a new instance of PostgreSqlExtension.
6296 6297 6298 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#extension ⇒ String
Required. The extension name.
Corresponds to the JSON property extension
6289 6290 6291 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6289 def extension @extension end |
#version ⇒ String
Required. The extension version.
Corresponds to the JSON property version
6294 6295 6296 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6294 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6301 6302 6303 6304 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6301 def update!(**args) @extension = args[:extension] if args.key?(:extension) @version = args[:version] if args.key?(:version) end |