Google Cloud Dataform V1beta1 Client - Class CreateWorkspaceRequest (0.1.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

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