Class: Google::Apis::YoutubePartnerV1::ClaimSearchResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ClaimSearchResponse
- 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::ClaimSnippet>
A list of claims that match the request criteria.
-
#kind ⇒ String
The type of the API response.
-
#next_page_token ⇒ String
The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
-
#page_info ⇒ Google::Apis::YoutubePartnerV1::PageInfo
The pageInfo object encapsulates paging information for the result set.
-
#previous_page_token ⇒ String
The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClaimSearchResponse
constructor
A new instance of ClaimSearchResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClaimSearchResponse
Returns a new instance of ClaimSearchResponse
1255 1256 1257 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::YoutubePartnerV1::ClaimSnippet>
A list of claims that match the request criteria.
Corresponds to the JSON property items
1230 1231 1232 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1230 def items @items end |
#kind ⇒ String
The type of the API response. For this operation, the value is youtubePartner#
claimSnippetList.
Corresponds to the JSON property kind
1236 1237 1238 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1236 def kind @kind end |
#next_page_token ⇒ String
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
1242 1243 1244 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1242 def next_page_token @next_page_token end |
#page_info ⇒ Google::Apis::YoutubePartnerV1::PageInfo
The pageInfo object encapsulates paging information for the result set.
Corresponds to the JSON property pageInfo
1247 1248 1249 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1247 def page_info @page_info end |
#previous_page_token ⇒ String
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
1253 1254 1255 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1253 def previous_page_token @previous_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1260 1261 1262 1263 1264 1265 1266 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1260 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 |