blob: 81bf9d8e2629dd598c38881766f2031499a993e9 [file] [log] [blame]
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -08001<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="youtubereporting_v1.html">YouTube Reporting API</a> . <a href="youtubereporting_v1.jobs.html">jobs</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="youtubereporting_v1.jobs.reports.html">reports()</a></code>
79</p>
80<p class="firstline">Returns the reports Resource.</p>
81
82<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070083 <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070086 <code><a href="#create">create(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -080087<p class="firstline">Creates a job and returns it.</p>
88<p class="toc_element">
89 <code><a href="#delete">delete(jobId, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
90<p class="firstline">Deletes a job.</p>
91<p class="toc_element">
92 <code><a href="#get">get(jobId, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
93<p class="firstline">Gets a job.</p>
94<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080095 <code><a href="#list">list(includeSystemManaged=None, onBehalfOfContentOwner=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -080096<p class="firstline">Lists jobs.</p>
97<p class="toc_element">
98 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
99<p class="firstline">Retrieves the next page of results.</p>
100<h3>Method Details</h3>
101<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700102 <code class="details" id="close">close()</code>
103 <pre>Close httplib2 connections.</pre>
104</div>
105
106<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700107 <code class="details" id="create">create(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800108 <pre>Creates a job and returns it.
109
110Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700111 body: object, The request body.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800112 The object takes the form of:
113
114{ # A job creating reports of a specific type.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800115 &quot;createTime&quot;: &quot;A String&quot;, # The creation date/time of the job.
116 &quot;expireTime&quot;: &quot;A String&quot;, # The date/time when this job will expire/expired. After a job expired, no new reports are generated.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800117 &quot;id&quot;: &quot;A String&quot;, # The server-generated ID of the job (max. 40 characters).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800118 &quot;name&quot;: &quot;A String&quot;, # The name of the job (max. 100 characters).
119 &quot;reportTypeId&quot;: &quot;A String&quot;, # The type of reports this job creates. Corresponds to the ID of a ReportType.
120 &quot;systemManaged&quot;: True or False, # True if this a system-managed job that cannot be modified by the user; otherwise false.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800121}
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800122
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700123 onBehalfOfContentOwner: string, The content owner&#x27;s external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800124 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400125 Allowed values
126 1 - v1 error format
127 2 - v2 error format
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800128
129Returns:
130 An object of the form:
131
132 { # A job creating reports of a specific type.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800133 &quot;createTime&quot;: &quot;A String&quot;, # The creation date/time of the job.
134 &quot;expireTime&quot;: &quot;A String&quot;, # The date/time when this job will expire/expired. After a job expired, no new reports are generated.
135 &quot;id&quot;: &quot;A String&quot;, # The server-generated ID of the job (max. 40 characters).
136 &quot;name&quot;: &quot;A String&quot;, # The name of the job (max. 100 characters).
137 &quot;reportTypeId&quot;: &quot;A String&quot;, # The type of reports this job creates. Corresponds to the ID of a ReportType.
138 &quot;systemManaged&quot;: True or False, # True if this a system-managed job that cannot be modified by the user; otherwise false.
139}</pre>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800140</div>
141
142<div class="method">
143 <code class="details" id="delete">delete(jobId, onBehalfOfContentOwner=None, x__xgafv=None)</code>
144 <pre>Deletes a job.
145
146Args:
147 jobId: string, The ID of the job to delete. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700148 onBehalfOfContentOwner: string, The content owner&#x27;s external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800149 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400150 Allowed values
151 1 - v1 error format
152 2 - v2 error format
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800153
154Returns:
155 An object of the form:
156
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700157 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800158}</pre>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800159</div>
160
161<div class="method">
162 <code class="details" id="get">get(jobId, onBehalfOfContentOwner=None, x__xgafv=None)</code>
163 <pre>Gets a job.
164
165Args:
166 jobId: string, The ID of the job to retrieve. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700167 onBehalfOfContentOwner: string, The content owner&#x27;s external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800168 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400169 Allowed values
170 1 - v1 error format
171 2 - v2 error format
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800172
173Returns:
174 An object of the form:
175
176 { # A job creating reports of a specific type.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800177 &quot;createTime&quot;: &quot;A String&quot;, # The creation date/time of the job.
178 &quot;expireTime&quot;: &quot;A String&quot;, # The date/time when this job will expire/expired. After a job expired, no new reports are generated.
179 &quot;id&quot;: &quot;A String&quot;, # The server-generated ID of the job (max. 40 characters).
180 &quot;name&quot;: &quot;A String&quot;, # The name of the job (max. 100 characters).
181 &quot;reportTypeId&quot;: &quot;A String&quot;, # The type of reports this job creates. Corresponds to the ID of a ReportType.
182 &quot;systemManaged&quot;: True or False, # True if this a system-managed job that cannot be modified by the user; otherwise false.
183}</pre>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800184</div>
185
186<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800187 <code class="details" id="list">list(includeSystemManaged=None, onBehalfOfContentOwner=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800188 <pre>Lists jobs.
189
190Args:
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800191 includeSystemManaged: boolean, If set to true, also system-managed jobs will be returned; otherwise only user-created jobs will be returned. System-managed jobs can neither be modified nor deleted.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800192 onBehalfOfContentOwner: string, The content owner&#x27;s external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).
193 pageSize: integer, Requested page size. Server may return fewer jobs than requested. If unspecified, server will pick an appropriate default.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800194 pageToken: string, A token identifying a page of results the server should return. Typically, this is the value of ListReportTypesResponse.next_page_token returned in response to the previous call to the `ListJobs` method.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800195 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400196 Allowed values
197 1 - v1 error format
198 2 - v2 error format
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800199
200Returns:
201 An object of the form:
202
203 { # Response message for ReportingService.ListJobs.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800204 &quot;jobs&quot;: [ # The list of jobs.
205 { # A job creating reports of a specific type.
206 &quot;createTime&quot;: &quot;A String&quot;, # The creation date/time of the job.
207 &quot;expireTime&quot;: &quot;A String&quot;, # The date/time when this job will expire/expired. After a job expired, no new reports are generated.
208 &quot;id&quot;: &quot;A String&quot;, # The server-generated ID of the job (max. 40 characters).
209 &quot;name&quot;: &quot;A String&quot;, # The name of the job (max. 100 characters).
210 &quot;reportTypeId&quot;: &quot;A String&quot;, # The type of reports this job creates. Corresponds to the ID of a ReportType.
211 &quot;systemManaged&quot;: True or False, # True if this a system-managed job that cannot be modified by the user; otherwise false.
212 },
213 ],
214 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve next page of results. Pass this value in the ListJobsRequest.page_token field in the subsequent call to `ListJobs` method to retrieve the next page of results.
215}</pre>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800216</div>
217
218<div class="method">
219 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
220 <pre>Retrieves the next page of results.
221
222Args:
223 previous_request: The request for the previous page. (required)
224 previous_response: The response from the request for the previous page. (required)
225
226Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700227 A request object that you can call &#x27;execute()&#x27; on to request the next
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800228 page. Returns None if there are no more items in the collection.
229 </pre>
230</div>
231
232</body></html>