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:
StringThe 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:
StringThe 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:
StringThe 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:
StringThe 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:
StringThe milestone that owns the build. Format: milestones/{milestone}
$msg->build_version()/$msg->build_version($value)Type:
StringThe 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:
StringThe branch of the build.
$msg->rw_firmware_version()/$msg->rw_firmware_version($value)Type:
StringThe firmware version of the software that is flashed to the chip on the Chrome OS device.
$msg->labels()/$msg->labels($value)Type:
StringThe labels of the build.
Enum: Build::BuildStatus
BUILD_STATUS_UNSPECIFIED=>0PASS=>1FAIL=>2RUNNING=>3ABORTED=>4
Enum: Build::BuildType
BUILD_TYPE_UNSPECIFIED=>0RELEASE=>1FIRMWARE=>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:
StringThe 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:
StringThe build metadata of the build artifact.
$msg->bucket()/$msg->bucket($value)Type:
StringThe bucket that stores the build artifact.
$msg->path()/$msg->path($value)Type:
StringThe path of the build artifact in the bucket.
$msg->object_count()/$msg->object_count($value)Type:
UInt32The 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:
StringOutput 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=>0QUEUED=>1PENDING=>2WORKING=>3SUCCEEDED=>4FAILED=>5INTERNAL_ERROR=>6TIMEOUT=>7CANCELLED=>8EXPIRED=>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:
StringIdentifier. The resource name of the session. Format: sessions/{session}
$msg->satlab_id()/$msg->satlab_id($value)Type:
StringOptional. 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:
Int32Optional. 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:
StringOptional. The ResultDB root invocation ID for the session.
$msg->resultdb_work_unit_id()/$msg->resultdb_work_unit_id($value)Type:
StringOptional. The ResultDB work unit ID for the session.
$msg->resultdb_work_unit_update_token()/$msg->resultdb_work_unit_update_token($value)Type:
StringInput 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:
StringOptional. The display name of the test (e.g. dummy_suite, dummy_testplan).
Enum: Session::State
STATE_UNSPECIFIED=>0NEW=>1ASSIGNED=>2RUNNING=>3DONE=>4SUSPENDED=>5
Enum: Session::Result
RESULT_UNSPECIFIED=>0UNKNOWN=>1PASSED=>2FAILED=>3ERRORED=>4TIMED_OUT=>5ABORTED=>6SKIPPED=>7
Enum: Session::Type
TYPE_UNSPECIFIED=>0SUITE=>1TESTPLAN=>2
Google::Chromeos::Moblab::V1beta1::Resources::Timeout
Timeout settings for the test run.
Inherits from Protobuf::Message.
Accessors
$msg->job_timeout()/$msg->job_timeout($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. Max execution time of a job.
$msg->test_timeout()/$msg->test_timeout($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. Max execution time of a single test.
$msg->start_timeout()/$msg->start_timeout($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. Timeout for starting the job and waiting for allocating the first device.
Google::Chromeos::Moblab::V1beta1::Resources::TradefedTest
Configuration for a Tradefed-based test.
Inherits from Protobuf::Message.
Accessors
$msg->command()/$msg->command($value)Type:
StringRequired. 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:
StringIdentifier. The resource name of the test effort. Format: testEfforts/{test_effort}
$msg->test_effort_id()/$msg->test_effort_id($value)Type:
StringOutput only. The ID of the test effort.
$msg->satlab_id()/$msg->satlab_id($value)Type:
StringOptional. 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:
StringRequired. 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:
StringDeprecated: 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:
StringOutput 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:
StringDeprecated: Use android_test_target.target instead. Directly specifies the test target name.
$msg->skip_boot_prerequisite()/$msg->skip_boot_prerequisite($value)Type:
BoolOptional. Option to make boot tests optional.
$msg->static_shard_count()/$msg->static_shard_count($value)Type:
Int32Optional. The number of static shards to use for this test effort.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput 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=>0CREATED=>1INCOMPLETE=>2FAILED=>3UNREPORTED=>4NOT_APPLICABLE=>5SUCCEEDED=>6CANCEL_REQUESTED=>7CANCELLED=>8CANCEL_FAILED=>9QUEUED=>10RUNNING=>11BLOCKED=>12INVESTIGATING=>13
Enum: TestEffort::FirmwareType
FIRMWARE_TYPE_UNSPECIFIED=>0READ_ONLY=>1READ_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.