Google Cloud Dataform V1beta1 Client - Class FetchGitAheadBehindResponse (0.2.3)

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

FetchGitAheadBehind response message.

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

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ commits_ahead int

The number of commits in the remote branch that are not in the workspace.

↳ commits_behind int

The number of commits in the workspace that are not in the remote branch.

getCommitsAhead

The number of commits in the remote branch that are not in the workspace.

Returns
TypeDescription
int

setCommitsAhead

The number of commits in the remote branch that are not in the workspace.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCommitsBehind

The number of commits in the workspace that are not in the remote branch.

Returns
TypeDescription
int

setCommitsBehind

The number of commits in the workspace that are not in the remote branch.

Parameter
NameDescription
var int
Returns
TypeDescription
$this