Class: Google::Apis::BeyondcorpV1::Egress

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

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.



633
634
635
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 633

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

Instance Attribute Details

#peered_vpcGoogle::Apis::BeyondcorpV1::PeeredVpc

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



631
632
633
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 631

def peered_vpc
  @peered_vpc
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



638
639
640
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 638

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