Class: Google::Apis::MigrationcenterV1alpha1::PostgreSqlSetting
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::PostgreSqlSetting
- 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 setting.
Instance Attribute Summary collapse
-
#bool_value ⇒ Boolean
(also: #bool_value?)
Required.
-
#int_value ⇒ Fixnum
Required.
-
#real_value ⇒ Float
Required.
-
#setting ⇒ String
Required.
-
#source ⇒ String
Required.
-
#string_value ⇒ String
Required.
-
#unit ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostgreSqlSetting
constructor
A new instance of PostgreSqlSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PostgreSqlSetting
Returns a new instance of PostgreSqlSetting.
5145 5146 5147 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5145 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bool_value ⇒ Boolean Also known as: bool_value?
Required. The setting boolean value.
Corresponds to the JSON property boolValue
5111 5112 5113 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5111 def bool_value @bool_value end |
#int_value ⇒ Fixnum
Required. The setting int value.
Corresponds to the JSON property intValue
5117 5118 5119 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5117 def int_value @int_value end |
#real_value ⇒ Float
Required. The setting real value.
Corresponds to the JSON property realValue
5122 5123 5124 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5122 def real_value @real_value end |
#setting ⇒ String
Required. The setting name.
Corresponds to the JSON property setting
5127 5128 5129 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5127 def setting @setting end |
#source ⇒ String
Required. The setting source.
Corresponds to the JSON property source
5132 5133 5134 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5132 def source @source end |
#string_value ⇒ String
Required. The setting string value. Notice that enum values are stored as
strings.
Corresponds to the JSON property stringValue
5138 5139 5140 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5138 def string_value @string_value end |
#unit ⇒ String
Optional. The setting unit.
Corresponds to the JSON property unit
5143 5144 5145 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5143 def unit @unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5150 5151 5152 5153 5154 5155 5156 5157 5158 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5150 def update!(**args) @bool_value = args[:bool_value] if args.key?(:bool_value) @int_value = args[:int_value] if args.key?(:int_value) @real_value = args[:real_value] if args.key?(:real_value) @setting = args[:setting] if args.key?(:setting) @source = args[:source] if args.key?(:source) @string_value = args[:string_value] if args.key?(:string_value) @unit = args[:unit] if args.key?(:unit) end |