Class: Google::Apis::PhotoslibraryV1::ShareAlbumResponse

Inherits:
Object
  • Object
show all
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

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) ⇒ ShareAlbumResponse

Returns a new instance of ShareAlbumResponse



1106
1107
1108
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1106

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

Instance Attribute Details

#share_infoGoogle::Apis::PhotoslibraryV1::ShareInfo

Information about albums that are shared. Note that this information is only included if the album was created by you and you have the sharing scope. Corresponds to the JSON property shareInfo



1104
1105
1106
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1104

def share_info
  @share_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1111
1112
1113
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1111

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