Class: Google::Apis::PhotoslibraryV1::BatchCreateMediaItemsResponse

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

Returns a new instance of BatchCreateMediaItemsResponse



216
217
218
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 216

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

Instance Attribute Details

#new_media_item_resultsArray<Google::Apis::PhotoslibraryV1::NewMediaItemResult>

[Output only] List of media items which were created. Corresponds to the JSON property newMediaItemResults



214
215
216
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 214

def new_media_item_results
  @new_media_item_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



221
222
223
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 221

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