Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::PullRequestComment (v2.2.0)

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
Returns

#code=

def code=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Code
Parameter
Returns

#comment

def comment() -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Comment
Returns

#comment=

def comment=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Comment
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#name

def name() -> ::String
Returns
  • (::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
Parameter
  • 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}
Returns
  • (::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
Returns

#review=

def review=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Review
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns