Class: Google::Apis::DataformV1beta1::CommitMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::CommitMetadata
- 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 Dataform Git commit.
Instance Attribute Summary collapse
-
#author ⇒ Google::Apis::DataformV1beta1::CommitAuthor
Represents the author of a Git commit.
-
#commit_message ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommitMetadata
constructor
A new instance of CommitMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommitMetadata
Returns a new instance of CommitMetadata.
381 382 383 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 381 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
374 375 376 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 374 def @author end |
#commit_message ⇒ String
Optional. The commit's message.
Corresponds to the JSON property commitMessage
379 380 381 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 379 def @commit_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
386 387 388 389 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 386 def update!(**args) @author = args[:author] if args.key?(:author) @commit_message = args[:commit_message] if args.key?(:commit_message) end |