Class: Google::Apis::AppengineV1::FeatureSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appengine_v1/classes.rb,
generated/google/apis/appengine_v1/representations.rb,
generated/google/apis/appengine_v1/representations.rb

Overview

The feature specific settings to be used in the application. These define behaviors that are user configurable.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FeatureSettings

Returns a new instance of FeatureSettings



931
932
933
# File 'generated/google/apis/appengine_v1/classes.rb', line 931

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#split_health_checksBoolean 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

Returns:

  • (Boolean)


928
929
930
# File 'generated/google/apis/appengine_v1/classes.rb', line 928

def split_health_checks
  @split_health_checks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



936
937
938
# File 'generated/google/apis/appengine_v1/classes.rb', line 936

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