Class: Google::Apis::RunV1::ConfigurationSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/run_v1/classes.rb,
generated/google/apis/run_v1/representations.rb,
generated/google/apis/run_v1/representations.rb

Overview

ConfigurationSpec holds the desired state of the Configuration (from the client).

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ConfigurationSpec

Returns a new instance of ConfigurationSpec.



492
493
494
# File 'generated/google/apis/run_v1/classes.rb', line 492

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

Instance Attribute Details

#templateGoogle::Apis::RunV1::RevisionTemplate

RevisionTemplateSpec describes the data a revision should have when created from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190 Corresponds to the JSON property template



490
491
492
# File 'generated/google/apis/run_v1/classes.rb', line 490

def template
  @template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



497
498
499
# File 'generated/google/apis/run_v1/classes.rb', line 497

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