Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::SCMCommit.
SCMCommit represents commit metadata.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#author
def author() -> ::String
Returns
- (::String) — The author's display name.
#author=
def author=(value) -> ::String
Parameter
- value (::String) — The author's display name.
Returns
- (::String) — The author's display name.
#author_email
def author_email() -> ::String
Returns
- (::String) — The author's email address.
#author_email=
def author_email=(value) -> ::String
Parameter
- value (::String) — The author's email address.
Returns
- (::String) — The author's email address.
#commit_time
def commit_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Timestamp when the commit was authored.
#commit_time=
def commit_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Timestamp when the commit was authored.
Returns
- (::Google::Protobuf::Timestamp) — Timestamp when the commit was authored.
#message
def message() -> ::String
Returns
- (::String) — Commit message text.
#message=
def message=(value) -> ::String
Parameter
- value (::String) — Commit message text.
Returns
- (::String) — Commit message text.
#sha
def sha() -> ::String
Returns
- (::String) — Full 40-character SCM commit SHA.
#sha=
def sha=(value) -> ::String
Parameter
- value (::String) — Full 40-character SCM commit SHA.
Returns
- (::String) — Full 40-character SCM commit SHA.
#url
def url() -> ::String
Returns
- (::String) — The SCM provider's HTML URL link for this commit.
#url=
def url=(value) -> ::String
Parameter
- value (::String) — The SCM provider's HTML URL link for this commit.
Returns
- (::String) — The SCM provider's HTML URL link for this commit.