Class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2VpcAccess
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb
Overview
VPC Access settings. For more information on creating a VPC Connector, visit https://cloud.google.com/vpc/docs/configure-serverless-vpc-access For information on how to configure Cloud Run with an existing VPC Connector, visit https://cloud.google.com/run/docs/configuring/connecting-vpc
Instance Attribute Summary collapse
-
#connector ⇒ String
VPC Access connector name.
-
#egress ⇒ String
Traffic VPC egress settings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2VpcAccess
constructor
A new instance of GoogleCloudRunV2VpcAccess.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2VpcAccess
Returns a new instance of GoogleCloudRunV2VpcAccess.
2357 2358 2359 |
# File 'lib/google/apis/run_v2/classes.rb', line 2357 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connector ⇒ String
VPC Access connector name. Format: projects/project/locations/location/
connectors/connector, where project can be project id or number.
Corresponds to the JSON property connector
2350 2351 2352 |
# File 'lib/google/apis/run_v2/classes.rb', line 2350 def connector @connector end |
#egress ⇒ String
Traffic VPC egress settings.
Corresponds to the JSON property egress
2355 2356 2357 |
# File 'lib/google/apis/run_v2/classes.rb', line 2355 def egress @egress end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2362 2363 2364 2365 |
# File 'lib/google/apis/run_v2/classes.rb', line 2362 def update!(**args) @connector = args[:connector] if args.key?(:connector) @egress = args[:egress] if args.key?(:egress) end |