Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig

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

Message contains the configuration for each supported region for the securityGateway instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig.



2805
2806
2807
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2805

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

Instance Attribute Details

#egress_ip_addressesArray<String>

Output only. External IP addresses that will be used for establishing connection to the egress endpoints. Corresponds to the JSON property egressIpAddresses

Returns:

  • (Array<String>)


2798
2799
2800
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2798

def egress_ip_addresses
  @egress_ip_addresses
end

#regionString

Required. The region where the egress connectivity is required. Corresponds to the JSON property region

Returns:

  • (String)


2803
2804
2805
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2803

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2810
2811
2812
2813
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2810

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