Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::VpcAccess.
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
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#connector
def connector() -> ::String
Returns
- (::String) — VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
#connector=
def connector=(value) -> ::String
Parameter
- value (::String) — VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
Returns
- (::String) — VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number.
#egress
def egress() -> ::Google::Cloud::Run::V2::VpcAccess::VpcEgress
Returns
- (::Google::Cloud::Run::V2::VpcAccess::VpcEgress) — Traffic VPC egress settings.
#egress=
def egress=(value) -> ::Google::Cloud::Run::V2::VpcAccess::VpcEgress
Parameter
- value (::Google::Cloud::Run::V2::VpcAccess::VpcEgress) — Traffic VPC egress settings.
Returns
- (::Google::Cloud::Run::V2::VpcAccess::VpcEgress) — Traffic VPC egress settings.