Class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyLoadBalancerTarget
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::RrSetRoutingPolicyLoadBalancerTarget
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dns_v1beta2/classes.rb,
lib/google/apis/dns_v1beta2/representations.rb,
lib/google/apis/dns_v1beta2/representations.rb
Overview
The configuration for an individual load balancer to health check.
Instance Attribute Summary collapse
-
#ip_address ⇒ String
The frontend IP address of the load balancer to health check.
-
#ip_protocol ⇒ String
The protocol of the load balancer to health check.
-
#kind ⇒ String
Corresponds to the JSON property
kind. -
#load_balancer_type ⇒ String
The type of load balancer specified by this target.
-
#network_url ⇒ String
The fully qualified URL of the network that the load balancer is attached to.
-
#port ⇒ String
The configured port of the load balancer.
-
#project ⇒ String
The project ID in which the load balancer is located.
-
#region ⇒ String
The region in which the load balancer is located.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RrSetRoutingPolicyLoadBalancerTarget
constructor
A new instance of RrSetRoutingPolicyLoadBalancerTarget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RrSetRoutingPolicyLoadBalancerTarget
Returns a new instance of RrSetRoutingPolicyLoadBalancerTarget.
2196 2197 2198 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2196 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
The frontend IP address of the load balancer to health check.
Corresponds to the JSON property ipAddress
2152 2153 2154 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2152 def ip_address @ip_address end |
#ip_protocol ⇒ String
The protocol of the load balancer to health check.
Corresponds to the JSON property ipProtocol
2157 2158 2159 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2157 def ip_protocol @ip_protocol end |
#kind ⇒ String
Corresponds to the JSON property kind
2162 2163 2164 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2162 def kind @kind end |
#load_balancer_type ⇒ String
The type of load balancer specified by this target. This value must match the
configuration of the load balancer located at the LoadBalancerTarget's IP
address, port, and region. Use the following: - regionalL4ilb: for a
regional internal passthrough Network Load Balancer. - regionalL7ilb: for a
regional internal Application Load Balancer. - globalL7ilb: for a global
internal Application Load Balancer.
Corresponds to the JSON property loadBalancerType
2172 2173 2174 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2172 def load_balancer_type @load_balancer_type end |
#network_url ⇒ String
The fully qualified URL of the network that the load balancer is attached to.
This should be formatted like https://www.googleapis.com/compute/v1/projects/`
project/global/networks/network.
Corresponds to the JSON propertynetworkUrl`
2179 2180 2181 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2179 def network_url @network_url end |
#port ⇒ String
The configured port of the load balancer.
Corresponds to the JSON property port
2184 2185 2186 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2184 def port @port end |
#project ⇒ String
The project ID in which the load balancer is located.
Corresponds to the JSON property project
2189 2190 2191 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2189 def project @project end |
#region ⇒ String
The region in which the load balancer is located.
Corresponds to the JSON property region
2194 2195 2196 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2194 def region @region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2201 def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol) @kind = args[:kind] if args.key?(:kind) @load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type) @network_url = args[:network_url] if args.key?(:network_url) @port = args[:port] if args.key?(:port) @project = args[:project] if args.key?(:project) @region = args[:region] if args.key?(:region) end |