Class: Google::Apis::GkehubV2::ConfigManagementState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2::ConfigManagementState
- 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
Anthos Config Management: State for a single cluster.
Instance Attribute Summary collapse
-
#binauthz_state ⇒ Google::Apis::GkehubV2::ConfigManagementBinauthzState
State for Binauthz.
-
#cluster_name ⇒ String
This field is set to the
cluster_name
field of the Membership Spec if it is not empty. -
#config_sync_state ⇒ Google::Apis::GkehubV2::ConfigManagementConfigSyncState
State information for ConfigSync.
-
#hierarchy_controller_state ⇒ Google::Apis::GkehubV2::ConfigManagementHierarchyControllerState
State for Hierarchy Controller.
-
#membership_spec ⇒ Google::Apis::GkehubV2::ConfigManagementSpec
Anthos Config Management: Configuration for a single cluster.
-
#operator_state ⇒ Google::Apis::GkehubV2::ConfigManagementOperatorState
State information for an ACM's Operator.
-
#policy_controller_state ⇒ Google::Apis::GkehubV2::ConfigManagementPolicyControllerState
State for PolicyControllerState.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigManagementState
constructor
A new instance of ConfigManagementState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigManagementState
Returns a new instance of ConfigManagementState.
1255 1256 1257 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binauthz_state ⇒ Google::Apis::GkehubV2::ConfigManagementBinauthzState
State for Binauthz.
Corresponds to the JSON property binauthzState
1221 1222 1223 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1221 def binauthz_state @binauthz_state end |
#cluster_name ⇒ String
This field is set to the cluster_name
field of the Membership Spec if it is
not empty. Otherwise, it is set to the cluster's fleet membership name.
Corresponds to the JSON property clusterName
1227 1228 1229 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1227 def cluster_name @cluster_name end |
#config_sync_state ⇒ Google::Apis::GkehubV2::ConfigManagementConfigSyncState
State information for ConfigSync.
Corresponds to the JSON property configSyncState
1232 1233 1234 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1232 def config_sync_state @config_sync_state end |
#hierarchy_controller_state ⇒ Google::Apis::GkehubV2::ConfigManagementHierarchyControllerState
State for Hierarchy Controller.
Corresponds to the JSON property hierarchyControllerState
1237 1238 1239 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1237 def hierarchy_controller_state @hierarchy_controller_state end |
#membership_spec ⇒ Google::Apis::GkehubV2::ConfigManagementSpec
Anthos Config Management: Configuration for a single cluster. Intended to
parallel the ConfigManagement CR.
Corresponds to the JSON property membershipSpec
1243 1244 1245 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1243 def membership_spec @membership_spec end |
#operator_state ⇒ Google::Apis::GkehubV2::ConfigManagementOperatorState
State information for an ACM's Operator.
Corresponds to the JSON property operatorState
1248 1249 1250 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1248 def operator_state @operator_state end |
#policy_controller_state ⇒ Google::Apis::GkehubV2::ConfigManagementPolicyControllerState
State for PolicyControllerState.
Corresponds to the JSON property policyControllerState
1253 1254 1255 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1253 def policy_controller_state @policy_controller_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1260 1261 1262 1263 1264 1265 1266 1267 1268 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1260 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 |