Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::PullRequest::Branch (v2.2.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.