Class: Google::Apis::DnsV1::RrSetRoutingPolicyHealthCheckTargets

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dns_v1/classes.rb,
lib/google/apis/dns_v1/representations.rb,
lib/google/apis/dns_v1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RrSetRoutingPolicyHealthCheckTargets

Returns a new instance of RrSetRoutingPolicyHealthCheckTargets.



2039
2040
2041
# File 'lib/google/apis/dns_v1/classes.rb', line 2039

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

Instance Attribute Details

#internal_load_balancersArray<Google::Apis::DnsV1::RrSetRoutingPolicyLoadBalancerTarget>

Corresponds to the JSON property internalLoadBalancers



2037
2038
2039
# File 'lib/google/apis/dns_v1/classes.rb', line 2037

def internal_load_balancers
  @internal_load_balancers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2044
2045
2046
# File 'lib/google/apis/dns_v1/classes.rb', line 2044

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