Class: Google::Apis::DataformV1beta1::CommitAuthor

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 the author of a Git commit.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommitAuthor

Returns a new instance of CommitAuthor.



494
495
496
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 494

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

Instance Attribute Details

#email_addressString

Required. The commit author's email address. Corresponds to the JSON property emailAddress

Returns:

  • (String)


487
488
489
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 487

def email_address
  @email_address
end

#nameString

Required. The commit author's name. Corresponds to the JSON property name

Returns:

  • (String)


492
493
494
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 492

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



499
500
501
502
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 499

def update!(**args)
  @email_address = args[:email_address] if args.key?(:email_address)
  @name = args[:name] if args.key?(:name)
end