Class: Google::Apis::AppengineV1::Runtime
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AppengineV1::Runtime
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/appengine_v1/classes.rb,
lib/google/apis/appengine_v1/representations.rb,
lib/google/apis/appengine_v1/representations.rb 
Overview
Runtime versions for App Engine.
Instance Attribute Summary collapse
- 
  
    
      #decommissioned_date  ⇒ Google::Apis::AppengineV1::Date 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Represents a whole or partial calendar date, such as a birthday.
 - 
  
    
      #deprecation_date  ⇒ Google::Apis::AppengineV1::Date 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Represents a whole or partial calendar date, such as a birthday.
 - 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
User-friendly display name, e.g.
 - 
  
    
      #end_of_support_date  ⇒ Google::Apis::AppengineV1::Date 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Represents a whole or partial calendar date, such as a birthday.
 - 
  
    
      #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.
 - 
  
    
      #supported_operating_systems  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Supported operating systems for the runtime, e.g., 'ubuntu22', 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.
      2676 2677 2678  | 
    
      # File 'lib/google/apis/appengine_v1/classes.rb', line 2676 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#decommissioned_date ⇒ Google::Apis::AppengineV1::Date
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: A full date, with non-zero year, month, and day values. A month and
day, with a zero year (for example, an anniversary). A year on its own, with a
zero month and a zero day. A year and month, with a zero day (for example, a
credit card expiration date).Related types: google.type.TimeOfDay google.type.
DateTime google.protobuf.Timestamp
Corresponds to the JSON property decommissionedDate
      2620 2621 2622  | 
    
      # File 'lib/google/apis/appengine_v1/classes.rb', line 2620 def decommissioned_date @decommissioned_date end  | 
  
#deprecation_date ⇒ Google::Apis::AppengineV1::Date
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: A full date, with non-zero year, month, and day values. A month and
day, with a zero year (for example, an anniversary). A year on its own, with a
zero month and a zero day. A year and month, with a zero day (for example, a
credit card expiration date).Related types: google.type.TimeOfDay google.type.
DateTime google.protobuf.Timestamp
Corresponds to the JSON property deprecationDate
      2632 2633 2634  | 
    
      # File 'lib/google/apis/appengine_v1/classes.rb', line 2632 def deprecation_date @deprecation_date end  | 
  
#display_name ⇒ String
User-friendly display name, e.g. 'Node.js 12', etc.
Corresponds to the JSON property displayName
      2637 2638 2639  | 
    
      # File 'lib/google/apis/appengine_v1/classes.rb', line 2637 def display_name @display_name end  | 
  
#end_of_support_date ⇒ Google::Apis::AppengineV1::Date
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: A full date, with non-zero year, month, and day values. A month and
day, with a zero year (for example, an anniversary). A year on its own, with a
zero month and a zero day. A year and month, with a zero day (for example, a
credit card expiration date).Related types: google.type.TimeOfDay google.type.
DateTime google.protobuf.Timestamp
Corresponds to the JSON property endOfSupportDate
      2649 2650 2651  | 
    
      # File 'lib/google/apis/appengine_v1/classes.rb', line 2649 def end_of_support_date @end_of_support_date end  | 
  
#environment ⇒ String
The environment of the runtime.
Corresponds to the JSON property environment
      2654 2655 2656  | 
    
      # File 'lib/google/apis/appengine_v1/classes.rb', line 2654 def environment @environment end  | 
  
#name ⇒ String
The name of the runtime, e.g., 'go113', 'nodejs12', etc.
Corresponds to the JSON property name
      2659 2660 2661  | 
    
      # File 'lib/google/apis/appengine_v1/classes.rb', line 2659 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
      2664 2665 2666  | 
    
      # File 'lib/google/apis/appengine_v1/classes.rb', line 2664 def stage @stage end  | 
  
#supported_operating_systems ⇒ Array<String>
Supported operating systems for the runtime, e.g., 'ubuntu22', etc.
Corresponds to the JSON property supportedOperatingSystems
      2669 2670 2671  | 
    
      # File 'lib/google/apis/appengine_v1/classes.rb', line 2669 def @supported_operating_systems end  | 
  
#warnings ⇒ Array<String>
Warning messages, e.g., a deprecation warning.
Corresponds to the JSON property warnings
      2674 2675 2676  | 
    
      # File 'lib/google/apis/appengine_v1/classes.rb', line 2674 def warnings @warnings end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691  | 
    
      # File 'lib/google/apis/appengine_v1/classes.rb', line 2681 def update!(**args) @decommissioned_date = args[:decommissioned_date] if args.key?(:decommissioned_date) @deprecation_date = args[:deprecation_date] if args.key?(:deprecation_date) @display_name = args[:display_name] if args.key?(:display_name) @end_of_support_date = args[:end_of_support_date] if args.key?(:end_of_support_date) @environment = args[:environment] if args.key?(:environment) @name = args[:name] if args.key?(:name) @stage = args[:stage] if args.key?(:stage) @supported_operating_systems = args[:supported_operating_systems] if args.key?(:supported_operating_systems) @warnings = args[:warnings] if args.key?(:warnings) end  |