Class: Google::Apis::AppengineV1beta::VpcAccess

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/appengine_v1beta/classes.rb,
lib/google/apis/appengine_v1beta/representations.rb,
lib/google/apis/appengine_v1beta/representations.rb

Overview

VPC Access settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpcAccess

Returns a new instance of VpcAccess.



3666
3667
3668
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 3666

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

Instance Attribute Details

#network_interfacesArray<Google::Apis::AppengineV1beta::VpcNetworkInterface>

The Direct VPC configuration. Currently only single network interface is supported. Corresponds to the JSON property networkInterfaces



3658
3659
3660
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 3658

def network_interfaces
  @network_interfaces
end

#vpc_egressString

The traffic egress setting for the VPC network interface, controlling what traffic is diverted through it. Corresponds to the JSON property vpcEgress

Returns:

  • (String)


3664
3665
3666
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 3664

def vpc_egress
  @vpc_egress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3671
3672
3673
3674
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 3671

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