Struct google_api_proto::google::devtools::resultstore::v2::Invocation
source · pub struct Invocation {
pub name: String,
pub id: Option<Id>,
pub status_attributes: Option<StatusAttributes>,
pub timing: Option<Timing>,
pub invocation_attributes: Option<InvocationAttributes>,
pub workspace_info: Option<WorkspaceInfo>,
pub properties: Vec<Property>,
pub files: Vec<File>,
pub coverage_summaries: Vec<LanguageCoverageSummary>,
pub aggregate_coverage: Option<AggregateCoverage>,
pub file_processing_errors: Vec<FileProcessingErrors>,
}
Expand description
An Invocation typically represents the result of running a tool. Each has a unique ID, typically generated by the server. Target resources under each Invocation contain the bulk of the data.
Fields§
§name: String
The resource name. Its format must be: invocations/${INVOCATION_ID}
id: Option<Id>
The resource ID components that identify the Invocation. They must match the resource name after proper encoding.
status_attributes: Option<StatusAttributes>
The aggregate status of the invocation.
timing: Option<Timing>
When this invocation started and its duration.
invocation_attributes: Option<InvocationAttributes>
Attributes of this invocation.
workspace_info: Option<WorkspaceInfo>
The workspace the tool was run in.
properties: Vec<Property>
Arbitrary name-value pairs. This is implemented as a multi-map. Multiple properties are allowed with the same key. Properties will be returned in lexicographical order by key.
files: Vec<File>
A list of file references for invocation level files. The file IDs must be unique within this list. Duplicate file IDs will result in an error. Files will be returned in lexicographical order by ID. Use this field to specify build logs, and other invocation level logs.
Files with the following reserved file IDs cause specific post-processing or have special handling. These files must be immediately available to ResultStore for processing when the reference is uploaded.
build.log: The primary log for the Invocation. coverage_report.lcov: Aggregate coverage report for the invocation.
coverage_summaries: Vec<LanguageCoverageSummary>
Summary of aggregate coverage across all Actions in this Invocation. If missing, this data will be populated by the server from the coverage_report.lcov file or the union of all ActionCoverages under this invocation (in that order).
aggregate_coverage: Option<AggregateCoverage>
Aggregate code coverage for all build and test Actions within this Invocation. If missing, this data will be populated by the server from the coverage_report.lcov file or the union of all ActionCoverages under this invocation (in that order).
file_processing_errors: Vec<FileProcessingErrors>
NOT IMPLEMENTED. ResultStore will read and parse Files with reserved IDs listed above. Read and parse errors for all these Files are reported here. This is implemented as a map, with one FileProcessingErrors for each file. Typically produced when parsing Files, but may also be provided directly by clients.
Trait Implementations§
source§impl Clone for Invocation
impl Clone for Invocation
source§fn clone(&self) -> Invocation
fn clone(&self) -> Invocation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Invocation
impl Debug for Invocation
source§impl Default for Invocation
impl Default for Invocation
source§impl Message for Invocation
impl Message for Invocation
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 Invocation
impl PartialEq for Invocation
source§fn eq(&self, other: &Invocation) -> bool
fn eq(&self, other: &Invocation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Invocation
Auto Trait Implementations§
impl Freeze for Invocation
impl RefUnwindSafe for Invocation
impl Send for Invocation
impl Sync for Invocation
impl Unpin for Invocation
impl UnwindSafe for Invocation
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