class Google::Apis::RunV1beta1::CustomResourceDefinitionNames

CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition

Attributes

categories[RW]

Categories is a list of grouped resources custom resources belong to (e.g. ' all') +optional Corresponds to the JSON property `categories` @return [Array<String>]

kind[RW]

Kind is the serialized kind of the resource. It is normally CamelCase and singular. Corresponds to the JSON property `kind` @return [String]

list_kind[RW]

ListKind is the serialized kind of the list for this resource. Defaults to List. +optional Corresponds to the JSON property `listKind` @return [String]

plural[RW]

Plural is the plural name of the resource to serve. It must match the name of the CustomResourceDefinition-registration too: plural.group and it must be all lowercase. Corresponds to the JSON property `plural` @return [String]

short_names[RW]

ShortNames are short names for the resource. It must be all lowercase. + optional Corresponds to the JSON property `shortNames` @return [Array<String>]

singular[RW]

Singular is the singular name of the resource. It must be all lowercase Defaults to lowercased +optional Corresponds to the JSON property `singular` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/run_v1beta1/classes.rb, line 163
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/run_v1beta1/classes.rb, line 168
def update!(**args)
  @categories = args[:categories] if args.key?(:categories)
  @kind = args[:kind] if args.key?(:kind)
  @list_kind = args[:list_kind] if args.key?(:list_kind)
  @plural = args[:plural] if args.key?(:plural)
  @short_names = args[:short_names] if args.key?(:short_names)
  @singular = args[:singular] if args.key?(:singular)
end