Class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState

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 a single Membership, as analyzed by the Service Mesh Hub Controller.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceMeshMembershipState

Returns a new instance of ServiceMeshMembershipState.



6148
6149
6150
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6148

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



6125
6126
6127
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6125

def analysis_messages
  @analysis_messages
end

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

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



6130
6131
6132
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6130

def conditions
  @conditions
end

#config_api_versionString

The API version (i.e. Istio CRD version) for configuring service mesh in this cluster. This version is influenced by the default_channel field. Corresponds to the JSON property configApiVersion

Returns:

  • (String)


6136
6137
6138
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6136

def config_api_version
  @config_api_version
end

#control_plane_managementGoogle::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement

Status of control plane management. Corresponds to the JSON property controlPlaneManagement



6141
6142
6143
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6141

def control_plane_management
  @control_plane_management
end

#data_plane_managementGoogle::Apis::GkehubV1alpha::ServiceMeshDataPlaneManagement

Status of data plane management. Only reported per-member. Corresponds to the JSON property dataPlaneManagement



6146
6147
6148
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6146

def data_plane_management
  @data_plane_management
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6153
6154
6155
6156
6157
6158
6159
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6153

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