WorkerPoolPrivateServiceConnect constructor
const
WorkerPoolPrivateServiceConnect({})
Creates a new WorkerPoolPrivateServiceConnect.
networkAttachment Required. Immutable. The network attachment that the worker network interface is connected to. Must be in the format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. The region of network attachment must be the same as the worker pool. See Network Attachments
routeAllTraffic Immutable. Route all traffic through PSC interface. Enable this if you want full control of traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you need to access public Internet. If false, Only route private IPs, e.g. 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 through PSC interface.
Implementation
const WorkerPoolPrivateServiceConnect({
required this.networkAttachment,
this.routeAllTraffic,
});