Class: Google::Apis::BeyondcorpV1alpha::Egress

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

The details of the egress info. One of the following options should be set.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Egress

Returns a new instance of Egress.



1060
1061
1062
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1060

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

Instance Attribute Details

#peered_vpcGoogle::Apis::BeyondcorpV1alpha::PeeredVpc

The peered VPC owned by the consumer project. Corresponds to the JSON property peeredVpc



1058
1059
1060
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1058

def peered_vpc
  @peered_vpc
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1065
1066
1067
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1065

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