Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy

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

Routing policy information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy.



1923
1924
1925
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1923

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


1921
1922
1923
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1921

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1928
1929
1930
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1928

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