Google Cloud Dataform V1 Client - Class CommitMetadata (0.9.2)

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

Represents a Dataform Git commit.

Generated from protobuf messagegoogle.cloud.dataform.v1.CommitMetadata

Namespace

Google \ Cloud \ Dataform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ authorCommitAuthor

Required. The commit's author.

↳ commit_messagestring

Optional. The commit's message.

getAuthor

Required. The commit's author.

Returns
TypeDescription
CommitAuthor|null

hasAuthor

clearAuthor

setAuthor

Required. The commit's author.

Parameter
NameDescription
varCommitAuthor
Returns
TypeDescription
$this

getCommitMessage

Optional. The commit's message.

Returns
TypeDescription
string

setCommitMessage

Optional. The commit's message.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-09 UTC.