Google Cloud Dataform V1beta1 Client - Class CreateWorkspaceRequest (0.4.6)

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

CreateWorkspace request message.

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

Namespace

Google \ Cloud \ Dataform \ V1beta1

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