class Google::Apis::ManagerV1beta2::HealthCheckModule

Attributes

check_interval_sec[RW]

Corresponds to the JSON property `checkIntervalSec` @return [Fixnum]

description[RW]

Corresponds to the JSON property `description` @return [String]

healthy_threshold[RW]

Corresponds to the JSON property `healthyThreshold` @return [Fixnum]

host[RW]

Corresponds to the JSON property `host` @return [String]

path[RW]

Corresponds to the JSON property `path` @return [String]

port[RW]

Corresponds to the JSON property `port` @return [Fixnum]

timeout_sec[RW]

Corresponds to the JSON property `timeoutSec` @return [Fixnum]

unhealthy_threshold[RW]

Corresponds to the JSON property `unhealthyThreshold` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/manager_v1beta2/classes.rb, line 491
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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