Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/beyondcorp_v1/classes.rb,
lib/google/apis/beyondcorp_v1/representations.rb,
lib/google/apis/beyondcorp_v1/representations.rb

Overview

Which upstream resource to forward traffic to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream.



1768
1769
1770
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1768

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

Instance Attribute Details

#egress_policyGoogle::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy

Routing policy information. Corresponds to the JSON property egressPolicy



1751
1752
1753
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1751

def egress_policy
  @egress_policy
end

#externalGoogle::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal

Endpoints to forward traffic to. Corresponds to the JSON property external



1756
1757
1758
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1756

def external
  @external
end

#networkGoogle::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork

Network to forward traffic to. Corresponds to the JSON property network



1761
1762
1763
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1761

def network
  @network
end

#proxy_protocolGoogle::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig

The configuration for the proxy. Corresponds to the JSON property proxyProtocol



1766
1767
1768
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1766

def proxy_protocol
  @proxy_protocol
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1773
1774
1775
1776
1777
1778
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1773

def update!(**args)
  @egress_policy = args[:egress_policy] if args.key?(:egress_policy)
  @external = args[:external] if args.key?(:external)
  @network = args[:network] if args.key?(:network)
  @proxy_protocol = args[:proxy_protocol] if args.key?(:proxy_protocol)
end