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.



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

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

Instance Attribute Details

#egress_policyGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy

Routing policy information. Corresponds to the JSON property egressPolicy



2610
2611
2612
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2610

def egress_policy
  @egress_policy
end

#externalGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamExternal

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



2615
2616
2617
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2615

def external
  @external
end

#networkGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork

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



2620
2621
2622
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2620

def network
  @network
end

#proxy_protocolGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig

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



2625
2626
2627
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2625

def proxy_protocol
  @proxy_protocol
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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