Google Cloud Dataform V1 Client - Class Workspace (0.9.2)

Reference documentation and code samples for the Google Cloud Dataform V1 Client class Workspace.

Represents a Dataform Git workspace.

Generated from protobuf messagegoogle.cloud.dataform.v1.Workspace

Namespace

Google \ Cloud \ Dataform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Identifier. The workspace's name.

↳ create_timeGoogle\Protobuf\Timestamp

Output only. The timestamp of when the workspace was created.

↳ data_encryption_stateDataEncryptionState

Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.

↳ internal_metadatastring

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

getName

Identifier. The workspace's name.

Returns
TypeDescription
string

setName

Identifier. The workspace's name.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getCreateTime

Output only. The timestamp of when the workspace was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp of when the workspace was created.

Parameter
NameDescription
varGoogle\Protobuf\Timestamp
Returns
TypeDescription
$this

getDataEncryptionState

Output only. A data encryption state of a Git repository if this Workspaceis protected by a KMS key.

Returns
TypeDescription
DataEncryptionState|null

hasDataEncryptionState

clearDataEncryptionState

setDataEncryptionState

Output only. A data encryption state of a Git repository if this Workspaceis protected by a KMS key.

Parameter
NameDescription
varDataEncryptionState
Returns
TypeDescription
$this

getInternalMetadata

Output only. All the metadata information that is used internally to servethe resource. For example: timestamps, flags, status fields, etc. Theformat of this field is a JSON string.

Returns
TypeDescription
string

hasInternalMetadata

clearInternalMetadata

setInternalMetadata

Output only. All the metadata information that is used internally to servethe resource. For example: timestamps, flags, status fields, etc. Theformat of this field is a JSON string.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

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.