ServiceMetadata
import type { ServiceMetadata } from "https://googleapis.deno.dev/v1/servicecontrol:v2.ts";
Metadata describing the service and additional service specific information used to identify the job or unit of work at hand.
§Properties
Additional metadata provided by service teams to describe service specific job information that was triggered by the original principal.
A string representing the principal_subject associated with the identity.
For most identities, the format will be
principal://iam.googleapis.com/{identity pool name}/subject/{subject)
except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD)
that are still in the legacy format serviceAccount:{identity pool name}[{subject}]
If the identity is a Google account (e.g. workspace user
account or service account), this will be the email of the prefixed by
serviceAccount:
. For example:
serviceAccount:my-service-account@project-1.iam.gserviceaccount.com
. If
the identity is an individual user, the identity will be formatted as:
user:user_ABC@email.com
.