Class: Google::Apis::GkehubV1::ConfigManagementMembershipState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1::ConfigManagementMembershipState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb
Overview
Anthos Config Management: State for a single cluster.
Instance Attribute Summary collapse
-
#cluster_name ⇒ String
This field is set to the
cluster_namefield of the Membership Spec if it is not empty. -
#config_sync_state ⇒ Google::Apis::GkehubV1::ConfigManagementConfigSyncState
State information for ConfigSync Corresponds to the JSON property
configSyncState. -
#hierarchy_controller_state ⇒ Google::Apis::GkehubV1::ConfigManagementHierarchyControllerState
State for Hierarchy Controller Corresponds to the JSON property
hierarchyControllerState. -
#membership_spec ⇒ Google::Apis::GkehubV1::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster.
-
#operator_state ⇒ Google::Apis::GkehubV1::ConfigManagementOperatorState
State information for an ACM's Operator Corresponds to the JSON property
operatorState. -
#policy_controller_state ⇒ Google::Apis::GkehubV1::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.
1000 1001 1002 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1000 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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
972 973 974 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 972 def cluster_name @cluster_name end |
#config_sync_state ⇒ Google::Apis::GkehubV1::ConfigManagementConfigSyncState
State information for ConfigSync
Corresponds to the JSON property configSyncState
977 978 979 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 977 def config_sync_state @config_sync_state end |
#hierarchy_controller_state ⇒ Google::Apis::GkehubV1::ConfigManagementHierarchyControllerState
State for Hierarchy Controller
Corresponds to the JSON property hierarchyControllerState
982 983 984 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 982 def hierarchy_controller_state @hierarchy_controller_state end |
#membership_spec ⇒ Google::Apis::GkehubV1::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster. Intended to
parallel the ConfigManagement CR.
Corresponds to the JSON property membershipSpec
988 989 990 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 988 def membership_spec @membership_spec end |
#operator_state ⇒ Google::Apis::GkehubV1::ConfigManagementOperatorState
State information for an ACM's Operator
Corresponds to the JSON property operatorState
993 994 995 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 993 def operator_state @operator_state end |
#policy_controller_state ⇒ Google::Apis::GkehubV1::ConfigManagementPolicyControllerState
State for PolicyControllerState.
Corresponds to the JSON property policyControllerState
998 999 1000 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 998 def policy_controller_state @policy_controller_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1005 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 |