Class: Google::Apis::RunV1alpha1::ServiceSpecRunLatest

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

Overview

ServiceSpecRunLatest contains the options for always having a route to the latest configuration. See ServiceSpec for more details.

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) ⇒ ServiceSpecRunLatest

Returns a new instance of ServiceSpecRunLatest



3576
3577
3578
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3576

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

Instance Attribute Details

#configurationGoogle::Apis::RunV1alpha1::ConfigurationSpec

ConfigurationSpec holds the desired state of the Configuration (from the client). Corresponds to the JSON property configuration



3574
3575
3576
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3574

def configuration
  @configuration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3581
3582
3583
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3581

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