Google Cloud Dataform V1beta1 Client - Class CreateWorkspaceRequest (0.4.7)

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 CreateWorkspaceRequest.

CreateWorkspace request message.

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

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 create the workspace. Must be in the formatprojects/*/locations/*/repositories/*.

↳ workspaceWorkspace

Required. The workspace to create.

↳ workspace_idstring

Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.

getParent

Required. The repository in which to create the workspace. Must be in theformatprojects/*/locations/*/repositories/*.

Returns
TypeDescription
string

setParent

Required. The repository in which to create the workspace. Must be in theformatprojects/*/locations/*/repositories/*.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getWorkspace

Required. The workspace to create.

Returns
TypeDescription
Workspace|null

hasWorkspace

clearWorkspace

setWorkspace

Required. The workspace to create.

Parameter
NameDescription
varWorkspace
Returns
TypeDescription
$this

getWorkspaceId

Required. The ID to use for the workspace, which will become the finalcomponent of the workspace's resource name.

Returns
TypeDescription
string

setWorkspaceId

Required. The ID to use for the workspace, which will become the finalcomponent of the workspace's resource name.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parentstring

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

workspaceWorkspace

Required. The workspace to create.

workspaceIdstring

Required. The ID to use for the workspace, which will become the finalcomponent of the workspace's resource name.

Returns
TypeDescription
CreateWorkspaceRequest

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.