Google Cloud Dataform V1beta1 Client - Class CreateWorkspaceRequest (0.3.0)

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
NameDescription
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 Google\Cloud\Dataform\V1beta1\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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWorkspace

Required. The workspace to create.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\Workspace|null

hasWorkspace

clearWorkspace

setWorkspace

Required. The workspace to create.

Parameter
NameDescription
var Google\Cloud\Dataform\V1beta1\Workspace
Returns
TypeDescription
$this

getWorkspaceId

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

Returns
TypeDescription
string

setWorkspaceId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

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

workspace Google\Cloud\Dataform\V1beta1\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
TypeDescription
Google\Cloud\Dataform\V1beta1\CreateWorkspaceRequest