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

Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::PullRequest.

Metadata of a PullRequest. PullRequest is the request from a user to merge a branch (head) into another branch (base).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#base

def base() -> ::Google::Cloud::SecureSourceManager::V1::PullRequest::Branch
Returns

#base=

def base=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequest::Branch
Parameter
Returns

#body

def body() -> ::String
Returns
  • (::String) — Optional. The pull request body. Provides a detailed description of the changes.

#body=

def body=(value) -> ::String
Parameter
  • value (::String) — Optional. The pull request body. Provides a detailed description of the changes.
Returns
  • (::String) — Optional. The pull request body. Provides a detailed description of the changes.

#close_time

def close_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#head

def head() -> ::Google::Cloud::SecureSourceManager::V1::PullRequest::Branch
Returns

#head=

def head=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequest::Branch
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}

#state

def state() -> ::Google::Cloud::SecureSourceManager::V1::PullRequest::State
Returns

#title

def title() -> ::String
Returns
  • (::String) — Required. The pull request title.

#title=

def title=(value) -> ::String
Parameter
  • value (::String) — Required. The pull request title.
Returns
  • (::String) — Required. The pull request title.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns