Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::CreatePullRequestRequest.
CreatePullRequestRequest is the request to create a pull request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The repository that the pull request is created from. Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The repository that the pull request is created from. Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}
Returns
-
(::String) — Required. The repository that the pull request is created from. Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}
#pull_request
def pull_request() -> ::Google::Cloud::SecureSourceManager::V1::PullRequest
Returns
- (::Google::Cloud::SecureSourceManager::V1::PullRequest) — Required. The pull request to create.
#pull_request=
def pull_request=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequest
Parameter
- value (::Google::Cloud::SecureSourceManager::V1::PullRequest) — Required. The pull request to create.
Returns
- (::Google::Cloud::SecureSourceManager::V1::PullRequest) — Required. The pull request to create.