Class: Google::Apis::AppengineV1beta::VpcAccessConnector
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta::VpcAccessConnector
- 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 connector specification.
Instance Attribute Summary collapse
-
#egress_setting ⇒ String
The egress setting for the connector, controlling what traffic is diverted through it.
-
#name ⇒ String
Full Serverless VPC Access Connector name e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpcAccessConnector
constructor
A new instance of VpcAccessConnector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VpcAccessConnector
Returns a new instance of VpcAccessConnector.
3554 3555 3556 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 3554 def initialize(**args) update!(**args) end |
Instance Attribute Details
#egress_setting ⇒ String
The egress setting for the connector, controlling what traffic is diverted
through it.
Corresponds to the JSON property egressSetting
3546 3547 3548 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 3546 def egress_setting @egress_setting end |
#name ⇒ String
Full Serverless VPC Access Connector name e.g. projects/my-project/locations/
us-central1/connectors/c1.
Corresponds to the JSON property name
3552 3553 3554 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 3552 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3559 3560 3561 3562 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 3559 def update!(**args) @egress_setting = args[:egress_setting] if args.key?(:egress_setting) @name = args[:name] if args.key?(:name) end |