Class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ConfigManagementMembershipState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
Anthos Config Management: State for a single cluster.
Instance Attribute Summary collapse
-
#binauthz_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementBinauthzState
State for Binauthz Corresponds to the JSON property
binauthzState. -
#cluster_name ⇒ String
The user-defined name for the cluster used by ClusterSelectors to group clusters together.
-
#config_sync_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncState
State information for ConfigSync Corresponds to the JSON property
configSyncState. -
#hierarchy_controller_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerState
State for Hierarchy Controller Corresponds to the JSON property
hierarchyControllerState. -
#membership_spec ⇒ Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster.
-
#operator_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementOperatorState
State information for an ACM's Operator Corresponds to the JSON property
operatorState. -
#policy_controller_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerState
State for PolicyControllerState.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigManagementMembershipState
constructor
A new instance of ConfigManagementMembershipState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigManagementMembershipState
Returns a new instance of ConfigManagementMembershipState.
1231 1232 1233 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1231 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binauthz_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementBinauthzState
State for Binauthz
Corresponds to the JSON property binauthzState
1195 1196 1197 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1195 def binauthz_state @binauthz_state end |
#cluster_name ⇒ String
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
1203 1204 1205 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1203 def cluster_name @cluster_name end |
#config_sync_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncState
State information for ConfigSync
Corresponds to the JSON property configSyncState
1208 1209 1210 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1208 def config_sync_state @config_sync_state end |
#hierarchy_controller_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerState
State for Hierarchy Controller
Corresponds to the JSON property hierarchyControllerState
1213 1214 1215 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1213 def hierarchy_controller_state @hierarchy_controller_state end |
#membership_spec ⇒ Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster. Intended to
parallel the ConfigManagement CR.
Corresponds to the JSON property membershipSpec
1219 1220 1221 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1219 def membership_spec @membership_spec end |
#operator_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementOperatorState
State information for an ACM's Operator
Corresponds to the JSON property operatorState
1224 1225 1226 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1224 def operator_state @operator_state end |
#policy_controller_state ⇒ Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerState
State for PolicyControllerState.
Corresponds to the JSON property policyControllerState
1229 1230 1231 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1229 def policy_controller_state @policy_controller_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1236 1237 1238 1239 1240 1241 1242 1243 1244 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1236 def update!(**args) @binauthz_state = args[:binauthz_state] if args.key?(:binauthz_state) @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 |