writerIdentity property
Output only. An IAM identity—a service account or group—under which Cloud
Logging writes the exported log entries to the sink's destination. This
field is set by
google.logging.v2.ConfigServiceV2.CreateSink and
google.logging.v2.ConfigServiceV2.UpdateSink based on the
value of unique_writer_identity in those methods.
Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource. Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.
Sinks that have a destination that is a log bucket in the same project as the sink do not have a writer_identity and no additional permissions are required.
Implementation
@$pb.TagNumber(8)
$core.String get writerIdentity => $_getSZ(4);
Implementation
@$pb.TagNumber(8)
set writerIdentity($core.String value) => $_setString(4, value);