NAME

Google::Chromeos::Moblab::V1beta1::Resources - Compiled Protocol Buffers messages for google/chromeos/moblab/v1beta1/resources.proto

SYNOPSIS

use Google::Chromeos::Moblab::V1beta1::Resources;

my $msg = Google::Chromeos::Moblab::V1beta1::Resources::BuildTarget->new({
    name => $name,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Chromeos::Moblab::V1beta1::Resources::BuildTarget->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/chromeos/moblab/v1beta1/resources.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Chromeos::Moblab::V1beta1::Resources::BuildTarget

Resource that represents a build target.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the build target. Format: buildTargets/{build_target}

Google::Chromeos::Moblab::V1beta1::Resources::Model

Resource that represents a model. Each model belongs to a build target. For non-unified build, the model name is the same as its build target name.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the model. Format: buildTargets/{build_target}/models/{model}

Google::Chromeos::Moblab::V1beta1::Resources::Milestone

Resource that represents a chrome OS milestone. -- NEXT_TAG: 2 --

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the milestone. Format: milestones/{milestone}

Google::Chromeos::Moblab::V1beta1::Resources::Build

Resource that represents a build for the given build target, model, milestone and build version.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the build. Format: buildTargets/{build_target}/models/{model}/builds/{build} Example: buildTargets/octopus/models/bobba/builds/1234.0.0

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

    Type: String

    The milestone that owns the build. Format: milestones/{milestone}

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

    Type: String

    The build version of the build, e.g. 1234.0.0.

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

    Type: Enum (Google::Chromeos::Moblab::V1beta1::Build::BuildStatus)

    The status of the build.

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

    Type: Enum (Google::Chromeos::Moblab::V1beta1::Build::BuildType)

    The type of the build.

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

    Type: String

    The branch of the build.

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

    Type: String

    The firmware version of the software that is flashed to the chip on the Chrome OS device.

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

    Type: String

    The labels of the build.

Enum: Build::BuildStatus

  • BUILD_STATUS_UNSPECIFIED => 0

  • PASS => 1

  • FAIL => 2

  • RUNNING => 3

  • ABORTED => 4

Enum: Build::BuildType

  • BUILD_TYPE_UNSPECIFIED => 0

  • RELEASE => 1

  • FIRMWARE => 2

Google::Chromeos::Moblab::V1beta1::Resources::BuildArtifact

Resource that represents a build artifact stored in Google Cloud Storage for the given build target, model, build version and bucket.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the build artifact. Format: buildTargets/{build_target}/models/{model}/builds/{build}/artifacts/{artifact} Example: buildTargets/octopus/models/bobba/builds/1234.0.0/artifacts/chromeos-moblab-peng-staging

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

    Type: String

    The build metadata of the build artifact.

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

    Type: String

    The bucket that stores the build artifact.

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

    Type: String

    The path of the build artifact in the bucket.

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

    Type: UInt32

    The number of objects in the build artifact folder. The object number can be used to calculated the stage progress by comparing the source build artifact with the destination build artifact.

Google::Chromeos::Moblab::V1beta1::Resources::CloudBuild

Cloud build message for staging a build artifact. This message is partially copied from the source proto devtools/cloudbuild/v1/cloudbuild.proto

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Unique identifier of the cloud build.

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

    Type: Enum (Google::Chromeos::Moblab::V1beta1::CloudBuild::State)

    Output only. State of the cloud build.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time at which the request to create the build was received.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time at which execution of the build was started.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time at which execution of the build was finished.

    The difference between finish_time and start_time is the duration of the build's execution.

Enum: CloudBuild::State

  • STATE_UNSPECIFIED => 0

  • QUEUED => 1

  • PENDING => 2

  • WORKING => 3

  • SUCCEEDED => 4

  • FAILED => 5

  • INTERNAL_ERROR => 6

  • TIMEOUT => 7

  • CANCELLED => 8

  • EXPIRED => 9

Google::Chromeos::Moblab::V1beta1::Resources::Session

A session to run on-demand tests.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name of the session. Format: sessions/{session}

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

    Type: String

    Optional. The ID of the Satlab that the request comes from.

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

    Type: Message (Google::Chromeos::Moblab::V1beta1::Resources::Session::DimensionsEntry)

    Required. Input only. The dimensions of the device(s) to run tests on.

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

    Type: Message (Google::Chromeos::Moblab::V1beta1::Resources::Timeout)

    Optional. Input only. The timeout settings for the test run.

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

    Type: Int32

    Optional. Input only. The number of shards to use for the test run.

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

    Type: Message (Google::Chromeos::Moblab::V1beta1::Resources::TradefedTest)

    Input only. A Tradefed-based test.

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

    Type: Enum (Google::Chromeos::Moblab::V1beta1::Session::State)

    Output only. The state of the session.

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

    Type: Enum (Google::Chromeos::Moblab::V1beta1::Session::Result)

    Output only. The result of the session.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time at which the session was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time at which execution of the session was started.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time at which execution of the session was finished.

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

    Type: String

    Optional. The ResultDB root invocation ID for the session.

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

    Type: String

    Optional. The ResultDB work unit ID for the session.

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

    Type: String

    Input only. The ResultDB work unit update token for the session.

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

    Type: Enum (Google::Chromeos::Moblab::V1beta1::Session::Type)

    Optional. The type of the test.

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

    Type: String

    Optional. The display name of the test (e.g. dummy_suite, dummy_testplan).

Enum: Session::State

  • STATE_UNSPECIFIED => 0

  • NEW => 1

  • ASSIGNED => 2

  • RUNNING => 3

  • DONE => 4

  • SUSPENDED => 5

Enum: Session::Result

  • RESULT_UNSPECIFIED => 0

  • UNKNOWN => 1

  • PASSED => 2

  • FAILED => 3

  • ERRORED => 4

  • TIMED_OUT => 5

  • ABORTED => 6

  • SKIPPED => 7

Enum: Session::Type

  • TYPE_UNSPECIFIED => 0

  • SUITE => 1

  • TESTPLAN => 2

Google::Chromeos::Moblab::V1beta1::Resources::Timeout

Timeout settings for the test run.

Inherits from Protobuf::Message.

Accessors

Google::Chromeos::Moblab::V1beta1::Resources::TradefedTest

Configuration for a Tradefed-based test.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The command to run the Tradefed test.

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

    Type: Message (Google::Chromeos::Moblab::V1beta1::Resources::TradefedTest::ShardArgsEntry)

    Optional. Map from shard index to extra arguments to append to the command. The key is the 0-based shard index (i.e. 0, 1, ..., shard_count - 1). If shard_count is 0 or 1, only key 0 is valid.

Google::Chromeos::Moblab::V1beta1::Resources::TestEffort

Summary information for an entire test effort

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name of the test effort. Format: testEfforts/{test_effort}

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

    Type: String

    Output only. The ID of the test effort.

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

    Type: String

    Optional. The satlab ID that the test effort comes from.

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

    Type: Message (Google::Chromeos::Moblab::V1beta1::Resources::TestEffort::BoardModel)

    The board and model of the test effort.

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

    Type: Message (Google::Chromeos::Moblab::V1beta1::Resources::TestEffort::Pool)

    Required. The pools of the test effort.

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

    Type: String

    Required. Test plan reference.

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

    Type: Message (Google::Chromeos::Moblab::V1beta1::Resources::TestEffort::AndroidBuildTarget)

    Test against an Android build.

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

    Type: String

    Deprecated: Use android.target instead. Directly specifies the build target name.

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

    Type: Enum (Google::Chromeos::Moblab::V1beta1::TestEffort::State)

    Output only. Specifies the current state of the test effort.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the test effort was created.

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

    Type: String

    Output only. Testhaus link.

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

    Type: Message (Google::Chromeos::Moblab::V1beta1::Resources::TestEffort::FirmwareConfig)

    Optional. The firmware configuration of the test effort.

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

    Type: Message (Google::Chromeos::Moblab::V1beta1::Resources::TestEffort::AndroidBuildTarget)

    Test against an Android build target.

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

    Type: String

    Deprecated: Use android_test_target.target instead. Directly specifies the test target name.

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

    Type: Bool

    Optional. Option to make boot tests optional.

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

    Type: Int32

    Optional. The number of static shards to use for this test effort.

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

    Type: String

    Output only. Explains the current state in a human-readable sentence in English, for example "Waiting for a lab device" or "Stopped: time limit reached". Intended for display only and its wording may change; use `state` for programmatic decisions.

Enum: TestEffort::State

  • STATE_UNSPECIFIED => 0

  • CREATED => 1

  • INCOMPLETE => 2

  • FAILED => 3

  • UNREPORTED => 4

  • NOT_APPLICABLE => 5

  • SUCCEEDED => 6

  • CANCEL_REQUESTED => 7

  • CANCELLED => 8

  • CANCEL_FAILED => 9

  • QUEUED => 10

  • RUNNING => 11

  • BLOCKED => 12

  • INVESTIGATING => 13

Enum: TestEffort::FirmwareType

  • FIRMWARE_TYPE_UNSPECIFIED => 0

  • READ_ONLY => 1

  • READ_WRITE => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Chromeos::Moblab::V1beta1::Resources::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.