Class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/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.



3178
3179
3180
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3178

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

Instance Attribute Details

#includedBoolean Also known as: included?

Whether the standard template library should be installed or not. TODO (b/ 271878194): Remove this Corresponds to the JSON property included

Returns:

  • (Boolean)


3169
3170
3171
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3169

def included
  @included
end

#installationString

Configures the manner in which the template library is installed on the cluster. TODO (b/271878194): Decrement this Corresponds to the JSON property installation

Returns:

  • (String)


3176
3177
3178
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3176

def installation
  @installation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3183
3184
3185
3186
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3183

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