Class: Google::Apis::DnsV1::RrSetRoutingPolicyLoadBalancerTarget
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1::RrSetRoutingPolicyLoadBalancerTarget
- 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
Instance Attribute Summary collapse
-
#ip_address ⇒ String
The frontend IP address of the Corresponds to the JSON property
ipAddress
. -
#ip_protocol ⇒ String
Corresponds to the JSON property
ipProtocol
. -
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#load_balancer_type ⇒ String
Corresponds to the JSON property
loadBalancerType
. -
#network_url ⇒ String
The fully qualified url of the network on which the ILB is Corresponds to the JSON property
networkUrl
. -
#port ⇒ String
Load Balancer to health check.
-
#project ⇒ String
present.
-
#region ⇒ String
The region for regional ILBs.
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.
2145 2146 2147 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2145 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
The frontend IP address of the
Corresponds to the JSON property ipAddress
2106 2107 2108 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2106 def ip_address @ip_address end |
#ip_protocol ⇒ String
Corresponds to the JSON property ipProtocol
2111 2112 2113 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2111 def ip_protocol @ip_protocol end |
#kind ⇒ String
Corresponds to the JSON property kind
2116 2117 2118 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2116 def kind @kind end |
#load_balancer_type ⇒ String
Corresponds to the JSON property loadBalancerType
2121 2122 2123 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2121 def load_balancer_type @load_balancer_type end |
#network_url ⇒ String
The fully qualified url of the network on which the ILB is
Corresponds to the JSON property networkUrl
2126 2127 2128 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2126 def network_url @network_url end |
#port ⇒ String
Load Balancer to health check. The configured port of the Load Balancer.
Corresponds to the JSON property port
2131 2132 2133 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2131 def port @port end |
#project ⇒ String
present. This should be formatted like https://www.googleapis.com/compute/v1/
projects/project
/global/networks/network
The project ID in which the ILB
exists.
Corresponds to the JSON property project
2138 2139 2140 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2138 def project @project end |
#region ⇒ String
The region for regional ILBs.
Corresponds to the JSON property region
2143 2144 2145 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2143 def region @region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2150 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 |