NAME

Google::Devtools::Resultstore::V2::Invocation - Compiled Protocol Buffers messages for google/devtools/resultstore/v2/invocation.proto

SYNOPSIS

use Google::Devtools::Resultstore::V2::Invocation;

my $msg = Google::Devtools::Resultstore::V2::Invocation::Invocation->new({
    name => $name,
    id => $id,
    status_attributes => $status_attributes,
    timing => $timing,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Devtools::Resultstore::V2::Invocation::Invocation->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/devtools/resultstore/v2/invocation.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Devtools::Resultstore::V2::Invocation::Invocation

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.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name. Its format must be: invocations/${INVOCATION_ID}

  • $msg->id() / $msg->id($value)

    Type: Message (Google::Devtools::Resultstore::V2::Invocation::Invocation::Id)

    The resource ID components that identify the Invocation. They must match the resource name after proper encoding.

  • $msg->status_attributes() / $msg->status_attributes($value)

    Type: Message (Google::Devtools::Resultstore::V2::Common::StatusAttributes)

    The aggregate status of the invocation.

  • $msg->timing() / $msg->timing($value)

    Type: Message (Google::Devtools::Resultstore::V2::Common::Timing)

    When this invocation started and its duration.

  • $msg->invocation_attributes() / $msg->invocation_attributes($value)

    Type: Message (Google::Devtools::Resultstore::V2::Invocation::InvocationAttributes)

    Attributes of this invocation.

  • $msg->workspace_info() / $msg->workspace_info($value)

    Type: Message (Google::Devtools::Resultstore::V2::Invocation::WorkspaceInfo)

    The workspace the tool was run in.

  • $msg->properties() / $msg->properties($value)

    Type: Message (Google::Devtools::Resultstore::V2::Common::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.

  • $msg->files() / $msg->files($value)

    Type: Message (Google::Devtools::Resultstore::V2::File::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.

  • $msg->coverage_summaries() / $msg->coverage_summaries($value)

    Type: Message (Google::Devtools::Resultstore::V2::CoverageSummary::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).

  • $msg->aggregate_coverage() / $msg->aggregate_coverage($value)

    Type: Message (Google::Devtools::Resultstore::V2::Coverage::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).

  • $msg->file_processing_errors() / $msg->file_processing_errors($value)

    Type: Message (Google::Devtools::Resultstore::V2::FileProcessingError::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.

Google::Devtools::Resultstore::V2::Invocation::WorkspaceContext

If known, represents the state of the user/build-system workspace.

Inherits from Protobuf::Message.

Google::Devtools::Resultstore::V2::Invocation::WorkspaceInfo

Describes the workspace under which the tool was invoked, this includes information that was fed into the command, the source code referenced, and the tool itself.

Inherits from Protobuf::Message.

Accessors

  • $msg->workspace_context() / $msg->workspace_context($value)

    Type: Message (Google::Devtools::Resultstore::V2::Invocation::WorkspaceContext)

    Data about the workspace that might be useful for debugging.

  • $msg->hostname() / $msg->hostname($value)

    Type: String

    Where the tool was invoked

  • $msg->working_directory() / $msg->working_directory($value)

    Type: String

    The client's working directory where the build/test was run from.

  • $msg->tool_tag() / $msg->tool_tag($value)

    Type: String

    Tools should set tool_tag to the name of the tool or use case.

  • $msg->command_lines() / $msg->command_lines($value)

    Type: Message (Google::Devtools::Resultstore::V2::Invocation::CommandLine)

    The command lines invoked. The first command line is the one typed by the user, then each one after that should be an expansion of the previous command line.

Google::Devtools::Resultstore::V2::Invocation::CommandLine

The command and arguments that produced this Invocation.

Inherits from Protobuf::Message.

Accessors

  • $msg->label() / $msg->label($value)

    Type: String

    A label describing this command line.

  • $msg->tool() / $msg->tool($value)

    Type: String

    The command-line tool that is run: argv[0].

  • $msg->args() / $msg->args($value)

    Type: String

    The arguments to the above tool: argv[1]...argv[N].

  • $msg->command() / $msg->command($value)

    Type: String

    The subcommand that was run with the tool, usually "build" or "test". For example, in the Bazel command "bazel build //foo", this would be set to "build". Omit if the tool doesn't accept a subcommand. This is must be a reference to one of values in args.

Google::Devtools::Resultstore::V2::Invocation::InvocationAttributes

Attributes that apply to all invocations.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Immutable. The Cloud Project that owns this invocation (this is different than the Consumer Cloud Project that calls this API). This must be set in the CreateInvocation call, and can't be changed. As input, callers can set this field to a project id (string) or a stringified int64 project number. As output, the API populates this field with the stringified int64 project number (per https://google.aip.dev/cloud/2510).

  • $msg->users() / $msg->users($value)

    Type: String

    The list of users in the command chain. The first user in this sequence is the one who instigated the first command in the chain. For example, this might contain just the user that ran a Bazel command, or a robot that tested a change as part of a CI system. It could also contain the user that manually triggered a CI test, then the robot that ran the test.

  • $msg->labels() / $msg->labels($value)

    Type: String

    Labels to categorize this invocation. This is implemented as a set. All labels will be unique. Any duplicate labels added will be ignored. Labels will be returned in lexicographical order. Labels should be a list of words describing the Invocation. Labels should be short, easy to read, and you shouldn't have more than a handful. Labels should not be used for unique properties such as unique IDs. Use properties in cases that don't meet these conditions.

  • $msg->description() / $msg->description($value)

    Type: String

    This field describes the overall context or purpose of this invocation. It will be used in the UI to give users more information about how or why this invocation was run.

  • $msg->invocation_contexts() / $msg->invocation_contexts($value)

    Type: Message (Google::Devtools::Resultstore::V2::Invocation::InvocationContext)

    If this Invocation was run in the context of a larger Continuous Integration build or other automated system, this field may contain more information about the greater context.

  • $msg->exit_code() / $msg->exit_code($value)

    Type: Int32

    Exit code of the process that ran the invocation. A non-zero value means failure. For example, the exit code of a "bazel test" command.

Google::Devtools::Resultstore::V2::Invocation::InvocationContext

Describes the invocation context which includes a display name and URL.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    A human readable name for the context under which this Invocation was run.

  • $msg->url() / $msg->url($value)

    Type: String

    A URL pointing to a UI containing more information

SEE ALSO

Protobuf, Protobuf::Message, Google::Devtools::Resultstore::V2::Invocation::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.