Class: Google::Apis::AutoscalerV1beta2::DeprecationStatus
- Inherits:
-
Object
- Object
- Google::Apis::AutoscalerV1beta2::DeprecationStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/autoscaler_v1beta2/classes.rb,
generated/google/apis/autoscaler_v1beta2/representations.rb,
generated/google/apis/autoscaler_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#deleted ⇒ String
Corresponds to the JSON property
deleted
. -
#deprecated ⇒ String
Corresponds to the JSON property
deprecated
. -
#obsolete ⇒ String
Corresponds to the JSON property
obsolete
. -
#replacement ⇒ String
Corresponds to the JSON property
replacement
. -
#state ⇒ String
Corresponds to the JSON property
state
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeprecationStatus
constructor
A new instance of DeprecationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeprecationStatus
Returns a new instance of DeprecationStatus.
283 284 285 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deleted ⇒ String
Corresponds to the JSON property deleted
261 262 263 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 261 def deleted @deleted end |
#deprecated ⇒ String
Corresponds to the JSON property deprecated
266 267 268 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 266 def deprecated @deprecated end |
#obsolete ⇒ String
Corresponds to the JSON property obsolete
271 272 273 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 271 def obsolete @obsolete end |
#replacement ⇒ String
Corresponds to the JSON property replacement
276 277 278 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 276 def replacement @replacement end |
#state ⇒ String
Corresponds to the JSON property state
281 282 283 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 281 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
288 289 290 291 292 293 294 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 288 def update!(**args) @deleted = args[:deleted] if args.key?(:deleted) @deprecated = args[:deprecated] if args.key?(:deprecated) @obsolete = args[:obsolete] if args.key?(:obsolete) @replacement = args[:replacement] if args.key?(:replacement) @state = args[:state] if args.key?(:state) end |