Resource: Workspace
Represents a Dataform Git workspace.
| JSON representation | 
|---|
|  { 
 "name" 
 : 
 string 
 , 
 "createTime" 
 : 
 string 
 , 
 "dataEncryptionState" 
 : 
 { 
 object (  | 
| Fields | |
|---|---|
| name |   Identifier. The workspace's name. | 
| createTime |   Output only. The timestamp of when the workspace was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| dataEncryptionState |   Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key. | 
| internalMetadata |   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. | 
| Methods | |
|---|---|
|   | Applies a Git commit for uncommitted files in a Workspace. | 
|   | Creates a new Workspace in a given Repository. | 
|   | Deletes a single Workspace. | 
|   | Fetches Git diff for an uncommitted file in a Workspace. | 
|   | Fetches Git statuses for the files in a Workspace. | 
|   | Fetches Git ahead/behind against a remote branch. | 
|   | Fetches a single Workspace. | 
|   | Gets the access control policy for a resource. | 
|   | Installs dependency NPM packages (inside a Workspace). | 
|   | Lists Workspaces in a given Repository. | 
|   | Creates a directory inside a Workspace. | 
|   | Moves a directory (inside a Workspace), and all of its contents, to a new location. | 
|   | Moves a file (inside a Workspace) to a new location. | 
|   | Pulls Git commits from the Repository's remote into a Workspace. | 
|   | Pushes Git commits from a Workspace to the Repository's remote. | 
|   | Returns the contents of a given Workspace directory. | 
|   | Returns the contents of a file (inside a Workspace). | 
|   | Deletes a directory (inside a Workspace) and all of its contents. | 
|   | Deletes a file (inside a Workspace). | 
|   | Performs a Git reset for uncommitted files in a Workspace. | 
|   | Finds the contents of a given Workspace directory by filter. | 
|   | Sets the access control policy on the specified resource. | 
|   | Returns permissions that a caller has on the specified resource. | 
|   | Writes to a file (inside a Workspace). | 

