Class: Google::Apis::YoutubePartnerV1::AssetListResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::AssetListResponse
- 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
-
#items ⇒ Array<Google::Apis::YoutubePartnerV1::Asset>
A list of asset resources that match the request criteria.
-
#kind ⇒ String
The type of the API response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssetListResponse
constructor
A new instance of AssetListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#items ⇒ Array<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 |
#kind ⇒ String
The type of the API response. For this operation, the value is youtubePartner#
assetList.
Corresponds to the JSON property kind
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 |