Class: Google::Apis::RunV1::ConfigurationSpec
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::ConfigurationSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v1/classes.rb,
lib/google/apis/run_v1/representations.rb,
lib/google/apis/run_v1/representations.rb
Overview
ConfigurationSpec holds the desired state of the Configuration (from the client).
Instance Attribute Summary collapse
-
#template ⇒ Google::Apis::RunV1::RevisionTemplate
RevisionTemplateSpec describes the data a revision should have when created from a template.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigurationSpec
constructor
A new instance of ConfigurationSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigurationSpec
Returns a new instance of ConfigurationSpec.
414 415 416 |
# File 'lib/google/apis/run_v1/classes.rb', line 414 def initialize(**args) update!(**args) end |
Instance Attribute Details
#template ⇒ Google::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
412 413 414 |
# File 'lib/google/apis/run_v1/classes.rb', line 412 def template @template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
419 420 421 |
# File 'lib/google/apis/run_v1/classes.rb', line 419 def update!(**args) @template = args[:template] if args.key?(:template) end |