Class: Google::Apis::TrafficdirectorV3::UpdateFailureState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/trafficdirector_v3/classes.rb,
lib/google/apis/trafficdirector_v3/representations.rb,
lib/google/apis/trafficdirector_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateFailureState

Returns a new instance of UpdateFailureState.



1696
1697
1698
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1696

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#detailsString

Details about the last failed update attempt. Corresponds to the JSON property details

Returns:

  • (String)


1678
1679
1680
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1678

def details
  @details
end

#failed_configurationHash<String,Object>

What the component configuration would have been if the update had succeeded. This field may not be populated by xDS clients due to storage overhead. Corresponds to the JSON property failedConfiguration

Returns:

  • (Hash<String,Object>)


1684
1685
1686
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1684

def failed_configuration
  @failed_configuration
end

#last_update_attemptString

Time of the latest failed update attempt. Corresponds to the JSON property lastUpdateAttempt

Returns:

  • (String)


1689
1690
1691
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1689

def last_update_attempt
  @last_update_attempt
end

#version_infoString

This is the version of the rejected resource. [#not-implemented-hide:] Corresponds to the JSON property versionInfo

Returns:

  • (String)


1694
1695
1696
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1694

def version_info
  @version_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1701
1702
1703
1704
1705
1706
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1701

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)
  @version_info = args[:version_info] if args.key?(:version_info)
end