ProjectsDeviceSessionsResource class

Constructors

ProjectsDeviceSessionsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel(CancelDeviceSessionRequest request, String name, {String? $fields}) Future<Empty>
POST /v1/projects/{project_id}/deviceSessions/{device_session_id}:cancel Changes the DeviceSession to state FINISHED and terminates all connections.
create(DeviceSession request, String parent, {String? $fields}) Future<DeviceSession>
POST /v1/projects/{project_id}/deviceSessions
get(String name, {String? $fields}) Future<DeviceSession>
GET /v1/projects/{project_id}/deviceSessions/{device_session_id} Return a DeviceSession, which documents the allocation status and whether the device is allocated.
list(String parent, {String? filter, int? pageSize, String? pageToken, String? $fields}) Future<ListDeviceSessionsResponse>
GET /v1/projects/{project_id}/deviceSessions Lists device Sessions owned by the project user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(DeviceSession request, String name, {String? updateMask, String? $fields}) Future<DeviceSession>
PATCH /v1/projects/{projectId}/deviceSessions/deviceSessionId}:updateDeviceSession Updates the current device session to the fields described by the update_mask.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited