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
Instance Attribute Summary collapse
-
#ip_address ⇒ String
The frontend IP address of the Load Balancer to health check.
-
#ip_protocol ⇒ String
Corresponds to the JSON property
ipProtocol
. -
#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 on which the ILB is present.
-
#port ⇒ String
The configured port of the Load Balancer.
-
#project ⇒ String
The project ID in which the ILB exists.
-
#region ⇒ String
The region in which the ILB exists.
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.
2160 2161 2162 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2160 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
2119 2120 2121 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2119 def ip_address @ip_address end |
#ip_protocol ⇒ String
Corresponds to the JSON property ipProtocol
2124 2125 2126 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2124 def ip_protocol @ip_protocol end |
#kind ⇒ String
Corresponds to the JSON property kind
2129 2130 2131 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2129 def kind @kind end |
#load_balancer_type ⇒ String
The type of Load Balancer specified by this target. Must match the
configuration of the Load Balancer located at the LoadBalancerTarget's IP
address/port and region.
Corresponds to the JSON property loadBalancerType
2136 2137 2138 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2136 def load_balancer_type @load_balancer_type end |
#network_url ⇒ String
The fully qualified url of the network on which the ILB is present. This
should be formatted like https://www.googleapis.com/compute/v1/projects/`
project/global/networks/
network
Corresponds to the JSON property
networkUrl`
2143 2144 2145 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2143 def network_url @network_url end |
#port ⇒ String
The configured port of the Load Balancer.
Corresponds to the JSON property port
2148 2149 2150 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2148 def port @port end |
#project ⇒ String
The project ID in which the ILB exists.
Corresponds to the JSON property project
2153 2154 2155 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2153 def project @project end |
#region ⇒ String
The region in which the ILB exists.
Corresponds to the JSON property region
2158 2159 2160 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2158 def region @region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2165 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 |