Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy

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

Routing policy information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy.



2815
2816
2817
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2815

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

Instance Attribute Details

#regionsArray<String>

Required. List of the regions where the application sends traffic. Corresponds to the JSON property regions

Returns:

  • (Array<String>)


2813
2814
2815
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2813

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2820
2821
2822
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2820

def update!(**args)
  @regions = args[:regions] if args.key?(:regions)
end