# Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::UpdatePullRequestRequest (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::UpdatePullRequestRequest.

UpdatePullRequestRequest is the request to update a pull request.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #pull_request

    def pull_request() -> ::Google::Cloud::SecureSourceManager::V1::PullRequest

**Returns**

- ([::Google::Cloud::SecureSourceManager::V1::PullRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-PullRequest)) --- Required. The pull request to update.

### #pull_request=

    def pull_request=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequest

**Parameter**

- **value** ([::Google::Cloud::SecureSourceManager::V1::PullRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-PullRequest)) --- Required. The pull request to update.
**Returns**

- ([::Google::Cloud::SecureSourceManager::V1::PullRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-PullRequest)) --- Required. The pull request to update.

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Protobuf-FieldMask)) --- Optional. Field mask is used to specify the fields to be overwritten in the pull request resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "\*" means full replacement.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Protobuf-FieldMask)) --- Optional. Field mask is used to specify the fields to be overwritten in the pull request resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "\*" means full replacement.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Protobuf-FieldMask)) --- Optional. Field mask is used to specify the fields to be overwritten in the pull request resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "\*" means full replacement.