VpcAccess(mapping=None, *, ignore_unknown_fields=False, **kwargs)
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
Attributes | |
---|---|
Name | Description |
connector |
str
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. |
egress |
google.cloud.run_v2.types.VpcAccess.VpcEgress
Traffic VPC egress settings. |
Classes
VpcEgress
VpcEgress(value)
Egress options for VPC access.
Values: VPC_EGRESS_UNSPECIFIED (0): Unspecified ALL_TRAFFIC (1): All outbound traffic is routed through the VPC connector. PRIVATE_RANGES_ONLY (2): Only private IP ranges are routed through the VPC connector.