Struct google_api_proto::google::cloud::binaryauthorization::v1::UserOwnedGrafeasNote
source · pub struct UserOwnedGrafeasNote {
pub note_reference: String,
pub public_keys: Vec<AttestorPublicKey>,
pub delegation_service_account_email: String,
}
Expand description
An [user owned Grafeas note][google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote] references a Grafeas Attestation.Authority Note created by the user.
Fields§
§note_reference: String
Required. The Grafeas resource name of a Attestation.Authority Note,
created by the user, in the format: projects/*/notes/*
. This field may
not be updated.
An attestation by this attestor is stored as a Grafeas Attestation.Authority Occurrence that names a container image and that links to this Note. Grafeas is an external dependency.
public_keys: Vec<AttestorPublicKey>
Optional. Public keys that verify attestations signed by this attestor. This field may be updated.
If this field is non-empty, one of the specified public keys must verify that an attestation was signed by this attestor for the image specified in the admission request.
If this field is empty, this attestor always returns that no valid attestations exist.
delegation_service_account_email: String
Output only. This field will contain the service account email address
that this Attestor will use as the principal when querying Container
Analysis. Attestor administrators must grant this service account the
IAM role needed to read attestations from the [note_reference][Note] in
Container Analysis (containeranalysis.notes.occurrences.viewer
).
This email address is fixed for the lifetime of the Attestor, but callers should not make any other assumptions about the service account email; future versions may use an email based on a different naming pattern.
Trait Implementations§
source§impl Clone for UserOwnedGrafeasNote
impl Clone for UserOwnedGrafeasNote
source§fn clone(&self) -> UserOwnedGrafeasNote
fn clone(&self) -> UserOwnedGrafeasNote
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserOwnedGrafeasNote
impl Debug for UserOwnedGrafeasNote
source§impl Default for UserOwnedGrafeasNote
impl Default for UserOwnedGrafeasNote
source§impl Message for UserOwnedGrafeasNote
impl Message for UserOwnedGrafeasNote
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for UserOwnedGrafeasNote
impl PartialEq for UserOwnedGrafeasNote
source§fn eq(&self, other: &UserOwnedGrafeasNote) -> bool
fn eq(&self, other: &UserOwnedGrafeasNote) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserOwnedGrafeasNote
Auto Trait Implementations§
impl Freeze for UserOwnedGrafeasNote
impl RefUnwindSafe for UserOwnedGrafeasNote
impl Send for UserOwnedGrafeasNote
impl Sync for UserOwnedGrafeasNote
impl Unpin for UserOwnedGrafeasNote
impl UnwindSafe for UserOwnedGrafeasNote
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request