Class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec
- 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
Policy Controller: Configuration for a single cluster. Intended to parallel the PolicyController CR.
Instance Attribute Summary collapse
-
#policy_controller_hub_config ⇒ Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig
Configuration for Policy Controller Corresponds to the JSON property
policyControllerHubConfig. -
#version ⇒ String
Version of Policy Controller installed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicycontrollerMembershipSpec
constructor
A new instance of PolicycontrollerMembershipSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicycontrollerMembershipSpec
Returns a new instance of PolicycontrollerMembershipSpec.
2877 2878 2879 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2877 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy_controller_hub_config ⇒ Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig
Configuration for Policy Controller
Corresponds to the JSON property policyControllerHubConfig
2870 2871 2872 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2870 def policy_controller_hub_config @policy_controller_hub_config end |
#version ⇒ String
Version of Policy Controller installed.
Corresponds to the JSON property version
2875 2876 2877 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2875 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2882 2883 2884 2885 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2882 def update!(**args) @policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config) @version = args[:version] if args.key?(:version) end |