Class: Google::Apis::GkehubV1::ServiceMeshMembershipState

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



5801
5802
5803
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5801

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

Instance Attribute Details

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

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



5789
5790
5791
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5789

def conditions
  @conditions
end

#control_plane_managementGoogle::Apis::GkehubV1::ServiceMeshControlPlaneManagement

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



5794
5795
5796
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5794

def control_plane_management
  @control_plane_management
end

#data_plane_managementGoogle::Apis::GkehubV1::ServiceMeshDataPlaneManagement

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



5799
5800
5801
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5799

def data_plane_management
  @data_plane_management
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5806
5807
5808
5809
5810
# File 'lib/google/apis/gkehub_v1/classes.rb', line 5806

def update!(**args)
  @conditions = args[:conditions] if args.key?(:conditions)
  @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