Google Cloud Dataform V1beta1 Client - Class ListWorkspacesRequest (0.3.0)

Beta

This library is covered by thePre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see thelaunch stage descriptions.

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

ListWorkspaces request message.

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

Namespace

Google \ Cloud \ Dataform \ V1beta1

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 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 toListWorkspacesmust match the call that provided the page token.

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 toListWorkspacesmust match the call that provided the page token.

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 seeGoogle\Cloud\Dataform\V1beta1\DataformClient::repositoryName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\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.