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 \ V1beta1Methods
__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 |
↳ 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 | |
---|---|
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 |
Google\Cloud\Dataform\V1beta1\Workspace|null |
hasWorkspace
clearWorkspace
setWorkspace
Required. The workspace to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataform\V1beta1\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 |
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 | |
---|---|
Type | Description |
Google\Cloud\Dataform\V1beta1\CreateWorkspaceRequest |