Class: Google::Apis::NetworkmanagementV1::LoadBalancerBackend
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1::LoadBalancerBackend
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/representations.rb
Overview
For display only. Metadata associated with a specific load balancer backend.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Name of a Compute Engine instance or network endpoint.
-
#health_check_allowing_firewall_rules ⇒ Array<String>
A list of firewall rule URIs allowing probes from health check IP ranges.
-
#health_check_blocking_firewall_rules ⇒ Array<String>
A list of firewall rule URIs blocking probes from health check IP ranges.
-
#health_check_firewall_state ⇒ String
State of the health check firewall configuration.
-
#uri ⇒ String
URI of a Compute Engine instance or network endpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LoadBalancerBackend
constructor
A new instance of LoadBalancerBackend.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LoadBalancerBackend
Returns a new instance of LoadBalancerBackend.
1481 1482 1483 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1481 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Name of a Compute Engine instance or network endpoint.
Corresponds to the JSON property displayName
1459 1460 1461 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1459 def display_name @display_name end |
#health_check_allowing_firewall_rules ⇒ Array<String>
A list of firewall rule URIs allowing probes from health check IP ranges.
Corresponds to the JSON property healthCheckAllowingFirewallRules
1464 1465 1466 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1464 def health_check_allowing_firewall_rules @health_check_allowing_firewall_rules end |
#health_check_blocking_firewall_rules ⇒ Array<String>
A list of firewall rule URIs blocking probes from health check IP ranges.
Corresponds to the JSON property healthCheckBlockingFirewallRules
1469 1470 1471 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1469 def health_check_blocking_firewall_rules @health_check_blocking_firewall_rules end |
#health_check_firewall_state ⇒ String
State of the health check firewall configuration.
Corresponds to the JSON property healthCheckFirewallState
1474 1475 1476 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1474 def health_check_firewall_state @health_check_firewall_state end |
#uri ⇒ String
URI of a Compute Engine instance or network endpoint.
Corresponds to the JSON property uri
1479 1480 1481 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1479 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1486 1487 1488 1489 1490 1491 1492 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1486 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @health_check_allowing_firewall_rules = args[:health_check_allowing_firewall_rules] if args.key?(:health_check_allowing_firewall_rules) @health_check_blocking_firewall_rules = args[:health_check_blocking_firewall_rules] if args.key?(:health_check_blocking_firewall_rules) @health_check_firewall_state = args[:health_check_firewall_state] if args.key?(:health_check_firewall_state) @uri = args[:uri] if args.key?(:uri) end |