Class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig
- 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
The config specifying which default library templates to install.
Instance Attribute Summary collapse
-
#included ⇒ Boolean
(also: #included?)
Whether the standard template library should be installed or not.
-
#installation ⇒ String
Configures the manner in which the template library is installed on the cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyControllerTemplateLibraryConfig
constructor
A new instance of PolicyControllerTemplateLibraryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyControllerTemplateLibraryConfig
Returns a new instance of PolicyControllerTemplateLibraryConfig.
4130 4131 4132 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4130 def initialize(**args) update!(**args) end |
Instance Attribute Details
#included ⇒ Boolean Also known as: included?
Whether the standard template library should be installed or not.
Corresponds to the JSON property included
4121 4122 4123 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4121 def included @included end |
#installation ⇒ String
Configures the manner in which the template library is installed on the
cluster.
Corresponds to the JSON property installation
4128 4129 4130 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4128 def installation @installation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4135 4136 4137 4138 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4135 def update!(**args) @included = args[:included] if args.key?(:included) @installation = args[:installation] if args.key?(:installation) end |