Class: Google::Apis::GkehubV2::ServiceMeshState

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



3276
3277
3278
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3276

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

Instance Attribute Details

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

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



3253
3254
3255
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3253

def analysis_messages
  @analysis_messages
end

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

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



3258
3259
3260
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3258

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)


3264
3265
3266
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3264

def config_api_version
  @config_api_version
end

#control_plane_managementGoogle::Apis::GkehubV2::ServiceMeshControlPlaneManagement

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



3269
3270
3271
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3269

def control_plane_management
  @control_plane_management
end

#data_plane_managementGoogle::Apis::GkehubV2::ServiceMeshDataPlaneManagement

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



3274
3275
3276
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3274

def data_plane_management
  @data_plane_management
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3281
3282
3283
3284
3285
3286
3287
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3281

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