Class: Google::Apis::GkehubV1beta::ServiceMeshMembershipState

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



3778
3779
3780
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3778

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

Instance Attribute Details

#control_plane_managementGoogle::Apis::GkehubV1beta::ServiceMeshControlPlaneManagement

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



3771
3772
3773
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3771

def control_plane_management
  @control_plane_management
end

#data_plane_managementGoogle::Apis::GkehubV1beta::ServiceMeshDataPlaneManagement

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



3776
3777
3778
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3776

def data_plane_management
  @data_plane_management
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3783
3784
3785
3786
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3783

def update!(**args)
  @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