Class: Google::Apis::GkehubV1::PolicyControllerTemplateLibraryConfig

Inherits:
Object
  • Object
show all
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

The config specifying which default library templates to install.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PolicyControllerTemplateLibraryConfig

Returns a new instance of PolicyControllerTemplateLibraryConfig.



4899
4900
4901
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4899

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#installationString

Configures the manner in which the template library is installed on the cluster. Corresponds to the JSON property installation

Returns:

  • (String)


4897
4898
4899
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4897

def installation
  @installation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4904
4905
4906
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4904

def update!(**args)
  @installation = args[:installation] if args.key?(:installation)
end