Class: Google::Apis::YoutubePartnerV1::AssetShareListResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::AssetShareListResponse
- 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::AssetShare>
An assetShare resource that matches 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) ⇒ AssetShareListResponse
constructor
A new instance of AssetShareListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AssetShareListResponse
Returns a new instance of AssetShareListResponse
543 544 545 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 543 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::YoutubePartnerV1::AssetShare>
An assetShare resource that matches the request criteria.
Corresponds to the JSON property items
524 525 526 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 524 def items @items end |
#kind ⇒ String
The type of the API response. For this operation, the value is youtubePartner#
assetShareList.
Corresponds to the JSON property kind
530 531 532 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 530 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
536 537 538 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 536 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
541 542 543 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 541 def page_info @page_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
548 549 550 551 552 553 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 548 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 |