Class: Google::Apis::ManagerV1beta2::HealthCheckModule
- Inherits:
-
Object
- Object
- Google::Apis::ManagerV1beta2::HealthCheckModule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/manager_v1beta2/classes.rb,
generated/google/apis/manager_v1beta2/representations.rb,
generated/google/apis/manager_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#check_interval_sec ⇒ Fixnum
Corresponds to the JSON property
checkIntervalSec
. -
#description ⇒ String
Corresponds to the JSON property
description
. -
#healthy_threshold ⇒ Fixnum
Corresponds to the JSON property
healthyThreshold
. -
#host ⇒ String
Corresponds to the JSON property
host
. -
#path ⇒ String
Corresponds to the JSON property
path
. -
#port ⇒ Fixnum
Corresponds to the JSON property
port
. -
#timeout_sec ⇒ Fixnum
Corresponds to the JSON property
timeoutSec
. -
#unhealthy_threshold ⇒ Fixnum
Corresponds to the JSON property
unhealthyThreshold
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HealthCheckModule
constructor
A new instance of HealthCheckModule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ HealthCheckModule
Returns a new instance of HealthCheckModule
491 492 493 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 491 def initialize(**args) update!(**args) end |
Instance Attribute Details
#check_interval_sec ⇒ Fixnum
Corresponds to the JSON property checkIntervalSec
454 455 456 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 454 def check_interval_sec @check_interval_sec end |
#description ⇒ String
Corresponds to the JSON property description
459 460 461 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 459 def description @description end |
#healthy_threshold ⇒ Fixnum
Corresponds to the JSON property healthyThreshold
464 465 466 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 464 def healthy_threshold @healthy_threshold end |
#host ⇒ String
Corresponds to the JSON property host
469 470 471 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 469 def host @host end |
#path ⇒ String
Corresponds to the JSON property path
474 475 476 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 474 def path @path end |
#port ⇒ Fixnum
Corresponds to the JSON property port
479 480 481 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 479 def port @port end |
#timeout_sec ⇒ Fixnum
Corresponds to the JSON property timeoutSec
484 485 486 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 484 def timeout_sec @timeout_sec end |
#unhealthy_threshold ⇒ Fixnum
Corresponds to the JSON property unhealthyThreshold
489 490 491 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 489 def unhealthy_threshold @unhealthy_threshold end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
496 497 498 499 500 501 502 503 504 505 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 496 def update!(**args) @check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec) @description = args[:description] if args.key?(:description) @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold) @host = args[:host] if args.key?(:host) @path = args[:path] if args.key?(:path) @port = args[:port] if args.key?(:port) @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec) @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold) end |