Class: Google::Apis::ComputeV1::AddTargetPoolsHealthCheckRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddTargetPoolsHealthCheckRequest

Returns a new instance of AddTargetPoolsHealthCheckRequest.



45223
45224
45225
# File 'lib/google/apis/compute_v1/classes.rb', line 45223

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

Instance Attribute Details

#health_checksArray<Google::Apis::ComputeV1::HealthCheckReference>

The HttpHealthCheck to add to the target pool. Corresponds to the JSON property healthChecks



45221
45222
45223
# File 'lib/google/apis/compute_v1/classes.rb', line 45221

def health_checks
  @health_checks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45228
45229
45230
# File 'lib/google/apis/compute_v1/classes.rb', line 45228

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