Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2e27397

Browse files
committedFeb 4, 2025
feat(displayvideo): update the api
#### displayvideo:v3 The following keys were added: - resources.sdfuploadtasks.resources.operations.methods.get (Total Keys: 11) - schemas.SdfUploadTask (Total Keys: 10)
1 parent 4107034 commit 2e27397

File tree

4 files changed

+338
-1
lines changed

4 files changed

+338
-1
lines changed
 

‎docs/dyn/displayvideo_v3.html

+5
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,11 @@ <h2>Instance Methods</h2>
139139
</p>
140140
<p class="firstline">Returns the sdfdownloadtasks Resource.</p>
141141

142+
<p class="toc_element">
143+
<code><a href="displayvideo_v3.sdfuploadtasks.html">sdfuploadtasks()</a></code>
144+
</p>
145+
<p class="firstline">Returns the sdfuploadtasks Resource.</p>
146+
142147
<p class="toc_element">
143148
<code><a href="displayvideo_v3.targetingTypes.html">targetingTypes()</a></code>
144149
</p>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<html><body>
2+
<style>
3+
4+
body, 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+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, 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="displayvideo_v3.html">Display & Video 360 API</a> . <a href="displayvideo_v3.sdfuploadtasks.html">sdfuploadtasks</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="displayvideo_v3.sdfuploadtasks.operations.html">operations()</a></code>
79+
</p>
80+
<p class="firstline">Returns the operations Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="#close">close()</a></code></p>
84+
<p class="firstline">Close httplib2 connections.</p>
85+
<h3>Method Details</h3>
86+
<div class="method">
87+
<code class="details" id="close">close()</code>
88+
<pre>Close httplib2 connections.</pre>
89+
</div>
90+
91+
</body></html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
<html><body>
2+
<style>
3+
4+
body, 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+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, 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="displayvideo_v3.html">Display & Video 360 API</a> . <a href="displayvideo_v3.sdfuploadtasks.html">sdfuploadtasks</a> . <a href="displayvideo_v3.sdfuploadtasks.operations.html">operations</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="get">get(name, x__xgafv=None)</code>
91+
<pre>Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.
92+
93+
Args:
94+
name: string, The name of the operation resource. (required)
95+
x__xgafv: string, V1 error format.
96+
Allowed values
97+
1 - v1 error format
98+
2 - v2 error format
99+
100+
Returns:
101+
An object of the form:
102+
103+
{ # This resource represents a long-running operation that is the result of a network API call.
104+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
105+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
106+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
107+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
108+
{
109+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
110+
},
111+
],
112+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
113+
},
114+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
115+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
116+
},
117+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
118+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
119+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
120+
},
121+
}</pre>
122+
</div>
123+
124+
</body></html>

‎googleapiclient/discovery_cache/documents/displayvideo.v3.json

+118-1
Original file line numberDiff line numberDiff line change
@@ -8613,6 +8613,40 @@
86138613
}
86148614
}
86158615
},
8616+
"sdfuploadtasks": {
8617+
"resources": {
8618+
"operations": {
8619+
"methods": {
8620+
"get": {
8621+
"description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.",
8622+
"flatPath": "v3/sdfuploadtasks/operations/{operationsId}",
8623+
"httpMethod": "GET",
8624+
"id": "displayvideo.sdfuploadtasks.operations.get",
8625+
"parameterOrder": [
8626+
"name"
8627+
],
8628+
"parameters": {
8629+
"name": {
8630+
"description": "The name of the operation resource.",
8631+
"location": "path",
8632+
"pattern": "^sdfuploadtasks/operations/[^/]+$",
8633+
"required": true,
8634+
"type": "string"
8635+
}
8636+
},
8637+
"path": "v3/{+name}",
8638+
"response": {
8639+
"$ref": "Operation"
8640+
},
8641+
"scopes": [
8642+
"https://www.googleapis.com/auth/display-video",
8643+
"https://www.googleapis.com/auth/doubleclickbidmanager"
8644+
]
8645+
}
8646+
}
8647+
}
8648+
}
8649+
},
86168650
"targetingTypes": {
86178651
"resources": {
86188652
"targetingOptions": {
@@ -9222,7 +9256,7 @@
92229256
}
92239257
}
92249258
},
9225-
"revision": "20250124",
9259+
"revision": "20250129",
92269260
"rootUrl": "https://displayvideo.googleapis.com/",
92279261
"schemas": {
92289262
"ActiveViewVideoViewabilityMetricConfig": {
@@ -21115,6 +21149,89 @@ false
2111521149
},
2111621150
"type": "object"
2111721151
},
21152+
"SdfUploadTask": {
21153+
"description": "Type for the response returned by [SdfUploadTaskService.CreateSdfUploadTask].",
21154+
"id": "SdfUploadTask",
21155+
"properties": {
21156+
"resourceName": {
21157+
"description": "A resource name to be used in media.download to Download the script files. Or media.upload to Upload the script files. Resource names have the format `download/sdfuploadtasks/media/{media_id}`.",
21158+
"type": "string"
21159+
}
21160+
},
21161+
"type": "object"
21162+
},
21163+
"SdfUploadTaskMetadata": {
21164+
"description": "Type for the metadata returned by [SdfUploadTaskService.CreateSdfUploadTask].",
21165+
"id": "SdfUploadTaskMetadata",
21166+
"properties": {
21167+
"createTime": {
21168+
"description": "The time when the operation was created.",
21169+
"format": "google-datetime",
21170+
"type": "string"
21171+
},
21172+
"endTime": {
21173+
"description": "The time when execution was completed.",
21174+
"format": "google-datetime",
21175+
"type": "string"
21176+
},
21177+
"version": {
21178+
"description": "The SDF version used to execute this upload task.",
21179+
"enum": [
21180+
"SDF_VERSION_UNSPECIFIED",
21181+
"SDF_VERSION_3_1",
21182+
"SDF_VERSION_4",
21183+
"SDF_VERSION_4_1",
21184+
"SDF_VERSION_4_2",
21185+
"SDF_VERSION_5",
21186+
"SDF_VERSION_5_1",
21187+
"SDF_VERSION_5_2",
21188+
"SDF_VERSION_5_3",
21189+
"SDF_VERSION_5_4",
21190+
"SDF_VERSION_5_5",
21191+
"SDF_VERSION_6",
21192+
"SDF_VERSION_7",
21193+
"SDF_VERSION_7_1",
21194+
"SDF_VERSION_8"
21195+
],
21196+
"enumDeprecated": [
21197+
false,
21198+
true,
21199+
true,
21200+
true,
21201+
true,
21202+
true,
21203+
true,
21204+
true,
21205+
true,
21206+
true,
21207+
true,
21208+
false,
21209+
false,
21210+
false,
21211+
false
21212+
],
21213+
"enumDescriptions": [
21214+
"SDF version value is not specified or is unknown in this version.",
21215+
"SDF version 3.1",
21216+
"SDF version 4",
21217+
"SDF version 4.1",
21218+
"SDF version 4.2",
21219+
"SDF version 5.",
21220+
"SDF version 5.1",
21221+
"SDF version 5.2",
21222+
"SDF version 5.3",
21223+
"SDF version 5.4",
21224+
"SDF version 5.5",
21225+
"SDF version 6",
21226+
"SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.",
21227+
"SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.",
21228+
"SDF version 8. Read the [v8 migration guide](/display-video/api/structured-data-file/v8-migration-guide) before migrating to this version."
21229+
],
21230+
"type": "string"
21231+
}
21232+
},
21233+
"type": "object"
21234+
},
2111821235
"SearchTargetingOptionsRequest": {
2111921236
"description": "Request message for SearchTargetingOptions.",
2112021237
"id": "SearchTargetingOptionsRequest",

0 commit comments

Comments
 (0)
Please sign in to comment.