Class: Google::Apis::YoutubePartnerV1::PublisherList
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::PublisherList
- 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::Publisher>
A list of publishers 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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PublisherList
constructor
A new instance of PublisherList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PublisherList
Returns a new instance of PublisherList
2945 2946 2947 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2945 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::YoutubePartnerV1::Publisher>
A list of publishers that match the request criteria.
Corresponds to the JSON property items
2926 2927 2928 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2926 def items @items end |
#kind ⇒ String
The type of the API response. For this operation, the value is youtubePartner#
publisherList.
Corresponds to the JSON property kind
2932 2933 2934 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2932 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
2938 2939 2940 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2938 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
2943 2944 2945 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2943 def page_info @page_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2950 2951 2952 2953 2954 2955 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2950 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 |