Class: Google::Apis::TrafficdirectorV2::UpdateFailureState
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV2::UpdateFailureState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/trafficdirector_v2/classes.rb,
generated/google/apis/trafficdirector_v2/representations.rb,
generated/google/apis/trafficdirector_v2/representations.rb
Instance Attribute Summary collapse
-
#details ⇒ String
Details about the last failed update attempt.
-
#failed_configuration ⇒ Hash<String,Object>
What the component configuration would have been if the update had succeeded.
-
#last_update_attempt ⇒ String
Time of the latest failed update attempt.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateFailureState
constructor
A new instance of UpdateFailureState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateFailureState
Returns a new instance of UpdateFailureState.
1278 1279 1280 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 1278 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
Details about the last failed update attempt.
Corresponds to the JSON property details
1266 1267 1268 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 1266 def details @details end |
#failed_configuration ⇒ Hash<String,Object>
What the component configuration would have been if the update had succeeded.
Corresponds to the JSON property failedConfiguration
1271 1272 1273 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 1271 def failed_configuration @failed_configuration end |
#last_update_attempt ⇒ String
Time of the latest failed update attempt.
Corresponds to the JSON property lastUpdateAttempt
1276 1277 1278 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 1276 def last_update_attempt @last_update_attempt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1283 1284 1285 1286 1287 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 1283 def update!(**args) @details = args[:details] if args.key?(:details) @failed_configuration = args[:failed_configuration] if args.key?(:failed_configuration) @last_update_attempt = args[:last_update_attempt] if args.key?(:last_update_attempt) end |