class Google::Apis::GkehubV1::ConfigManagementMembershipState

**Anthos Config Management**: State for a single cluster.

Attributes

cluster_name[RW]

The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership's membership_name, unless the user installed ACM on the cluster manually prior to enabling the ACM hub feature. Unique within a Anthos Config Management installation. Corresponds to the JSON property `clusterName` @return [String]

config_sync_state[RW]

State information for ConfigSync Corresponds to the JSON property `configSyncState` @return [Google::Apis::GkehubV1::ConfigManagementConfigSyncState]

hierarchy_controller_state[RW]

State for Hierarchy Controller Corresponds to the JSON property `hierarchyControllerState` @return [Google::Apis::GkehubV1::ConfigManagementHierarchyControllerState]

membership_spec[RW]

**Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. Corresponds to the JSON property `membershipSpec` @return [Google::Apis::GkehubV1::ConfigManagementMembershipSpec]

operator_state[RW]

State information for an ACM's Operator Corresponds to the JSON property `operatorState` @return [Google::Apis::GkehubV1::ConfigManagementOperatorState]

policy_controller_state[RW]

State for PolicyControllerState. Corresponds to the JSON property `policyControllerState` @return [Google::Apis::GkehubV1::ConfigManagementPolicyControllerState]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gkehub_v1/classes.rb, line 790
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gkehub_v1/classes.rb, line 795
def update!(**args)
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
  @config_sync_state = args[:config_sync_state] if args.key?(:config_sync_state)
  @hierarchy_controller_state = args[:hierarchy_controller_state] if args.key?(:hierarchy_controller_state)
  @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
  @operator_state = args[:operator_state] if args.key?(:operator_state)
  @policy_controller_state = args[:policy_controller_state] if args.key?(:policy_controller_state)
end