Class: Google::Apis::GkehubV1beta::ConfigManagementMembershipState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::ConfigManagementMembershipState
- 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
Anthos Config Management: State for a single cluster.
Instance Attribute Summary collapse
-
#binauthz_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementBinauthzState
State for Binauthz Corresponds to the JSON property
binauthzState. -
#cluster_name ⇒ String
Output only.
-
#config_sync_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementConfigSyncState
State information for ConfigSync Corresponds to the JSON property
configSyncState. -
#hierarchy_controller_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerState
State for Hierarchy Controller Corresponds to the JSON property
hierarchyControllerState. -
#kubernetes_api_server_version ⇒ String
Output only.
-
#membership_spec ⇒ Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster.
-
#operator_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementOperatorState
State information for an ACM's Operator Corresponds to the JSON property
operatorState. -
#policy_controller_state ⇒ Google::Apis::GkehubV1beta::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.
1731 1732 1733 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1731 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binauthz_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementBinauthzState
State for Binauthz
Corresponds to the JSON property binauthzState
1691 1692 1693 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1691 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
1698 1699 1700 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1698 def cluster_name @cluster_name end |
#config_sync_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementConfigSyncState
State information for ConfigSync
Corresponds to the JSON property configSyncState
1703 1704 1705 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1703 def config_sync_state @config_sync_state end |
#hierarchy_controller_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerState
State for Hierarchy Controller
Corresponds to the JSON property hierarchyControllerState
1708 1709 1710 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1708 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
1713 1714 1715 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1713 def kubernetes_api_server_version @kubernetes_api_server_version end |
#membership_spec ⇒ Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster. Intended to
parallel the ConfigManagement CR.
Corresponds to the JSON property membershipSpec
1719 1720 1721 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1719 def membership_spec @membership_spec end |
#operator_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementOperatorState
State information for an ACM's Operator
Corresponds to the JSON property operatorState
1724 1725 1726 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1724 def operator_state @operator_state end |
#policy_controller_state ⇒ Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerState
State for PolicyControllerState.
Corresponds to the JSON property policyControllerState
1729 1730 1731 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1729 def policy_controller_state @policy_controller_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1736 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 |