Class: Google::Apis::PlusDomainsV1::Media::Author
- Inherits:
-
Object
- Object
- Google::Apis::PlusDomainsV1::Media::Author
- 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
-
#display_name ⇒ String
The author's name.
-
#id ⇒ String
ID of the author.
-
#image ⇒ Google::Apis::PlusDomainsV1::Media::Author::Image
The author's Google profile image.
-
#url ⇒ String
A link to the author's Google profile.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Author
constructor
A new instance of Author.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Author
Returns a new instance of 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_name ⇒ String
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 |
#id ⇒ String
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 |
#image ⇒ Google::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 |
#url ⇒ String
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 |