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

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LoadBalancerBackend

Returns a new instance of LoadBalancerBackend.



908
909
910
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 908

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)


886
887
888
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 886

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>)


891
892
893
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 891

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>)


896
897
898
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 896

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)


901
902
903
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 901

def health_check_firewall_state
  @health_check_firewall_state
end

#uriString

URI of a Compute Engine instance or network endpoint. Corresponds to the JSON property uri

Returns:

  • (String)


906
907
908
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 906

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



913
914
915
916
917
918
919
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 913

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