Class: Google::Apis::NetworkmanagementV1::LoadBalancerBackend

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LoadBalancerBackend

Returns a new instance of LoadBalancerBackend.



1351
1352
1353
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1351

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

Returns:

  • (String)


1329
1330
1331
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1329

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

Returns:

  • (Array<String>)


1334
1335
1336
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1334

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

Returns:

  • (Array<String>)


1339
1340
1341
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1339

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

Returns:

  • (String)


1344
1345
1346
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1344

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

Returns:

  • (String)


1349
1350
1351
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1349

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1356
1357
1358
1359
1360
1361
1362
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1356

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