/// Returns whether the given Attestation for the given image URI
/// was signed by the given Attestor
Returns whether the given Attestation for the given image URI
was signed by the given Attestor
Returns whether the given Attestation for the given image URI was signed by the given Attestor
pub async fn validate_attestation_occurrence(
            &mut self,
            request: impl tonic::IntoRequest<super::ValidateAttestationOccurrenceRequest>,
        ) -> Result<
            tonic::Response<super::ValidateAttestationOccurrenceResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.binaryauthorization.v1.ValidationHelperV1/ValidateAttestationOccurrence",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn validate_attestation_occurrence ( & mut self , request : impl tonic :: IntoRequest < super :: ValidateAttestationOccurrenceRequest > , ) -> Result < tonic :: Response < super :: ValidateAttestationOccurrenceResponse > , tonic :: Status , > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Returns whether the given Attestation for the given image URI
was signed by the given Attestor
Returns whether the given Attestation for the given image URI was signed by the given Attestor
&mut self
request
impl tonic::IntoRequest<super::ValidateAttestationOccurrenceRequest>