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.



2782
2783
2784
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2782

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


2780
2781
2782
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2780

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2787
2788
2789
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2787

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