Google Cloud Device Streaming V1 Client - Class ListDeviceSessionsRequest (0.1.1)

Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class ListDeviceSessionsRequest.

Request message for DirectAccessService.ListDeviceSessions.

Generated from protobuf message google.cloud.devicestreaming.v1.ListDeviceSessionsRequest

Namespace

Google \ Cloud \ DeviceStreaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the parent to request, e.g. "projects/{project_id}"

↳ page_size int

Optional. The maximum number of DeviceSessions to return.

↳ page_token string

Optional. A continuation token for paging.

↳ filter string

Optional. If specified, responses will be filtered by the given filter. Allowed fields are: session_state.

getParent

Required. The name of the parent to request, e.g. "projects/{project_id}"

Returns
Type Description
string

setParent

Required. The name of the parent to request, e.g. "projects/{project_id}"

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of DeviceSessions to return.

Returns
Type Description
int

setPageSize

Optional. The maximum number of DeviceSessions to return.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A continuation token for paging.

Returns
Type Description
string

setPageToken

Optional. A continuation token for paging.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Optional. If specified, responses will be filtered by the given filter.

Allowed fields are: session_state.

Returns
Type Description
string

setFilter

Optional. If specified, responses will be filtered by the given filter.

Allowed fields are: session_state.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The name of the parent to request, e.g. "projects/{project_id}" Please see DirectAccessServiceClient::projectName() for help formatting this field.

Returns
Type Description
ListDeviceSessionsRequest