Class: Google::Apis::AppengineV1::VpcAccessConnector

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

Overview

VPC access connector specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpcAccessConnector

Returns a new instance of VpcAccessConnector.



3286
3287
3288
# File 'lib/google/apis/appengine_v1/classes.rb', line 3286

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

Instance Attribute Details

#egress_settingString

The egress setting for the connector, controlling what traffic is diverted through it. Corresponds to the JSON property egressSetting

Returns:

  • (String)


3278
3279
3280
# File 'lib/google/apis/appengine_v1/classes.rb', line 3278

def egress_setting
  @egress_setting
end

#nameString

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/ us-central1/connectors/c1. Corresponds to the JSON property name

Returns:

  • (String)


3284
3285
3286
# File 'lib/google/apis/appengine_v1/classes.rb', line 3284

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3291
3292
3293
3294
# File 'lib/google/apis/appengine_v1/classes.rb', line 3291

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