Class: Google::Apis::YoutubePartnerV1::AssetListResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AssetListResponse

Returns a new instance of AssetListResponse.



247
248
249
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 247

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

Instance Attribute Details

#itemsArray<Google::Apis::YoutubePartnerV1::Asset>

A list of asset resources that match the request criteria. Corresponds to the JSON property items



239
240
241
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 239

def items
  @items
end

#kindString

The type of the API response. For this operation, the value is youtubePartner# assetList. Corresponds to the JSON property kind

Returns:

  • (String)


245
246
247
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 245

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



252
253
254
255
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 252

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