Google Cloud Dataform V1beta1 Client - Class ResetWorkspaceChangesRequest (0.3.0)

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
NameDescription
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
TypeDescription
string

setName

Required. The workspace's name.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this

getClean

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

Returns
TypeDescription
bool

setClean

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this