Class: Google::Apis::DataformV1beta1::CommitAuthor
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::CommitAuthor
- 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 the author of a Git commit.
Instance Attribute Summary collapse
-
#email_address ⇒ String
Required.
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommitAuthor
constructor
A new instance of CommitAuthor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommitAuthor
Returns a new instance of CommitAuthor.
319 320 321 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 319 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email_address ⇒ String
Required. The commit author's email address.
Corresponds to the JSON property emailAddress
312 313 314 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 312 def email_address @email_address end |
#name ⇒ String
Required. The commit author's name.
Corresponds to the JSON property name
317 318 319 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 317 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
324 325 326 327 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 324 def update!(**args) @email_address = args[:email_address] if args.key?(:email_address) @name = args[:name] if args.key?(:name) end |