Google Cloud Dataform V1beta1 Client - Class CommitWorkspaceChangesRequest (0.2.3)

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

CommitWorkspaceChanges request message.

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

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.

↳ author Google\Cloud\Dataform\V1beta1\CommitAuthor

Required. The commit's author.

↳ commit_message string

Optional. The commit's message.

↳ paths array

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

getName

Required. The workspace's name.

Returns
TypeDescription
string

setName

Required. The workspace's name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAuthor

Required. The commit's author.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\CommitAuthor|null

hasAuthor

clearAuthor

setAuthor

Required. The commit's author.

Parameter
NameDescription
var Google\Cloud\Dataform\V1beta1\CommitAuthor
Returns
TypeDescription
$this

getCommitMessage

Optional. The commit's message.

Returns
TypeDescription
string

setCommitMessage

Optional. The commit's message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPaths

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPaths

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this