Class: Google::Apis::RunV1alpha1::ServiceSpecRunLatest
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::ServiceSpecRunLatest
- 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
-
#configuration ⇒ Google::Apis::RunV1alpha1::ConfigurationSpec
ConfigurationSpec holds the desired state of the Configuration (from the client).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceSpecRunLatest
constructor
A new instance of ServiceSpecRunLatest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceSpecRunLatest
Returns a new instance of ServiceSpecRunLatest.
3713 3714 3715 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 3713 def initialize(**args) update!(**args) end |
Instance Attribute Details
#configuration ⇒ Google::Apis::RunV1alpha1::ConfigurationSpec
ConfigurationSpec holds the desired state of the Configuration (from the
client).
Corresponds to the JSON property configuration
3711 3712 3713 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 3711 def configuration @configuration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3718 3719 3720 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 3718 def update!(**args) @configuration = args[:configuration] if args.key?(:configuration) end |