Class: Google::Apis::AppengineV1beta::FeatureSettings
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AppengineV1beta::FeatureSettings
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta/classes.rb,
 generated/google/apis/appengine_v1beta/representations.rb,
 generated/google/apis/appengine_v1beta/representations.rb
Overview
The feature specific settings to be used in the application. These define behaviors that are user configurable.
Instance Attribute Summary collapse
- 
  
    
      #split_health_checks  ⇒ Boolean 
    
    
      (also: #split_health_checks?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Boolean value indicating if split health checks should be used instead of the legacy health checks. 
- 
  
    
      #use_container_optimized_os  ⇒ Boolean 
    
    
      (also: #use_container_optimized_os?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    If true, use Container-Optimized OS (https://cloud.google.com/container- optimized-os/) base image for VMs, rather than a base Debian image. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FeatureSettings 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of FeatureSettings. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FeatureSettings
Returns a new instance of FeatureSettings
| 985 986 987 | # File 'generated/google/apis/appengine_v1beta/classes.rb', line 985 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#split_health_checks ⇒ Boolean Also known as: split_health_checks?
Boolean value indicating if split health checks should be used instead of the
legacy health checks. At an app.yaml level, this means defaulting to '
readiness_check' and 'liveness_check' values instead of 'health_check' ones.
Once the legacy 'health_check' behavior is deprecated, and this value is
always true, this setting can be removed.
Corresponds to the JSON property splitHealthChecks
| 975 976 977 | # File 'generated/google/apis/appengine_v1beta/classes.rb', line 975 def split_health_checks @split_health_checks end | 
#use_container_optimized_os ⇒ Boolean Also known as: use_container_optimized_os?
If true, use Container-Optimized OS (https://cloud.google.com/container-
optimized-os/) base image for VMs, rather than a base Debian image.
Corresponds to the JSON property useContainerOptimizedOs
| 982 983 984 | # File 'generated/google/apis/appengine_v1beta/classes.rb', line 982 def use_container_optimized_os @use_container_optimized_os end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 990 991 992 993 | # File 'generated/google/apis/appengine_v1beta/classes.rb', line 990 def update!(**args) @split_health_checks = args[:split_health_checks] if args.key?(:split_health_checks) @use_container_optimized_os = args[:use_container_optimized_os] if args.key?(:use_container_optimized_os) end |