Struct google_api_proto::google::cloud::binaryauthorization::v1::ValidateAttestationOccurrenceRequest
source · pub struct ValidateAttestationOccurrenceRequest {
pub attestor: String,
pub attestation: Option<AttestationOccurrence>,
pub occurrence_note: String,
pub occurrence_resource_uri: String,
}
Expand description
Request message for [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].
Fields§
§attestor: String
Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
[occurrence][grafeas.v1.Occurrence], in the format
projects/*/attestors/*
.
attestation: Option<AttestationOccurrence>
Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.
occurrence_note: String
Required. The resource name of the [Note][grafeas.v1.Note] to which the containing [Occurrence][grafeas.v1.Occurrence] is associated.
occurrence_resource_uri: String
Required. The URI of the artifact (e.g. container image) that is the subject of the containing [Occurrence][grafeas.v1.Occurrence].
Trait Implementations§
source§impl Clone for ValidateAttestationOccurrenceRequest
impl Clone for ValidateAttestationOccurrenceRequest
source§fn clone(&self) -> ValidateAttestationOccurrenceRequest
fn clone(&self) -> ValidateAttestationOccurrenceRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for ValidateAttestationOccurrenceRequest
impl Message for ValidateAttestationOccurrenceRequest
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 ValidateAttestationOccurrenceRequest
impl PartialEq for ValidateAttestationOccurrenceRequest
source§fn eq(&self, other: &ValidateAttestationOccurrenceRequest) -> bool
fn eq(&self, other: &ValidateAttestationOccurrenceRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValidateAttestationOccurrenceRequest
Auto Trait Implementations§
impl !Freeze for ValidateAttestationOccurrenceRequest
impl RefUnwindSafe for ValidateAttestationOccurrenceRequest
impl Send for ValidateAttestationOccurrenceRequest
impl Sync for ValidateAttestationOccurrenceRequest
impl Unpin for ValidateAttestationOccurrenceRequest
impl UnwindSafe for ValidateAttestationOccurrenceRequest
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