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:
StringAn 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:
StringFor authorization, the cloud project requesting the TestEnvironmentCatalog.
$msg->include_viewable_models()/$msg->include_viewable_models($value)Type:
BoolOptional. Whether to include viewable only models in the response. This is only applicable for Android models.
Enum: GetTestEnvironmentCatalogRequest::EnvironmentType
ENVIRONMENT_TYPE_UNSPECIFIED=>0ANDROID=>1IOS=>3NETWORK_CONFIGURATION=>4PROVIDED_SOFTWARE=>5DEVICE_IP_BLOCKS=>6
Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TestEnvironmentCatalog
A description of a test environment.
Inherits from Protobuf::Message.
Accessors
$msg->android_device_catalog()/$msg->android_device_catalog($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidDeviceCatalog)Supported Android devices.
$msg->ios_device_catalog()/$msg->ios_device_catalog($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosDeviceCatalog)Supported iOS devices.
$msg->network_configuration_catalog()/$msg->network_configuration_catalog($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfigurationCatalog)Supported network configurations.
$msg->software_catalog()/$msg->software_catalog($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::ProvidedSoftwareCatalog)The software test environment provided by TestExecutionService.
$msg->device_ip_block_catalog()/$msg->device_ip_block_catalog($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlockCatalog)The IP blocks used by devices in the test environment.
Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlockCatalog
List of IP blocks used by the Firebase Test Lab
Inherits from Protobuf::Message.
Accessors
$msg->ip_blocks()/$msg->ip_blocks($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlock)The device IP blocks used by Firebase Test Lab
Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidDeviceCatalog
The currently supported Android devices.
Inherits from Protobuf::Message.
Accessors
$msg->models()/$msg->models($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidModel)The set of supported Android device models.
$msg->versions()/$msg->versions($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidVersion)The set of supported Android OS versions.
$msg->runtime_configuration()/$msg->runtime_configuration($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidRuntimeConfiguration)The set of supported runtime configurations.
Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidRuntimeConfiguration
Android configuration that can be selected at the time a test is run.
Inherits from Protobuf::Message.
Accessors
$msg->locales()/$msg->locales($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Locale)The set of available locales.
$msg->orientations()/$msg->orientations($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Orientation)The set of available orientations.
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:
StringThe unique opaque id for this model. Use this for invoking the TestExecutionService.
$msg->name()/$msg->name($value)Type:
StringThe human-readable marketing name for this device model. Examples: "Nexus 5", "Galaxy S5".
$msg->manufacturer()/$msg->manufacturer($value)Type:
StringThe manufacturer of this device.
$msg->brand()/$msg->brand($value)Type:
StringThe company that this device is branded with. Example: "Google", "Samsung".
$msg->codename()/$msg->codename($value)Type:
StringThe 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:
Int32Screen size in the horizontal (X) dimension measured in pixels.
$msg->screen_y()/$msg->screen_y($value)Type:
Int32Screen size in the vertical (Y) dimension measured in pixels.
$msg->screen_density()/$msg->screen_density($value)Type:
Int32Screen density in DPI. This corresponds to ro.sf.lcd_density
$msg->low_fps_video_recording()/$msg->low_fps_video_recording($value)Type:
BoolTrue 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:
StringThe set of Android versions this device supports.
$msg->supported_abis()/$msg->supported_abis($value)Type:
StringThe 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:
StringTags for this dimension. Examples: "default", "preview", "deprecated".
$msg->thumbnail_url()/$msg->thumbnail_url($value)Type:
StringURL 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=>0EULA_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:
StringAn opaque id for this Android version. Use this id to invoke the TestExecutionService.
$msg->version_string()/$msg->version_string($value)Type:
StringA string representing this version of the Android OS. Examples: "4.3", "4.4".
$msg->api_level()/$msg->api_level($value)Type:
Int32The API level for this Android version. Examples: 18, 19.
$msg->code_name()/$msg->code_name($value)Type:
StringThe 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:
StringTags 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
$msg->version_id()/$msg->version_id($value)Type:
StringAn Android version.
$msg->device_capacity()/$msg->device_capacity($value)Type:
Enum(Google::Devtools::Testing::V1::DeviceCapacity)The number of online devices for an Android version.
$msg->interactive_device_availability_estimate()/$msg->interactive_device_availability_estimate($value)Type:
Message(Google::Protobuf::Duration::Duration)Output only. The estimated wait time for a single interactive device session using Direct Access.
$msg->direct_access_version_info()/$msg->direct_access_version_info($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DirectAccessVersionInfo)Output only. Identifies supported clients for DirectAccess for this Android version.
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:
BoolWhether 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:
StringOutput 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:
DoubleOutput 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:
StringLab 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:
StringThe 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
$msg->models()/$msg->models($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosModel)The set of supported iOS device models.
$msg->versions()/$msg->versions($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosVersion)The set of supported iOS software versions.
$msg->xcode_versions()/$msg->xcode_versions($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::XcodeVersion)The set of supported Xcode versions.
$msg->runtime_configuration()/$msg->runtime_configuration($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosRuntimeConfiguration)The set of supported runtime configurations.
Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosRuntimeConfiguration
iOS configuration that can be selected at the time a test is run.
Inherits from Protobuf::Message.
Accessors
$msg->locales()/$msg->locales($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Locale)The set of available locales.
$msg->orientations()/$msg->orientations($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Orientation)The set of available orientations.
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:
StringThe unique opaque id for this model. Use this for invoking the TestExecutionService.
$msg->name()/$msg->name($value)Type:
StringThe human-readable name for this device model. Examples: "iPhone 4s", "iPad Mini 2".
$msg->supported_version_ids()/$msg->supported_version_ids($value)Type:
StringThe set of iOS major software versions this device supports.
$msg->tags()/$msg->tags($value)Type:
StringTags for this dimension. Examples: "default", "preview", "deprecated".
$msg->device_capabilities()/$msg->device_capabilities($value)Type:
StringDevice capabilities. Copied from https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html
$msg->screen_x()/$msg->screen_x($value)Type:
Int32Screen size in the horizontal (X) dimension measured in pixels.
$msg->screen_y()/$msg->screen_y($value)Type:
Int32Screen size in the vertical (Y) dimension measured in pixels.
$msg->screen_density()/$msg->screen_density($value)Type:
Int32Screen 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:
StringAn opaque id for this iOS version. Use this id to invoke the TestExecutionService.
$msg->major_version()/$msg->major_version($value)Type:
Int32An integer representing the major iOS version. Examples: "8", "9".
$msg->minor_version()/$msg->minor_version($value)Type:
Int32An integer representing the minor iOS version. Examples: "1", "2".
$msg->tags()/$msg->tags($value)Type:
StringTags for this dimension. Examples: "default", "preview", "deprecated".
$msg->supported_xcode_version_ids()/$msg->supported_xcode_version_ids($value)Type:
StringThe 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:
StringAn 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:
StringThe id for this locale. Example: "en_US".
$msg->name()/$msg->name($value)Type:
StringA human-friendly name for this language/locale. Example: "English".
$msg->region()/$msg->region($value)Type:
StringA human-friendly string representing the region for this locale. Example: "United States". Not present for every locale.
$msg->tags()/$msg->tags($value)Type:
StringTags 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:
StringThe id for this orientation. Example: "portrait".
$msg->name()/$msg->name($value)Type:
StringA human-friendly name for this orientation. Example: "portrait".
$msg->tags()/$msg->tags($value)Type:
StringTags 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:
StringThe id for this version. Example: "9.2".
$msg->tags()/$msg->tags($value)Type:
StringTags for this Xcode version. Example: "default".
Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfigurationCatalog
Inherits from Protobuf::Message.
Accessors
$msg->configurations()/$msg->configurations($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfiguration)
Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfiguration
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringThe unique opaque id for this network traffic configuration.
$msg->up_rule()/$msg->up_rule($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TrafficRule)The emulation rule applying to the upload traffic.
$msg->down_rule()/$msg->down_rule($value)Type:
Message(Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TrafficRule)The emulation rule applying to the download traffic.
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:
FloatPacket loss ratio (0.0 - 1.0).
$msg->packet_duplication_ratio()/$msg->packet_duplication_ratio($value)Type:
FloatPacket duplication ratio (0.0 - 1.0).
$msg->bandwidth()/$msg->bandwidth($value)Type:
FloatBandwidth in kbits/second.
$msg->burst()/$msg->burst($value)Type:
FloatBurst 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:
StringDeprecated: 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:
StringA 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.