# Dataform V1beta1 API - Class Google::Cloud::Dataform::V1beta1::FetchGitAheadBehindResponse (v0.15.0)

0.15.0 (latest) 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Dataform V1beta1 API class Google::Cloud::Dataform::V1beta1::FetchGitAheadBehindResponse.

`FetchGitAheadBehind` response message.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #commits_ahead

    def commits_ahead() -> ::Integer

**Returns**

- (::Integer) --- The number of commits in the remote branch that are not in the workspace.

### #commits_ahead=

    def commits_ahead=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of commits in the remote branch that are not in the workspace.
**Returns**

- (::Integer) --- The number of commits in the remote branch that are not in the workspace.

### #commits_behind

    def commits_behind() -> ::Integer

**Returns**

- (::Integer) --- The number of commits in the workspace that are not in the remote branch.

### #commits_behind=

    def commits_behind=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of commits in the workspace that are not in the remote branch.
**Returns**

- (::Integer) --- The number of commits in the workspace that are not in the remote branch.