Class VpcAccess (0.10.2)

VpcAccess(mapping=None, *, ignore_unknown_fields=False, **kwargs)

VPC Access settings. For more information on sending traffic to a VPC network, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

Attributes

NameDescription
connector str
VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
egress google.cloud.run_v2.types.VpcAccess.VpcEgress
Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
network_interfaces MutableSequence[google.cloud.run_v2.types.VpcAccess.NetworkInterface]
Direct VPC egress settings. Currently only single network interface is supported.

Classes

NetworkInterface

NetworkInterface(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Direct VPC egress settings.

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.