Class: Google::Apis::DataformV1beta1::CommitLogEntry
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::CommitLogEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb
Overview
Represents a single commit log.
Instance Attribute Summary collapse
-
#author ⇒ Google::Apis::DataformV1beta1::CommitAuthor
Represents the author of a Git commit.
-
#commit_message ⇒ String
The commit message for this commit log entry.
-
#commit_sha ⇒ String
The commit SHA for this commit log entry.
-
#commit_time ⇒ String
Commit timestamp.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommitLogEntry
constructor
A new instance of CommitLogEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommitLogEntry
Returns a new instance of CommitLogEntry.
357 358 359 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 357 def initialize(**args) update!(**args) end |
Instance Attribute Details
#author ⇒ Google::Apis::DataformV1beta1::CommitAuthor
Represents the author of a Git commit.
Corresponds to the JSON property author
340 341 342 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 340 def @author end |
#commit_message ⇒ String
The commit message for this commit log entry.
Corresponds to the JSON property commitMessage
345 346 347 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 345 def @commit_message end |
#commit_sha ⇒ String
The commit SHA for this commit log entry.
Corresponds to the JSON property commitSha
350 351 352 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 350 def commit_sha @commit_sha end |
#commit_time ⇒ String
Commit timestamp.
Corresponds to the JSON property commitTime
355 356 357 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 355 def commit_time @commit_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
362 363 364 365 366 367 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 362 def update!(**args) @author = args[:author] if args.key?(:author) @commit_message = args[:commit_message] if args.key?(:commit_message) @commit_sha = args[:commit_sha] if args.key?(:commit_sha) @commit_time = args[:commit_time] if args.key?(:commit_time) end |