Class: Google::Apis::GkehubV2alpha::ServiceMeshState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/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) ⇒ ServiceMeshState

Returns a new instance of ServiceMeshState.



3238
3239
3240
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3238

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

Instance Attribute Details

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

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



3215
3216
3217
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3215

def analysis_messages
  @analysis_messages
end

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

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



3220
3221
3222
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3220

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)


3226
3227
3228
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3226

def config_api_version
  @config_api_version
end

#control_plane_managementGoogle::Apis::GkehubV2alpha::ServiceMeshControlPlaneManagement

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



3231
3232
3233
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3231

def control_plane_management
  @control_plane_management
end

#data_plane_managementGoogle::Apis::GkehubV2alpha::ServiceMeshDataPlaneManagement

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



3236
3237
3238
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3236

def data_plane_management
  @data_plane_management
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3243
3244
3245
3246
3247
3248
3249
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3243

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