Class: Google::Apis::GkehubV2alpha::ConfigManagementState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2alpha::ConfigManagementState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/representations.rb
Overview
Anthos Config Management: State for a single cluster.
Instance Attribute Summary collapse
-
#binauthz_state ⇒ Google::Apis::GkehubV2alpha::ConfigManagementBinauthzState
State for Binauthz.
-
#cluster_name ⇒ String
Output only.
-
#config_sync_state ⇒ Google::Apis::GkehubV2alpha::ConfigManagementConfigSyncState
State information for ConfigSync.
-
#hierarchy_controller_state ⇒ Google::Apis::GkehubV2alpha::ConfigManagementHierarchyControllerState
State for Hierarchy Controller.
-
#kubernetes_api_server_version ⇒ String
Output only.
-
#membership_spec ⇒ Google::Apis::GkehubV2alpha::ConfigManagementSpec
Anthos Config Management: Configuration for a single cluster.
-
#operator_state ⇒ Google::Apis::GkehubV2alpha::ConfigManagementOperatorState
State information for an ACM's Operator.
-
#policy_controller_state ⇒ Google::Apis::GkehubV2alpha::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.
1339 1340 1341 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1339 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binauthz_state ⇒ Google::Apis::GkehubV2alpha::ConfigManagementBinauthzState
State for Binauthz.
Corresponds to the JSON property binauthzState
1299 1300 1301 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1299 def binauthz_state @binauthz_state end |
#cluster_name ⇒ String
Output only. 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
1306 1307 1308 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1306 def cluster_name @cluster_name end |
#config_sync_state ⇒ Google::Apis::GkehubV2alpha::ConfigManagementConfigSyncState
State information for ConfigSync.
Corresponds to the JSON property configSyncState
1311 1312 1313 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1311 def config_sync_state @config_sync_state end |
#hierarchy_controller_state ⇒ Google::Apis::GkehubV2alpha::ConfigManagementHierarchyControllerState
State for Hierarchy Controller.
Corresponds to the JSON property hierarchyControllerState
1316 1317 1318 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1316 def hierarchy_controller_state @hierarchy_controller_state end |
#kubernetes_api_server_version ⇒ String
Output only. The Kubernetes API server version of the cluster.
Corresponds to the JSON property kubernetesApiServerVersion
1321 1322 1323 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1321 def kubernetes_api_server_version @kubernetes_api_server_version end |
#membership_spec ⇒ Google::Apis::GkehubV2alpha::ConfigManagementSpec
Anthos Config Management: Configuration for a single cluster. Intended to
parallel the ConfigManagement CR.
Corresponds to the JSON property membershipSpec
1327 1328 1329 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1327 def membership_spec @membership_spec end |
#operator_state ⇒ Google::Apis::GkehubV2alpha::ConfigManagementOperatorState
State information for an ACM's Operator.
Corresponds to the JSON property operatorState
1332 1333 1334 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1332 def operator_state @operator_state end |
#policy_controller_state ⇒ Google::Apis::GkehubV2alpha::ConfigManagementPolicyControllerState
State for PolicyControllerState.
Corresponds to the JSON property policyControllerState
1337 1338 1339 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1337 def policy_controller_state @policy_controller_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1344 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) @kubernetes_api_server_version = args[:kubernetes_api_server_version] if args.key?(:kubernetes_api_server_version) @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 |