Google Cloud Dataform V1beta1 Client - Class CommitLogEntry (0.4.0)

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

Represents a single commit log.

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

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ commit_time Google\Protobuf\Timestamp

Commit timestamp.

↳ commit_sha string

The commit SHA for this commit log entry.

↳ author Google\Cloud\Dataform\V1beta1\CommitAuthor

The commit author for this commit log entry.

↳ commit_message string

The commit message for this commit log entry.

getCommitTime

Commit timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCommitTime

clearCommitTime

setCommitTime

Commit timestamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getCommitSha

The commit SHA for this commit log entry.

Returns
TypeDescription
string

setCommitSha

The commit SHA for this commit log entry.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAuthor

The commit author for this commit log entry.

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

hasAuthor

clearAuthor

setAuthor

The commit author for this commit log entry.

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

getCommitMessage

The commit message for this commit log entry.

Returns
TypeDescription
string

setCommitMessage

The commit message for this commit log entry.

Parameter
NameDescription
var string
Returns
TypeDescription
$this