pub struct UserOwnedDrydockNote {
pub note_reference: String,
pub public_keys: Vec<AttestorPublicKey>,
pub delegation_service_account_email: String,
}
Expand description
An [user owned drydock note][google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote] references a Drydock ATTESTATION_AUTHORITY Note created by the user.
Fields§
§note_reference: String
Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
created by the user, in the format: projects/*/notes/*
(or the legacy
providers/*/notes/*
). This field may not be updated.
An attestation by this attestor is stored as a Drydock ATTESTATION_AUTHORITY Occurrence that names a container image and that links to this Note. Drydock 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 UserOwnedDrydockNote
impl Clone for UserOwnedDrydockNote
source§fn clone(&self) -> UserOwnedDrydockNote
fn clone(&self) -> UserOwnedDrydockNote
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserOwnedDrydockNote
impl Debug for UserOwnedDrydockNote
source§impl Default for UserOwnedDrydockNote
impl Default for UserOwnedDrydockNote
source§impl Message for UserOwnedDrydockNote
impl Message for UserOwnedDrydockNote
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 UserOwnedDrydockNote
impl PartialEq for UserOwnedDrydockNote
source§fn eq(&self, other: &UserOwnedDrydockNote) -> bool
fn eq(&self, other: &UserOwnedDrydockNote) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserOwnedDrydockNote
Auto Trait Implementations§
impl Freeze for UserOwnedDrydockNote
impl RefUnwindSafe for UserOwnedDrydockNote
impl Send for UserOwnedDrydockNote
impl Sync for UserOwnedDrydockNote
impl Unpin for UserOwnedDrydockNote
impl UnwindSafe for UserOwnedDrydockNote
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