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

Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::PullRequestComment::Code.

The comment on a code line.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#body

def body() -> ::String
Returns
  • (::String) — Required. The comment body.

#body=

def body=(value) -> ::String
Parameter
  • value (::String) — Required. The comment body.
Returns
  • (::String) — Required. The comment body.

#effective_commit_sha

def effective_commit_sha() -> ::String
Returns
  • (::String) — Output only. The effective commit sha this code comment is pointing to.

#effective_root_comment

def effective_root_comment() -> ::String
Returns
  • (::String) — Output only. The root comment of the conversation, derived from the reply field.

#position

def position() -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Position
Returns

#position=

def position=(value) -> ::Google::Cloud::SecureSourceManager::V1::PullRequestComment::Position
Parameter
Returns

#reply

def reply() -> ::String
Returns
  • (::String) — Optional. Input only. The PullRequestComment resource name that this comment is replying to.

#reply=

def reply=(value) -> ::String
Parameter
  • value (::String) — Optional. Input only. The PullRequestComment resource name that this comment is replying to.
Returns
  • (::String) — Optional. Input only. The PullRequestComment resource name that this comment is replying to.

#resolved

def resolved() -> ::Boolean
Returns
  • (::Boolean) — Output only. Boolean indicator if the comment is resolved.