Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream

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

Overview

Which upstream resource to forward traffic to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream.



2635
2636
2637
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2635

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

Instance Attribute Details

#egress_policyGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy

Routing policy information. Corresponds to the JSON property egressPolicy



2618
2619
2620
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2618

def egress_policy
  @egress_policy
end

#externalGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamExternal

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



2623
2624
2625
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2623

def external
  @external
end

#networkGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork

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



2628
2629
2630
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2628

def network
  @network
end

#proxy_protocolGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig

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



2633
2634
2635
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2633

def proxy_protocol
  @proxy_protocol
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2640
2641
2642
2643
2644
2645
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2640

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