Class: Google::Apis::GkehubV1alpha::ServiceMeshFeatureState

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

Overview

Service Mesh: State for the whole Hub, as analyzed by the Service Mesh Hub Controller.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceMeshFeatureState

Returns a new instance of ServiceMeshFeatureState.



6849
6850
6851
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6849

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

Instance Attribute Details

#analysis_messagesArray<Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage>

Output only. Results of running Service Mesh analyzers. Corresponds to the JSON property analysisMessages



6842
6843
6844
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6842

def analysis_messages
  @analysis_messages
end

#conditionsArray<Google::Apis::GkehubV1alpha::ServiceMeshFeatureCondition>

Output only. List of conditions reported for this feature. Corresponds to the JSON property conditions



6847
6848
6849
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6847

def conditions
  @conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6854
6855
6856
6857
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6854

def update!(**args)
  @analysis_messages = args[:analysis_messages] if args.key?(:analysis_messages)
  @conditions = args[:conditions] if args.key?(:conditions)
end