Class: Google::Apis::AppengineV1beta::Runtime
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta::Runtime
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1beta/classes.rb,
lib/google/apis/appengine_v1beta/representations.rb,
lib/google/apis/appengine_v1beta/representations.rb
Overview
Runtime versions for App Engine.
Instance Attribute Summary collapse
-
#environment ⇒ String
The environment of the runtime.
-
#name ⇒ String
The name of the runtime, e.g., 'go113', 'nodejs12', etc.
-
#stage ⇒ String
The stage of life this runtime is in, e.g., BETA, GA, etc.
-
#warnings ⇒ Array<String>
Warning messages, e.g., a deprecation warning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Runtime
constructor
A new instance of Runtime.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Runtime
Returns a new instance of Runtime.
2650 2651 2652 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2650 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment ⇒ String
The environment of the runtime.
Corresponds to the JSON property environment
2633 2634 2635 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2633 def environment @environment end |
#name ⇒ String
The name of the runtime, e.g., 'go113', 'nodejs12', etc.
Corresponds to the JSON property name
2638 2639 2640 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2638 def name @name end |
#stage ⇒ String
The stage of life this runtime is in, e.g., BETA, GA, etc.
Corresponds to the JSON property stage
2643 2644 2645 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2643 def stage @stage end |
#warnings ⇒ Array<String>
Warning messages, e.g., a deprecation warning.
Corresponds to the JSON property warnings
2648 2649 2650 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2648 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2655 2656 2657 2658 2659 2660 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2655 def update!(**args) @environment = args[:environment] if args.key?(:environment) @name = args[:name] if args.key?(:name) @stage = args[:stage] if args.key?(:stage) @warnings = args[:warnings] if args.key?(:warnings) end |