Google Cloud Dataform V1beta1 Client - Class CommitMetadata (0.3.0)

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

Represents a Dataform Git commit.

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

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ author Google\Cloud\Dataform\V1beta1\CommitAuthor

Required. The commit's author.

↳ commit_message string

Optional. The commit's message.

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