Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::AddGitRepositoryLinkPullRequestReviewCommentRequest.
Request message for AddGitRepositoryLinkPullRequestReviewComment.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#comment
def comment() -> ::Google::Cloud::DeveloperConnect::V1::PullRequestReviewComment
Returns
- (::Google::Cloud::DeveloperConnect::V1::PullRequestReviewComment) — Required. The review comment to add.
#comment=
def comment=(value) -> ::Google::Cloud::DeveloperConnect::V1::PullRequestReviewComment
Parameter
- value (::Google::Cloud::DeveloperConnect::V1::PullRequestReviewComment) — Required. The review comment to add.
Returns
- (::Google::Cloud::DeveloperConnect::V1::PullRequestReviewComment) — Required. The review comment to add.
#commit_id
def commit_id() -> ::String
Returns
- (::String) — Optional. The commit SHA to comment on. If not specified, defaults to the HEAD commit of the Pull Request.
#commit_id=
def commit_id=(value) -> ::String
Parameter
- value (::String) — Optional. The commit SHA to comment on. If not specified, defaults to the HEAD commit of the Pull Request.
Returns
- (::String) — Optional. The commit SHA to comment on. If not specified, defaults to the HEAD commit of the Pull Request.
#name
def name() -> ::String
Returns
-
(::String) — Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
Returns
-
(::String) — Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
#pull_request_id
def pull_request_id() -> ::String
Returns
- (::String) — Required. The ID of the Pull Request.
#pull_request_id=
def pull_request_id=(value) -> ::String
Parameter
- value (::String) — Required. The ID of the Pull Request.
Returns
- (::String) — Required. The ID of the Pull Request.