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

Constructor Details

#initialize(**args) ⇒ ConfigurationSpec

Returns a new instance of ConfigurationSpec.



414
415
416
# File 'generated/google/apis/run_v1/classes.rb', line 414

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



412
413
414
# File 'generated/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 'generated/google/apis/run_v1/classes.rb', line 419

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