Google Cloud Dataform V1 Client - Class ListWorkspacesRequest (0.9.1)

Reference documentation and code samples for the Google Cloud Dataform V1 Client class ListWorkspacesRequest.

ListWorkspaces request message.

Generated from protobuf messagegoogle.cloud.dataform.v1.ListWorkspacesRequest

Namespace

Google \ Cloud \ Dataform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

Required. The repository in which to list workspaces. Must be in the formatprojects/*/locations/*/repositories/*.

↳ page_sizeint

Optional. Maximum number of workspaces to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

↳ page_tokenstring

Optional. Page token received from a previousListWorkspaces call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListWorkspaces, with the exception ofpage_size, must match the call that provided the page token.

↳ order_bystring

Optional. This field only supports ordering byname. If unspecified, the server will choose the ordering. If specified, the default order is ascending for thename field.

↳ filterstring

Optional. Filter for the returned list.

getParent

Required. The repository in which to list workspaces. Must be in theformatprojects/*/locations/*/repositories/*.

Returns
TypeDescription
string

setParent

Required. The repository in which to list workspaces. Must be in theformatprojects/*/locations/*/repositories/*.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getPageSize

Optional. Maximum number of workspaces to return. The server may returnfewer items than requested. If unspecified, the server will pick anappropriate default.

Returns
TypeDescription
int

setPageSize

Optional. Maximum number of workspaces to return. The server may returnfewer items than requested. If unspecified, the server will pick anappropriate default.

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getPageToken

Optional. Page token received from a previousListWorkspaces call.

Provide this to retrieve the subsequent page.When paginating, all other parameters provided toListWorkspaces, withthe exception ofpage_size, must match the call that provided the pagetoken.

Returns
TypeDescription
string

setPageToken

Optional. Page token received from a previousListWorkspaces call.

Provide this to retrieve the subsequent page.When paginating, all other parameters provided toListWorkspaces, withthe exception ofpage_size, must match the call that provided the pagetoken.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getOrderBy

Optional. This field only supports ordering byname. If unspecified, theserver will choose the ordering. If specified, the default order isascending for thename field.

Returns
TypeDescription
string

setOrderBy

Optional. This field only supports ordering byname. If unspecified, theserver will choose the ordering. If specified, the default order isascending for thename field.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getFilter

Optional. Filter for the returned list.

Returns
TypeDescription
string

setFilter

Optional. Filter for the returned list.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parentstring

Required. The repository in which to list workspaces. Must be in theformatprojects/*/locations/*/repositories/*. Please seeDataformClient::repositoryName() for help formatting this field.

Returns
TypeDescription
ListWorkspacesRequest

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-09 UTC.