serviceAccount property

  1. @TagNumber(9)
String get serviceAccount

Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger.

The principal who calls this API must have the iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information.

For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. To create Audit Log triggers, the service account should also have the roles/eventarc.eventReceiver IAM role.

Implementation

@$pb.TagNumber(9)
$core.String get serviceAccount => $_getSZ(5);
  1. @TagNumber(9)
set serviceAccount (String v)

Implementation

@$pb.TagNumber(9)
set serviceAccount($core.String v) { $_setString(5, v); }