Google Cloud Dataform V1beta1 Client - Class CreateWorkspaceRequest (0.9.2) Stay organized with collections Save and categorize content based on your preferences.
Beta
This library is covered by thePre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see thelaunch stage descriptions.
Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class CreateWorkspaceRequest.
CreateWorkspace request message.
Generated from protobuf messagegoogle.cloud.dataform.v1beta1.CreateWorkspaceRequest
Namespace
Google \ Cloud \ Dataform \ V1beta1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ parent | stringRequired. The repository in which to create the workspace. Must be in the format |
↳ workspace | WorkspaceRequired. The workspace to create. |
↳ workspace_id | stringRequired. 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 theformatprojects/*/locations/*/repositories/*.
| Returns | |
|---|---|
| Type | Description |
string | |
setParent
Required. The repository in which to create the workspace. Must be in theformatprojects/*/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 finalcomponent of the workspace's resource name.
| Returns | |
|---|---|
| Type | Description |
string | |
setWorkspaceId
Required. The ID to use for the workspace, which will become the finalcomponent of the workspace's resource name.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
static::build
| Parameters | |
|---|---|
| Name | Description |
parent | stringRequired. The repository in which to create the workspace. Must be in theformat |
workspace | WorkspaceRequired. The workspace to create. |
workspaceId | stringRequired. The ID to use for the workspace, which will become the finalcomponent of the workspace's resource name. |
| Returns | |
|---|---|
| Type | Description |
CreateWorkspaceRequest | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-09 UTC.