Service Client: Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TestEnvironmentDiscoveryServiceClient

Client stub representing the remote TestEnvironmentDiscoveryService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to devtools.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Devtools::Testing::V1::TestEnvironmentDiscovery - Compiled Protocol Buffers messages for google/devtools/testing/v1/test_environment_discovery.proto

SYNOPSIS

use Google::Devtools::Testing::V1::TestEnvironmentDiscovery;

my $msg = Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlock->new({
    block => $block,
    form => $form,
    added_date => $added_date,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlock->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/devtools/testing/v1/test_environment_discovery.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::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlock

A single device IP block

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    An IP address block in CIDR notation eg: 34.68.194.64/29

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

    Type: Enum (Google::Devtools::Testing::V1::DeviceForm)

    Whether this block is used by physical or virtual devices

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

    Type: Message (Google::Type::Date::Date)

    The date this block was added to Firebase Test Lab

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::GetTestEnvironmentCatalogRequest

Request to list the currently supported values for an environment type.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Devtools::Testing::V1::GetTestEnvironmentCatalogRequest::EnvironmentType)

    Required. The type of environment that should be listed.

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

    Type: String

    For authorization, the cloud project requesting the TestEnvironmentCatalog.

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

    Type: Bool

    Optional. Whether to include viewable only models in the response. This is only applicable for Android models.

Enum: GetTestEnvironmentCatalogRequest::EnvironmentType

  • ENVIRONMENT_TYPE_UNSPECIFIED => 0

  • ANDROID => 1

  • IOS => 3

  • NETWORK_CONFIGURATION => 4

  • PROVIDED_SOFTWARE => 5

  • DEVICE_IP_BLOCKS => 6

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TestEnvironmentCatalog

A description of a test environment.

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlockCatalog

List of IP blocks used by the Firebase Test Lab

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidDeviceCatalog

The currently supported Android devices.

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidRuntimeConfiguration

Android configuration that can be selected at the time a test is run.

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidModel

A description of an Android device tests may be run on.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The unique opaque id for this model. Use this for invoking the TestExecutionService.

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

    Type: String

    The human-readable marketing name for this device model. Examples: "Nexus 5", "Galaxy S5".

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

    Type: String

    The manufacturer of this device.

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

    Type: String

    The company that this device is branded with. Example: "Google", "Samsung".

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

    Type: String

    The name of the industrial design. This corresponds to android.os.Build.DEVICE.

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

    Type: Enum (Google::Devtools::Testing::V1::DeviceForm)

    Whether this device is virtual or physical.

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

    Type: Enum (Google::Devtools::Testing::V1::DeviceFormFactor)

    Whether this device is a phone, tablet, wearable, etc.

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

    Type: Message (Google::Devtools::Testing::V1::TestEnvironmentDiscovery::PerAndroidVersionInfo)

    Version-specific information of an Android model.

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

    Type: Int32

    Screen size in the horizontal (X) dimension measured in pixels.

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

    Type: Int32

    Screen size in the vertical (Y) dimension measured in pixels.

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

    Type: Int32

    Screen density in DPI. This corresponds to ro.sf.lcd_density

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

    Type: Bool

    True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config.

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

    Type: String

    The set of Android versions this device supports.

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

    Type: String

    The list of supported ABIs for this device. This corresponds to either android.os.Build.SUPPORTED_ABIS (for API level 21 and above) or android.os.Build.CPU_ABI/CPU_ABI2. The most preferred ABI is the first element in the list.

    Elements are optionally prefixed by "version_id:" (where version_id is the id of an AndroidVersion), denoting an ABI that is supported only on a particular version.

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

    Type: String

    Tags for this dimension. Examples: "default", "preview", "deprecated".

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

    Type: String

    URL of a thumbnail image (photo) of the device.

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

    Type: Message (Google::Devtools::Testing::V1::TestEnvironmentDiscovery::LabInfo)

    Output only. Lab info of this device.

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

    Type: Enum (Google::Devtools::Testing::V1::AndroidModel::AccessDeniedReason)

    Reasons for access denial. This model is accessible if this list is empty, otherwise the model is viewable only.

Enum: AndroidModel::AccessDeniedReason

  • ACCESS_DENIED_REASON_UNSPECIFIED => 0

  • EULA_NOT_ACCEPTED => 1

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidVersion

A version of the Android OS.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    An opaque id for this Android version. Use this id to invoke the TestExecutionService.

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

    Type: String

    A string representing this version of the Android OS. Examples: "4.3", "4.4".

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

    Type: Int32

    The API level for this Android version. Examples: 18, 19.

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

    Type: String

    The code name for this Android version. Examples: "JellyBean", "KitKat".

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

    Type: Message (Google::Type::Date::Date)

    The date this Android version became available in the market.

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

    Type: Message (Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Distribution)

    Market share for this version.

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

    Type: String

    Tags for this dimension. Examples: "default", "preview", "deprecated".

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::PerAndroidVersionInfo

A version-specific information of an Android model.

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DirectAccessVersionInfo

Denotes whether Direct Access is supported, and by which client versions.

DirectAccessService is currently available as a preview to select developers. You can register today on behalf of you and your team at https://developer.android.com/studio/preview/android-device-streaming

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    Whether direct access is supported at all. Clients are expected to filter down the device list to only android models and versions which support Direct Access when that is the user intent.

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

    Type: String

    Output only. Indicates client-device compatibility, where a device is known to work only with certain workarounds implemented in the Android Studio client. Expected format "major.minor.micro.patch", e.g. "5921.22.2211.8881706".

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Distribution

Data about the relative number of devices running a given configuration of the Android platform.

Inherits from Protobuf::Message.

Accessors

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

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

    Output only. The time this distribution was measured.

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

    Type: Double

    Output only. The estimated fraction (0-1) of the total market with this configuration.

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::LabInfo

Lab specific information for a device.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Lab name where the device is hosted. If empty, the device is hosted in a Google owned lab.

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

    Type: String

    The Unicode country/region code (CLDR) of the lab where the device is hosted. E.g. "US" for United States, "CH" for Switzerland.

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosDeviceCatalog

The currently supported iOS devices.

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosRuntimeConfiguration

iOS configuration that can be selected at the time a test is run.

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosModel

A description of an iOS device tests may be run on.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The unique opaque id for this model. Use this for invoking the TestExecutionService.

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

    Type: String

    The human-readable name for this device model. Examples: "iPhone 4s", "iPad Mini 2".

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

    Type: String

    The set of iOS major software versions this device supports.

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

    Type: String

    Tags for this dimension. Examples: "default", "preview", "deprecated".

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

    Type: String

    Device capabilities. Copied from https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html

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

    Type: Int32

    Screen size in the horizontal (X) dimension measured in pixels.

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

    Type: Int32

    Screen size in the vertical (Y) dimension measured in pixels.

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

    Type: Int32

    Screen density in DPI.

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

    Type: Enum (Google::Devtools::Testing::V1::DeviceFormFactor)

    Whether this device is a phone, tablet, wearable, etc.

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

    Type: Message (Google::Devtools::Testing::V1::TestEnvironmentDiscovery::PerIosVersionInfo)

    Version-specific information of an iOS model.

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosVersion

An iOS version.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    An opaque id for this iOS version. Use this id to invoke the TestExecutionService.

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

    Type: Int32

    An integer representing the major iOS version. Examples: "8", "9".

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

    Type: Int32

    An integer representing the minor iOS version. Examples: "1", "2".

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

    Type: String

    Tags for this dimension. Examples: "default", "preview", "deprecated".

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

    Type: String

    The available Xcode versions for this version.

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::PerIosVersionInfo

A version-specific information of an iOS model.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    An iOS version.

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

    Type: Enum (Google::Devtools::Testing::V1::DeviceCapacity)

    The number of online devices for an iOS version.

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Locale

A location/region designation for language.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The id for this locale. Example: "en_US".

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

    Type: String

    A human-friendly name for this language/locale. Example: "English".

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

    Type: String

    A human-friendly string representing the region for this locale. Example: "United States". Not present for every locale.

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

    Type: String

    Tags for this dimension. Example: "default".

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Orientation

Screen orientation of the device.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The id for this orientation. Example: "portrait".

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

    Type: String

    A human-friendly name for this orientation. Example: "portrait".

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

    Type: String

    Tags for this dimension. Example: "default".

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::XcodeVersion

An Xcode version that an iOS version is compatible with.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The id for this version. Example: "9.2".

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

    Type: String

    Tags for this Xcode version. Example: "default".

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfigurationCatalog

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfiguration

Inherits from Protobuf::Message.

Accessors

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TrafficRule

Network emulation parameters.

Inherits from Protobuf::Message.

Accessors

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

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

    Packet delay, must be >= 0.

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

    Type: Float

    Packet loss ratio (0.0 - 1.0).

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

    Type: Float

    Packet duplication ratio (0.0 - 1.0).

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

    Type: Float

    Bandwidth in kbits/second.

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

    Type: Float

    Burst size in kbits.

Google::Devtools::Testing::V1::TestEnvironmentDiscovery::ProvidedSoftwareCatalog

The currently provided software environment on the devices under test.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Deprecated: Use AndroidX Test Orchestrator going forward.

    A string representing the current version of Android Test Orchestrator that is used in the environment. The package is available at https://maven.google.com/web/index.html#com.android.support.test:orchestrator.

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

    Type: String

    A string representing the current version of AndroidX Test Orchestrator that is used in the environment. The package is available at https://maven.google.com/web/index.html#androidx.test:orchestrator.

SEE ALSO

Protobuf, Protobuf::Message, Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.