serviceAccount property

String? serviceAccount
getter/setter pair

The user-managed service account to which to delegate service agent permissions.

You can grant Cloud Storage bucket permissions to this service account instead of to the Transfer Service service agent. Either the service account email (SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com) or the unique ID (123456789012345678901) are accepted. See https://docs.cloud.google.com/storage-transfer/docs/delegate-service-agent-permissions for required permissions.

Optional.

Implementation

core.String? serviceAccount;