Google Cloud Dataform V1 Client - Class CreateWorkspaceRequest (0.8.1)

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

CreateWorkspace request message.

Generated from protobuf message google.cloud.dataform.v1.CreateWorkspaceRequest

Namespace

Google \ Cloud \ Dataform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

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

↳ workspace
Workspace

Required. The workspace to create.

↳ workspace_id
string

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 the format projects/*/locations/*/repositories/* .

Returns
Type
Description
string

setParent

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getWorkspace

Required. The workspace to create.

Returns
Type
Description
Workspace |null

hasWorkspace

clearWorkspace

setWorkspace

Required. The workspace to create.

Parameter
Name
Description
var
Returns
Type
Description
$this

getWorkspaceId

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

Returns
Type
Description
string

setWorkspaceId

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

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

workspace
Workspace

Required. The workspace to create.

workspaceId
string

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

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: