Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class UpdatePullRequestRequest.
UpdatePullRequestRequest is the request to update a pull request.
Generated from protobuf message google.cloud.securesourcemanager.v1.UpdatePullRequestRequest
Namespace
Google \ Cloud \ SecureSourceManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ pull_request | PullRequestRequired. The pull request to update. | 
| ↳ update_mask | Google\Protobuf\FieldMaskOptional. 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. | 
getPullRequest
Required. The pull request to update.
| Returns | |
|---|---|
| Type | Description | 
| PullRequest|null | |
hasPullRequest
clearPullRequest
setPullRequest
Required. The pull request to update.
| Parameter | |
|---|---|
| Name | Description | 
| var | PullRequest | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getUpdateMask
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 | |
|---|---|
| Type | Description | 
| Google\Protobuf\FieldMask|null | |
hasUpdateMask
clearUpdateMask
setUpdateMask
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.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Protobuf\FieldMask | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
static::build
| Parameters | |
|---|---|
| Name | Description | 
| pullRequest | PullRequestRequired. The pull request to update. | 
| updateMask | Google\Protobuf\FieldMaskOptional. 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 | |
|---|---|
| Type | Description | 
| UpdatePullRequestRequest | |