Class: Google::Apis::MigrationcenterV1alpha1::PostgreSqlProperty
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::PostgreSqlProperty
- 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 property.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Required.
-
#numeric_value ⇒ Fixnum
Required.
-
#property ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostgreSqlProperty
constructor
A new instance of PostgreSqlProperty.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PostgreSqlProperty
Returns a new instance of PostgreSqlProperty.
5089 5090 5091 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5089 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Required. The property is enabled.
Corresponds to the JSON property enabled
5076 5077 5078 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5076 def enabled @enabled end |
#numeric_value ⇒ Fixnum
Required. The property numeric value.
Corresponds to the JSON property numericValue
5082 5083 5084 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5082 def numeric_value @numeric_value end |
#property ⇒ String
Required. The property name.
Corresponds to the JSON property property
5087 5088 5089 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5087 def property @property end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5094 5095 5096 5097 5098 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5094 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @numeric_value = args[:numeric_value] if args.key?(:numeric_value) @property = args[:property] if args.key?(:property) end |