Class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PolicyControllerTemplateLibraryConfig

Returns a new instance of PolicyControllerTemplateLibraryConfig.



5649
5650
5651
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5649

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)


5647
5648
5649
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5647

def installation
  @installation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5654
5655
5656
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 5654

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