Class: Google::Apis::DataformV1beta1::CommitLogEntry

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommitLogEntry

Returns a new instance of CommitLogEntry.



354
355
356
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 354

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#authorGoogle::Apis::DataformV1beta1::CommitAuthor

Represents the author of a Git commit. Corresponds to the JSON property author



337
338
339
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 337

def author
  @author
end

#commit_messageString

The commit message for this commit log entry. Corresponds to the JSON property commitMessage

Returns:

  • (String)


342
343
344
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 342

def commit_message
  @commit_message
end

#commit_shaString

The commit SHA for this commit log entry. Corresponds to the JSON property commitSha

Returns:

  • (String)


347
348
349
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 347

def commit_sha
  @commit_sha
end

#commit_timeString

Commit timestamp. Corresponds to the JSON property commitTime

Returns:

  • (String)


352
353
354
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 352

def commit_time
  @commit_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



359
360
361
362
363
364
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 359

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