Skip to content

Commit 73b86d9

Browse files
feat(ideahub): update the api
#### ideahub:v1alpha The following keys were added: - resources.platforms.resources.properties.resources.topicStates.methods.patch (Total Keys: 14) - schemas.GoogleSearchIdeahubV1alphaTopicState (Total Keys: 5)
1 parent cec376d commit 73b86d9

5 files changed

+184
-5
lines changed

docs/dyn/ideahub_v1alpha.ideas.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ <h3>Method Details</h3>
100100
BLOGGER -
101101
SITEKIT -
102102
creator_platformId: string, Identifies the platform account (blog/site/etc.) for which to fetch Ideas.
103-
filter: string, Filter semantics described below.
103+
filter: string, Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined, as if the `AND` operator was always used. The `OR` operator is currently unsupported. * Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas. If set to false, fetches all except saved ideas. Can&#x27;t be simultaneously used with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can&#x27;t be simultaneously used with `saved(bool)`. The `false` value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)` The length of this field should be no more than 500 characters.
104104
orderBy: string, Order semantics described below.
105105
pageSize: integer, The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will be coerced to 2000.
106106
pageToken: string, Used to fetch next page.

docs/dyn/ideahub_v1alpha.platforms.properties.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ <h2>Instance Methods</h2>
8989
</p>
9090
<p class="firstline">Returns the locales Resource.</p>
9191

92+
<p class="toc_element">
93+
<code><a href="ideahub_v1alpha.platforms.properties.topicStates.html">topicStates()</a></code>
94+
</p>
95+
<p class="firstline">Returns the topicStates Resource.</p>
96+
9297
<p class="toc_element">
9398
<code><a href="#close">close()</a></code></p>
9499
<p class="firstline">Close httplib2 connections.</p>

docs/dyn/ideahub_v1alpha.platforms.properties.ideas.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h3>Method Details</h3>
101101
BLOGGER -
102102
SITEKIT -
103103
creator_platformId: string, Identifies the platform account (blog/site/etc.) for which to fetch Ideas.
104-
filter: string, Filter semantics described below.
104+
filter: string, Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined, as if the `AND` operator was always used. The `OR` operator is currently unsupported. * Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas. If set to false, fetches all except saved ideas. Can&#x27;t be simultaneously used with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can&#x27;t be simultaneously used with `saved(bool)`. The `false` value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)` The length of this field should be no more than 500 characters.
105105
orderBy: string, Order semantics described below.
106106
pageSize: integer, The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will be coerced to 2000.
107107
pageToken: string, Used to fetch next page.
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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="ideahub_v1alpha.html">Idea Hub API</a> . <a href="ideahub_v1alpha.platforms.html">platforms</a> . <a href="ideahub_v1alpha.platforms.properties.html">properties</a> . <a href="ideahub_v1alpha.platforms.properties.topicStates.html">topicStates</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="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Update a topic state resource.</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="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
91+
<pre>Update a topic state resource.
92+
93+
Args:
94+
name: string, Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state} (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # Represents topic state specific to a web property.
99+
&quot;dismissed&quot;: True or False, # Whether the topic is dismissed.
100+
&quot;name&quot;: &quot;A String&quot;, # Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}
101+
&quot;saved&quot;: True or False, # Whether the topic is saved.
102+
}
103+
104+
updateMask: string, The list of fields to be updated.
105+
x__xgafv: string, V1 error format.
106+
Allowed values
107+
1 - v1 error format
108+
2 - v2 error format
109+
110+
Returns:
111+
An object of the form:
112+
113+
{ # Represents topic state specific to a web property.
114+
&quot;dismissed&quot;: True or False, # Whether the topic is dismissed.
115+
&quot;name&quot;: &quot;A String&quot;, # Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}
116+
&quot;saved&quot;: True or False, # Whether the topic is saved.
117+
}</pre>
118+
</div>
119+
120+
</body></html>

googleapiclient/discovery_cache/documents/ideahub.v1alpha.json

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"type": "string"
127127
},
128128
"filter": {
129-
"description": "Filter semantics described below.",
129+
"description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined, as if the `AND` operator was always used. The `OR` operator is currently unsupported. * Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas. If set to false, fetches all except saved ideas. Can't be simultaneously used with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be simultaneously used with `saved(bool)`. The `false` value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)` The length of this field should be no more than 500 characters.",
130130
"location": "query",
131131
"type": "string"
132132
},
@@ -230,7 +230,7 @@
230230
"type": "string"
231231
},
232232
"filter": {
233-
"description": "Filter semantics described below.",
233+
"description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined, as if the `AND` operator was always used. The `OR` operator is currently unsupported. * Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas. If set to false, fetches all except saved ideas. Can't be simultaneously used with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be simultaneously used with `saved(bool)`. The `false` value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)` The length of this field should be no more than 500 characters.",
234234
"location": "query",
235235
"type": "string"
236236
},
@@ -301,13 +301,48 @@
301301
}
302302
}
303303
}
304+
},
305+
"topicStates": {
306+
"methods": {
307+
"patch": {
308+
"description": "Update a topic state resource.",
309+
"flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/topicStates/{topicStatesId}",
310+
"httpMethod": "PATCH",
311+
"id": "ideahub.platforms.properties.topicStates.patch",
312+
"parameterOrder": [
313+
"name"
314+
],
315+
"parameters": {
316+
"name": {
317+
"description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}",
318+
"location": "path",
319+
"pattern": "^platforms/[^/]+/properties/[^/]+/topicStates/[^/]+$",
320+
"required": true,
321+
"type": "string"
322+
},
323+
"updateMask": {
324+
"description": "The list of fields to be updated.",
325+
"format": "google-fieldmask",
326+
"location": "query",
327+
"type": "string"
328+
}
329+
},
330+
"path": "v1alpha/{+name}",
331+
"request": {
332+
"$ref": "GoogleSearchIdeahubV1alphaTopicState"
333+
},
334+
"response": {
335+
"$ref": "GoogleSearchIdeahubV1alphaTopicState"
336+
}
337+
}
338+
}
304339
}
305340
}
306341
}
307342
}
308343
}
309344
},
310-
"revision": "20210614",
345+
"revision": "20210625",
311346
"rootUrl": "https://ideahub.googleapis.com/",
312347
"schemas": {
313348
"GoogleSearchIdeahubV1alphaAvailableLocale": {
@@ -415,6 +450,25 @@
415450
}
416451
},
417452
"type": "object"
453+
},
454+
"GoogleSearchIdeahubV1alphaTopicState": {
455+
"description": "Represents topic state specific to a web property.",
456+
"id": "GoogleSearchIdeahubV1alphaTopicState",
457+
"properties": {
458+
"dismissed": {
459+
"description": "Whether the topic is dismissed.",
460+
"type": "boolean"
461+
},
462+
"name": {
463+
"description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}",
464+
"type": "string"
465+
},
466+
"saved": {
467+
"description": "Whether the topic is saved.",
468+
"type": "boolean"
469+
}
470+
},
471+
"type": "object"
418472
}
419473
},
420474
"servicePath": "",

0 commit comments

Comments
 (0)