Class: Google::Apis::BeyondcorpV1alpha::ContainerHealthDetails
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::ContainerHealthDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb
Overview
ContainerHealthDetails reflects the health details of a container.
Instance Attribute Summary collapse
-
#current_config_version ⇒ String
The version of the current config.
-
#error_msg ⇒ String
The latest error message.
-
#expected_config_version ⇒ String
The version of the expected config.
-
#extended_status ⇒ Hash<String,String>
The extended status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContainerHealthDetails
constructor
A new instance of ContainerHealthDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContainerHealthDetails
Returns a new instance of ContainerHealthDetails.
1010 1011 1012 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1010 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_config_version ⇒ String
The version of the current config.
Corresponds to the JSON property currentConfigVersion
993 994 995 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 993 def current_config_version @current_config_version end |
#error_msg ⇒ String
The latest error message.
Corresponds to the JSON property errorMsg
998 999 1000 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 998 def error_msg @error_msg end |
#expected_config_version ⇒ String
The version of the expected config.
Corresponds to the JSON property expectedConfigVersion
1003 1004 1005 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1003 def expected_config_version @expected_config_version end |
#extended_status ⇒ Hash<String,String>
The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
Corresponds to the JSON property extendedStatus
1008 1009 1010 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1008 def extended_status @extended_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1015 1016 1017 1018 1019 1020 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1015 def update!(**args) @current_config_version = args[:current_config_version] if args.key?(:current_config_version) @error_msg = args[:error_msg] if args.key?(:error_msg) @expected_config_version = args[:expected_config_version] if args.key?(:expected_config_version) @extended_status = args[:extended_status] if args.key?(:extended_status) end |