Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::PullRequestComment.
PullRequestComment represents a comment on a pull request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code
def code() -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Code-
(::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Code) — Optional. The comment on a code line.
Note: The following fields are mutually exclusive:
code,review,comment. If a field in that set is populated, all other fields in the set will automatically be cleared.
#code=
def code=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Code-
value (::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Code) — Optional. The comment on a code line.
Note: The following fields are mutually exclusive:
code,review,comment. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Code) — Optional. The comment on a code line.
Note: The following fields are mutually exclusive:
code,review,comment. If a field in that set is populated, all other fields in the set will automatically be cleared.
#comment
def comment() -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Comment-
(::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Comment) — Optional. The general pull request comment.
Note: The following fields are mutually exclusive:
comment,review,code. If a field in that set is populated, all other fields in the set will automatically be cleared.
#comment=
def comment=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Comment-
value (::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Comment) — Optional. The general pull request comment.
Note: The following fields are mutually exclusive:
comment,review,code. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Comment) — Optional. The general pull request comment.
Note: The following fields are mutually exclusive:
comment,review,code. If a field in that set is populated, all other fields in the set will automatically be cleared.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Creation timestamp.
#name
def name() -> ::String-
(::String) — Identifier. Unique identifier for the pull request comment. The comment id
is generated by the server. Format:
projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}
#name=
def name=(value) -> ::String-
value (::String) — Identifier. Unique identifier for the pull request comment. The comment id
is generated by the server. Format:
projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}
-
(::String) — Identifier. Unique identifier for the pull request comment. The comment id
is generated by the server. Format:
projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}
#review
def review() -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Review-
(::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Review) — Optional. The review summary comment.
Note: The following fields are mutually exclusive:
review,comment,code. If a field in that set is populated, all other fields in the set will automatically be cleared.
#review=
def review=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Review-
value (::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Review) — Optional. The review summary comment.
Note: The following fields are mutually exclusive:
review,comment,code. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Review) — Optional. The review summary comment.
Note: The following fields are mutually exclusive:
review,comment,code. If a field in that set is populated, all other fields in the set will automatically be cleared.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Last updated timestamp.