# Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::PullRequest::Branch (v2.7.0)

2.7.0 (latest) 2.6.1 2.5.0 2.4.0 2.3.0 2.2.1 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.4.0 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::PullRequest::Branch.

Branch represents a branch involved in a pull request.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ref

    def ref() -> ::String

**Returns**

- (::String) --- Required. Name of the branch.

### #ref=

    def ref=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the branch.
**Returns**

- (::String) --- Required. Name of the branch.

### #sha

    def sha() -> ::String

**Returns**

- (::String) --- Output only. The commit at the tip of the branch.