Class: Google::Apis::YoutubePartnerV1::AssetRelationshipListResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::AssetRelationshipListResponse
- 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::AssetRelationship>
A list of assetRelationship resources 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 of results.
-
#page_info ⇒ Google::Apis::YoutubePartnerV1::PageInfo
The pageInfo object encapsulates paging information for the result set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssetRelationshipListResponse
constructor
A new instance of AssetRelationshipListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AssetRelationshipListResponse
Returns a new instance of AssetRelationshipListResponse.
358 359 360 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 358 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::YoutubePartnerV1::AssetRelationship>
A list of assetRelationship resources that match the request criteria.
Corresponds to the JSON property items
339 340 341 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 339 def items @items end |
#kind ⇒ String
The type of the API response. For this operation, the value is youtubePartner#
assetRelationshipList.
Corresponds to the JSON property kind
345 346 347 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 345 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 of results.
Corresponds to the JSON property nextPageToken
351 352 353 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 351 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
356 357 358 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 356 def page_info @page_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
363 364 365 366 367 368 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 363 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 |