Class: Google::Apis::GkehubV2::PolicyControllerTemplateLibraryConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2::PolicyControllerTemplateLibraryConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2/classes.rb,
lib/google/apis/gkehub_v2/representations.rb,
lib/google/apis/gkehub_v2/representations.rb
Overview
The config specifying which default library templates to install.
Instance Attribute Summary collapse
-
#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.
2982 2983 2984 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 2982 def initialize(**args) update!(**args) end |
Instance Attribute Details
#installation ⇒ String
Configures the manner in which the template library is installed on the
cluster.
Corresponds to the JSON property installation
2980 2981 2982 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 2980 def installation @installation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2987 2988 2989 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 2987 def update!(**args) @installation = args[:installation] if args.key?(:installation) end |