targetServiceAccounts property

List<String>? targetServiceAccounts
getter/setter pair

A list of service accounts indicating sets of instances located in the network that may make network connections as specified in allowed[].

targetServiceAccounts cannot be used at the same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are specified, the firewall rule applies to all instances on the specified network.

Implementation

core.List<core.String>? targetServiceAccounts;