Google Cloud Dataform V1beta1 Client - Class CommitWorkspaceChangesRequest (0.4.6)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The workspace's name.

↳ author 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
Type Description
string

setName

Required. The workspace's name.

Parameter
Name Description
var string
Returns
Type Description
$this

getAuthor

Required. The commit's author.

Returns
Type Description
CommitAuthor|null

hasAuthor

clearAuthor

setAuthor

Required. The commit's author.

Parameter
Name Description
var CommitAuthor
Returns
Type Description
$this

getCommitMessage

Optional. The commit's message.

Returns
Type Description
string

setCommitMessage

Optional. The commit's message.

Parameter
Name Description
var string
Returns
Type Description
$this

getPaths

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

Returns
Type Description
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
Name Description
var string[]
Returns
Type Description
$this