Class: Google::Apis::MigrationcenterV1::MySqlVariable
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::MySqlVariable
- 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
MySql variable.
Instance Attribute Summary collapse
-
#category ⇒ String
Required.
-
#value ⇒ String
Required.
-
#variable ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MySqlVariable
constructor
A new instance of MySqlVariable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MySqlVariable
Returns a new instance of MySqlVariable.
4105 4106 4107 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
Required. The variable category.
Corresponds to the JSON property category
4093 4094 4095 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4093 def category @category end |
#value ⇒ String
Required. The variable value.
Corresponds to the JSON property value
4098 4099 4100 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4098 def value @value end |
#variable ⇒ String
Required. The variable name.
Corresponds to the JSON property variable
4103 4104 4105 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4103 def variable @variable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4110 4111 4112 4113 4114 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4110 def update!(**args) @category = args[:category] if args.key?(:category) @value = args[:value] if args.key?(:value) @variable = args[:variable] if args.key?(:variable) end |