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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataform V1beta1 Client - Class CreateWorkspaceRequest (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dataform/latest/V1beta1.CreateWorkspaceRequest)\n- [0.8.0](/php/docs/reference/cloud-dataform/0.8.0/V1beta1.CreateWorkspaceRequest)\n- [0.7.0](/php/docs/reference/cloud-dataform/0.7.0/V1beta1.CreateWorkspaceRequest)\n- [0.6.0](/php/docs/reference/cloud-dataform/0.6.0/V1beta1.CreateWorkspaceRequest)\n- [0.5.1](/php/docs/reference/cloud-dataform/0.5.1/V1beta1.CreateWorkspaceRequest)\n- [0.4.7](/php/docs/reference/cloud-dataform/0.4.7/V1beta1.CreateWorkspaceRequest)\n- [0.3.0](/php/docs/reference/cloud-dataform/0.3.0/V1beta1.CreateWorkspaceRequest)\n- [0.2.3](/php/docs/reference/cloud-dataform/0.2.3/V1beta1.CreateWorkspaceRequest)\n- [0.1.6](/php/docs/reference/cloud-dataform/0.1.6/V1beta1.CreateWorkspaceRequest) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataform V1beta1 Client class CreateWorkspaceRequest.\n\n`CreateWorkspace` request message.\n\nGenerated from protobuf message `google.cloud.dataform.v1beta1.CreateWorkspaceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataform \\\\ V1beta1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The repository in which to create the workspace. Must be in the\nformat `projects/*/locations/*/repositories/*`.\n\n### setParent\n\nRequired. The repository in which to create the workspace. Must be in the\nformat `projects/*/locations/*/repositories/*`.\n\n### getWorkspace\n\nRequired. The workspace to create.\n\n### hasWorkspace\n\n### clearWorkspace\n\n### setWorkspace\n\nRequired. The workspace to create.\n\n### getWorkspaceId\n\nRequired. The ID to use for the workspace, which will become the final\ncomponent of the workspace's resource name.\n\n### setWorkspaceId\n\nRequired. The ID to use for the workspace, which will become the final\ncomponent of the workspace's resource name.\n\n### static::build"]]