Class: Google::Apis::YoutubePartnerV1::AssetSearchResponse

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

Returns a new instance of AssetSearchResponse.



397
398
399
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 397

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

Instance Attribute Details

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

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



378
379
380
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 378

def items
  @items
end

#kindString

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

Returns:

  • (String)


384
385
386
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 384

def kind
  @kind
end

#next_page_tokenString

The token that can be used as the value of the pageToken parameter to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


390
391
392
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 390

def next_page_token
  @next_page_token
end

#page_infoGoogle::Apis::YoutubePartnerV1::PageInfo

The pageInfo object encapsulates paging information for the result set. Corresponds to the JSON property pageInfo



395
396
397
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 395

def page_info
  @page_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



402
403
404
405
406
407
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 402

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