• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="youtubeAnalytics_v1.html">YouTube Analytics API</a> . <a href="youtubeAnalytics_v1.groupItems.html">groupItems</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#delete">delete(id, onBehalfOfContentOwner=None)</a></code></p>
79<p class="firstline">Removes an item from a group.</p>
80<p class="toc_element">
81  <code><a href="#insert">insert(body, onBehalfOfContentOwner=None)</a></code></p>
82<p class="firstline">Creates a group item.</p>
83<p class="toc_element">
84  <code><a href="#list">list(groupId, onBehalfOfContentOwner=None)</a></code></p>
85<p class="firstline">Returns a collection of group items that match the API request parameters.</p>
86<h3>Method Details</h3>
87<div class="method">
88    <code class="details" id="delete">delete(id, onBehalfOfContentOwner=None)</code>
89  <pre>Removes an item from a group.
90
91Args:
92  id: string, The id parameter specifies the YouTube group item ID for the group that is being deleted. (required)
93  onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
94
95The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
96</pre>
97</div>
98
99<div class="method">
100    <code class="details" id="insert">insert(body, onBehalfOfContentOwner=None)</code>
101  <pre>Creates a group item.
102
103Args:
104  body: object, The request body. (required)
105    The object takes the form of:
106
107{
108    "kind": "youtube#groupItem",
109    "etag": "A String",
110    "resource": {
111      "kind": "A String",
112      "id": "A String",
113    },
114    "groupId": "A String",
115    "id": "A String",
116  }
117
118  onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
119
120The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
121
122Returns:
123  An object of the form:
124
125    {
126      "kind": "youtube#groupItem",
127      "etag": "A String",
128      "resource": {
129        "kind": "A String",
130        "id": "A String",
131      },
132      "groupId": "A String",
133      "id": "A String",
134    }</pre>
135</div>
136
137<div class="method">
138    <code class="details" id="list">list(groupId, onBehalfOfContentOwner=None)</code>
139  <pre>Returns a collection of group items that match the API request parameters.
140
141Args:
142  groupId: string, The id parameter specifies the unique ID of the group for which you want to retrieve group items. (required)
143  onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
144
145The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
146
147Returns:
148  An object of the form:
149
150    { # A paginated list of grouList resources returned in response to a youtubeAnalytics.groupApi.list request.
151    "items": [
152      {
153          "kind": "youtube#groupItem",
154          "etag": "A String",
155          "resource": {
156            "kind": "A String",
157            "id": "A String",
158          },
159          "groupId": "A String",
160          "id": "A String",
161        },
162    ],
163    "kind": "youtube#groupItemListResponse",
164    "etag": "A String",
165  }</pre>
166</div>
167
168</body></html>