Class: Google::Apis::YoutubePartnerV1::ClaimSearchResponse

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

Returns a new instance of ClaimSearchResponse.



1038
1039
1040
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1038

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

Instance Attribute Details

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

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



1013
1014
1015
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1013

def items
  @items
end

#kindString

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

Returns:

  • (String)


1019
1020
1021
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1019

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 in the result set. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1025
1026
1027
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1025

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



1030
1031
1032
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1030

def page_info
  @page_info
end

#previous_page_tokenString

The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. Corresponds to the JSON property previousPageToken

Returns:

  • (String)


1036
1037
1038
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1036

def previous_page_token
  @previous_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1043
1044
1045
1046
1047
1048
1049
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1043

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)
  @previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token)
end