Google Cloud Dataform V1beta1 Client - Class ResetWorkspaceChangesRequest (0.4.5)

Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class ResetWorkspaceChangesRequest.

ResetWorkspaceChanges request message.

Generated from protobuf message google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The workspace's name.

↳ paths array

Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset.

↳ clean bool

Optional. If set to true, untracked files will be deleted.

getName

Required. The workspace's name.

Returns
Type Description
string

setName

Required. The workspace's name.

Parameter
Name Description
var string
Returns
Type Description
$this

getPaths

Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPaths

Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getClean

Optional. If set to true, untracked files will be deleted.

Returns
Type Description
bool

setClean

Optional. If set to true, untracked files will be deleted.

Parameter
Name Description
var bool
Returns
Type Description
$this