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.



4551
4552
4553
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4551

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

Instance Attribute Details

#includedBoolean Also known as: included?

Whether the standard template library should be installed or not. Corresponds to the JSON property included

Returns:

  • (Boolean)


4542
4543
4544
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4542

def included
  @included
end

#installationString

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

Returns:

  • (String)


4549
4550
4551
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4549

def installation
  @installation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4556
4557
4558
4559
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4556

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