Package Classes (0.1.0)

Summary of entries of Classes for google-cloud-devicestreaming.

Classes

DirectAccessServiceAsyncClient

A service for allocating Android devices and interacting with the live-allocated devices.

Each Session will wait for available capacity, at a higher priority over Test Execution. When allocated, the session will be exposed through a stream for integration.

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

DirectAccessServiceClient

A service for allocating Android devices and interacting with the live-allocated devices.

Each Session will wait for available capacity, at a higher priority over Test Execution. When allocated, the session will be exposed through a stream for integration.

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

ListDeviceSessionsAsyncPager

A pager for iterating through list_device_sessions requests.

This class thinly wraps an initial ListDeviceSessionsResponse object, and provides an __aiter__ method to iterate through its device_sessions field.

If there are more pages, the __aiter__ method will make additional ListDeviceSessions requests and continue to iterate through the device_sessions field on the corresponding responses.

All the usual ListDeviceSessionsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListDeviceSessionsPager

A pager for iterating through list_device_sessions requests.

This class thinly wraps an initial ListDeviceSessionsResponse object, and provides an __iter__ method to iterate through its device_sessions field.

If there are more pages, the __iter__ method will make additional ListDeviceSessions requests and continue to iterate through the device_sessions field on the corresponding responses.

All the usual ListDeviceSessionsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

AdbMessage

A message to an ADB server.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

AndroidDevice

A single Android device.

CancelDeviceSessionRequest

Request message for DirectAccessService.CancelDeviceSession.

Close

Message signifying that the stream closed.

CreateDeviceSessionRequest

Request message for DirectAccessService.CreateDeviceSession.

DeviceMessage

A message returned from a device.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

DeviceSession

Protobuf message describing the device message, used from several RPCs.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

SessionState

The state that the DeviceSession resides.

SessionStateEvent

A message encapsulating a series of Session states and the time that the DeviceSession first entered those states.

Fail

Message signifying that the stream failed to open

GetDeviceSessionRequest

Request message for DirectAccessService.GetDeviceSession.

ListDeviceSessionsRequest

Request message for DirectAccessService.ListDeviceSessions.

ListDeviceSessionsResponse

Response message for DirectAccessService.ListDeviceSessions.

Okay

Message signifying that the stream is open

Open

Message for opening a new stream.

StatusUpdate

A StatusUpdate message given over the ADB protocol for the device state.

DeviceState

The state displayed with the ADB Device when running "adb devices"

PropertiesEntry

The abstract base class for a message.

StreamData

Data for a stream.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

StreamStatus

The result of a stream.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

UpdateDeviceSessionRequest

Request message for DirectAccessService.UpdateDeviceSession.

Modules

pagers

API documentation for devicestreaming_v1.services.direct_access_service.pagers module.