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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigurationSpec

Returns a new instance of ConfigurationSpec.



423
424
425
# File 'lib/google/apis/run_v1/classes.rb', line 423

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. Corresponds to the JSON property template



421
422
423
# File 'lib/google/apis/run_v1/classes.rb', line 421

def template
  @template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



428
429
430
# File 'lib/google/apis/run_v1/classes.rb', line 428

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