Class: Google::Apis::PlusDomainsV1::Media::Author

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_v1/representations.rb

Overview

The person who uploaded this media.

Defined Under Namespace

Classes: Image

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Author


1791
1792
1793
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1791

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

Instance Attribute Details

#display_nameString

The author's name. Corresponds to the JSON property displayName


1774
1775
1776
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1774

def display_name
  @display_name
end

#idString

ID of the author. Corresponds to the JSON property id


1779
1780
1781
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1779

def id
  @id
end

#imageGoogle::Apis::PlusDomainsV1::Media::Author::Image

The author's Google profile image. Corresponds to the JSON property image


1784
1785
1786
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1784

def image
  @image
end

#urlString

A link to the author's Google profile. Corresponds to the JSON property url


1789
1790
1791
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1789

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1796
1797
1798
1799
1800
1801
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1796

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @id = args[:id] if args.key?(:id)
  @image = args[:image] if args.key?(:image)
  @url = args[:url] if args.key?(:url)
end