Class: Google::Apis::PhotoslibraryV1::ContributorInfo
- Inherits:
-
Object
- Object
- Google::Apis::PhotoslibraryV1::ContributorInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/photoslibrary_v1/classes.rb,
generated/google/apis/photoslibrary_v1/representations.rb,
generated/google/apis/photoslibrary_v1/representations.rb
Overview
Information about a user who contributed the media item. Note that this information is only included if the album containing the media item is shared, was created by you and you have the sharing scope.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Display name of the contributor.
-
#profile_picture_base_url ⇒ String
URL to the profile picture of the contributor.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContributorInfo
constructor
A new instance of ContributorInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContributorInfo
Returns a new instance of ContributorInfo
287 288 289 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Display name of the contributor.
Corresponds to the JSON property displayName
280 281 282 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 280 def display_name @display_name end |
#profile_picture_base_url ⇒ String
URL to the profile picture of the contributor.
Corresponds to the JSON property profilePictureBaseUrl
285 286 287 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 285 def profile_picture_base_url @profile_picture_base_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
292 293 294 295 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 292 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @profile_picture_base_url = args[:profile_picture_base_url] if args.key?(:profile_picture_base_url) end |