NAME

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

SYNOPSIS

use Google::Devtools::Resultstore::V2::ConfiguredTarget;

my $msg = Google::Devtools::Resultstore::V2::ConfiguredTarget::ConfiguredTarget->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::ConfiguredTarget::ConfiguredTarget->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/devtools/resultstore/v2/configured_target.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::ConfiguredTarget::ConfiguredTarget

Each ConfiguredTarget represents data for a given configuration of a given target in a given Invocation. Every ConfiguredTarget should have at least one Action as a child resource before the invocation is finalized. Refer to the Action's documentation for more info on this.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name. Its format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIG_ID)} where ${CONFIG_ID} must match the ID of an existing Configuration under this Invocation.

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

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

    The resource ID components that identify the ConfiguredTarget. 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 for this configuration of this target. If testing was not requested, set this to the build status (e.g. BUILT or FAILED_TO_BUILD).

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

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

    Captures the start time and duration of this configured target.

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

    Type: Message (Google::Devtools::Resultstore::V2::ConfiguredTarget::ConfiguredTestAttributes)

    Test specific attributes for this ConfiguredTarget.

  • $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 configured target 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.

Google::Devtools::Resultstore::V2::ConfiguredTarget::ConfiguredTestAttributes

Attributes that apply only to test actions under this configured target.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Total number of test runs. For example, in bazel this is specified with --runs_per_test. Zero if runs_per_test is not used.

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

    Type: Int32

    Total number of test shards. Zero if shard count was not specified.

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

    Type: Message (Google::Protobuf::Duration::Duration)

    How long test is allowed to run.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.