Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails

Returns a new instance of GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails.



1559
1560
1561
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1559

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

Instance Attribute Details

#current_config_versionString

The version of the current config. Corresponds to the JSON property currentConfigVersion

Returns:

  • (String)


1542
1543
1544
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1542

def current_config_version
  @current_config_version
end

#error_msgString

The latest error message. Corresponds to the JSON property errorMsg

Returns:

  • (String)


1547
1548
1549
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1547

def error_msg
  @error_msg
end

#expected_config_versionString

The version of the expected config. Corresponds to the JSON property expectedConfigVersion

Returns:

  • (String)


1552
1553
1554
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1552

def expected_config_version
  @expected_config_version
end

#extended_statusHash<String,String>

The extended status. Such as ExitCode, StartedAt, FinishedAt, etc. Corresponds to the JSON property extendedStatus

Returns:

  • (Hash<String,String>)


1557
1558
1559
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1557

def extended_status
  @extended_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1564
1565
1566
1567
1568
1569
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1564

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