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.



7140
7141
7142
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7140

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



7117
7118
7119
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7117

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



7122
7123
7124
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7122

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)


7128
7129
7130
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7128

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



7133
7134
7135
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7133

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



7138
7139
7140
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7138

def data_plane_management
  @data_plane_management
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7145
7146
7147
7148
7149
7150
7151
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7145

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