Class: Google::Apis::NetworkmanagementV1beta1::LoadBalancerBackend

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkmanagement_v1beta1/classes.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb,
lib/google/apis/networkmanagement_v1beta1/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.



2011
2012
2013
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 2011

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#display_nameString

Name of a Compute Engine instance or network endpoint. Corresponds to the JSON property displayName

Returns:

  • (String)


1984
1985
1986
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1984

def display_name
  @display_name
end

#health_check_allowing_firewall_rulesArray<String>

A list of firewall rule URIs allowing probes from health check IP ranges. Corresponds to the JSON property healthCheckAllowingFirewallRules

Returns:

  • (Array<String>)


1989
1990
1991
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1989

def health_check_allowing_firewall_rules
  @health_check_allowing_firewall_rules
end

#health_check_blocking_firewall_rulesArray<String>

A list of firewall rule URIs blocking probes from health check IP ranges. Corresponds to the JSON property healthCheckBlockingFirewallRules

Returns:

  • (Array<String>)


1994
1995
1996
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1994

def health_check_blocking_firewall_rules
  @health_check_blocking_firewall_rules
end

#health_check_firewall_stateString

State of the health check firewall configuration. Corresponds to the JSON property healthCheckFirewallState

Returns:

  • (String)


1999
2000
2001
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1999

def health_check_firewall_state
  @health_check_firewall_state
end

#uriString

URI of the backend instance or network endpoint. Format: * projects/ project_id/zones/zone/instances/instance_id(instance) * `projects/` project_id`/zones/`zone`/networkEndpointGroups/`neg_id (zonal NEG) * projects/project_id/regions/region/networkEndpointGroups/neg_id( regional NEG) * `projects/`project_id`/global/networkEndpointGroups/`neg_id ( global NEG) Corresponds to the JSON property uri

Returns:

  • (String)


2009
2010
2011
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 2009

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2016
2017
2018
2019
2020
2021
2022
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 2016

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