Reference documentation and code samples for the Google Cloud Dataform V1 Client class Workspace.
Represents a Dataform Git workspace.
Generated from protobuf message google.cloud.dataform.v1.Workspace
Namespace
Google \ Cloud \ Dataform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The workspace's name.
↳ create_time
↳ data_encryption_state
DataEncryptionState
Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.
↳ internal_metadata
string
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.
↳ disable_moves
bool
Optional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted.
↳ private_resource_metadata
PrivateResourceMetadata
Output only. Metadata indicating whether this resource is user-scoped. For Workspace
resources, the user_scoped
field is always true
.
getName
Identifier. The workspace's name.
string
setName
Identifier. The workspace's name.
var
string
$this
getCreateTime
Output only. The timestamp of when the workspace was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp of when the workspace was created.
$this
getDataEncryptionState
Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.
hasDataEncryptionState
clearDataEncryptionState
setDataEncryptionState
Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.
$this
getInternalMetadata
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.
string
hasInternalMetadata
clearInternalMetadata
setInternalMetadata
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.
var
string
$this
getDisableMoves
Optional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted.
bool
hasDisableMoves
clearDisableMoves
setDisableMoves
Optional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted.
var
bool
$this
getPrivateResourceMetadata
Output only. Metadata indicating whether this resource is user-scoped. For Workspace
resources, the user_scoped
field is always true
.
hasPrivateResourceMetadata
clearPrivateResourceMetadata
setPrivateResourceMetadata
Output only. Metadata indicating whether this resource is user-scoped. For Workspace
resources, the user_scoped
field is always true
.
$this

