Class: Google::Apis::DomainsV1alpha2::HealthCheckTargets
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::HealthCheckTargets
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/domains_v1alpha2/classes.rb,
lib/google/apis/domains_v1alpha2/representations.rb,
lib/google/apis/domains_v1alpha2/representations.rb
Overview
HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response.
Instance Attribute Summary collapse
-
#internal_load_balancer ⇒ Array<Google::Apis::DomainsV1alpha2::LoadBalancerTarget>
Configuration for internal load balancers to be health checked.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HealthCheckTargets
constructor
A new instance of HealthCheckTargets.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HealthCheckTargets
Returns a new instance of HealthCheckTargets.
884 885 886 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 884 def initialize(**args) update!(**args) end |
Instance Attribute Details
#internal_load_balancer ⇒ Array<Google::Apis::DomainsV1alpha2::LoadBalancerTarget>
Configuration for internal load balancers to be health checked.
Corresponds to the JSON property internalLoadBalancer
882 883 884 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 882 def internal_load_balancer @internal_load_balancer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
889 890 891 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 889 def update!(**args) @internal_load_balancer = args[:internal_load_balancer] if args.key?(:internal_load_balancer) end |