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.
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.
A pager for iterating throughlist_device_sessionsrequests.
This class thinly wraps an initialListDeviceSessionsResponseobject, and
provides an__aiter__method to iterate through itsdevice_sessionsfield.
If there are more pages, the__aiter__method will make additionalListDeviceSessionsrequests and continue to iterate
through thedevice_sessionsfield on the
corresponding responses.
All the usualListDeviceSessionsResponseattributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
A pager for iterating throughlist_device_sessionsrequests.
This class thinly wraps an initialListDeviceSessionsResponseobject, and
provides an__iter__method to iterate through itsdevice_sessionsfield.
If there are more pages, the__iter__method will make additionalListDeviceSessionsrequests and continue to iterate
through thedevice_sessionsfield on the
corresponding responses.
All the usualListDeviceSessionsResponseattributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
This message hasoneof_ 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.
This message hasoneof_ 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.
Protobuf message describing the device message, used from
several RPCs.
This message hasoneof_ 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.
This message hasoneof_ 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.
This message hasoneof_ 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Package Classes (0.1.0)\n\nSummary of entries of Classes for google-cloud-devicestreaming. \n\nClasses\n-------\n\n### [DirectAccessServiceAsyncClient](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceAsyncClient)\n\nA service for allocating Android devices and interacting with\nthe live-allocated devices.\n\nEach Session will wait for available capacity, at a higher\npriority over Test Execution. When allocated, the session will\nbe exposed through a stream for integration.\n\nDirectAccessService is currently available as a preview to\nselect developers. You can register today on behalf of you and\nyour team at\n\u003chttps://developer.android.com/studio/preview/android-device-streaming\u003e\n\n### [DirectAccessServiceClient](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.services.direct_access_service.DirectAccessServiceClient)\n\nA service for allocating Android devices and interacting with\nthe live-allocated devices.\n\nEach Session will wait for available capacity, at a higher\npriority over Test Execution. When allocated, the session will\nbe exposed through a stream for integration.\n\nDirectAccessService is currently available as a preview to\nselect developers. You can register today on behalf of you and\nyour team at\n\u003chttps://developer.android.com/studio/preview/android-device-streaming\u003e\n\n### [ListDeviceSessionsAsyncPager](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.services.direct_access_service.pagers.ListDeviceSessionsAsyncPager)\n\nA pager for iterating through `list_device_sessions` requests.\n\nThis class thinly wraps an initial\n[ListDeviceSessionsResponse](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.ListDeviceSessionsResponse) object, and\nprovides an `__aiter__` method to iterate through its\n`device_sessions` field.\n\nIf there are more pages, the `__aiter__` method will make additional\n`ListDeviceSessions` requests and continue to iterate\nthrough the `device_sessions` field on the\ncorresponding responses.\n\nAll the usual [ListDeviceSessionsResponse](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.ListDeviceSessionsResponse)\nattributes are available on the pager. If multiple requests are made, only\nthe most recent response is retained, and thus used for attribute lookup.\n\n### [ListDeviceSessionsPager](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.services.direct_access_service.pagers.ListDeviceSessionsPager)\n\nA pager for iterating through `list_device_sessions` requests.\n\nThis class thinly wraps an initial\n[ListDeviceSessionsResponse](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.ListDeviceSessionsResponse) object, and\nprovides an `__iter__` method to iterate through its\n`device_sessions` field.\n\nIf there are more pages, the `__iter__` method will make additional\n`ListDeviceSessions` requests and continue to iterate\nthrough the `device_sessions` field on the\ncorresponding responses.\n\nAll the usual [ListDeviceSessionsResponse](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.ListDeviceSessionsResponse)\nattributes are available on the pager. If multiple requests are made, only\nthe most recent response is retained, and thus used for attribute lookup.\n\n### [AdbMessage](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.AdbMessage)\n\nA message to an ADB server.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\n### [AndroidDevice](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.AndroidDevice)\n\nA single Android device.\n\n### [CancelDeviceSessionRequest](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.CancelDeviceSessionRequest)\n\nRequest message for DirectAccessService.CancelDeviceSession.\n\n### [Close](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.Close)\n\nMessage signifying that the stream closed.\n\n### [CreateDeviceSessionRequest](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.CreateDeviceSessionRequest)\n\nRequest message for DirectAccessService.CreateDeviceSession.\n\n### [DeviceMessage](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.DeviceMessage)\n\nA message returned from a device.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\n### [DeviceSession](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.DeviceSession)\n\nProtobuf message describing the device message, used from\nseveral RPCs.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\n### [SessionState](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.DeviceSession.SessionState)\n\nThe state that the DeviceSession resides.\n\n### [SessionStateEvent](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.DeviceSession.SessionStateEvent)\n\nA message encapsulating a series of Session states and the\ntime that the DeviceSession first entered those states.\n\n### [Fail](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.Fail)\n\nMessage signifying that the stream failed to open\n\n### [GetDeviceSessionRequest](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.GetDeviceSessionRequest)\n\nRequest message for DirectAccessService.GetDeviceSession.\n\n### [ListDeviceSessionsRequest](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.ListDeviceSessionsRequest)\n\nRequest message for DirectAccessService.ListDeviceSessions.\n\n### [ListDeviceSessionsResponse](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.ListDeviceSessionsResponse)\n\nResponse message for DirectAccessService.ListDeviceSessions.\n\n### [Okay](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.Okay)\n\nMessage signifying that the stream is open\n\n### [Open](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.Open)\n\nMessage for opening a new stream.\n\n### [StatusUpdate](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.StatusUpdate)\n\nA StatusUpdate message given over the ADB protocol for the\ndevice state.\n\n### [DeviceState](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.StatusUpdate.DeviceState)\n\nThe state displayed with the ADB Device when running \"adb\ndevices\"\n\n### [PropertiesEntry](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.StatusUpdate.PropertiesEntry)\n\nThe abstract base class for a message.\n\n### [StreamData](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.StreamData)\n\nData for a stream.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\n### [StreamStatus](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.StreamStatus)\n\nThe result of a stream.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\n### [UpdateDeviceSessionRequest](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.UpdateDeviceSessionRequest)\n\nRequest message for DirectAccessService.UpdateDeviceSession.\n\nModules\n-------\n\n### [pagers](/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.services.direct_access_service.pagers)\n\nAPI documentation for `devicestreaming_v1.services.direct_access_service.pagers` module."]]