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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/run_v1alpha1/classes.rb,
lib/google/apis/run_v1alpha1/representations.rb,
lib/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

Constructor Details

#initialize(**args) ⇒ ServiceSpecRunLatest

Returns a new instance of ServiceSpecRunLatest.



4714
4715
4716
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 4714

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



4712
4713
4714
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 4712

def configuration
  @configuration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4719
4720
4721
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 4719

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