Skip to content

Commit 8ebf9d2

Browse files
feat(ideahub): update the api
#### ideahub:v1beta The following keys were added: - resources.platforms.resources.properties.resources.ideaActivities.methods.create (Total Keys: 11) - schemas.GoogleSearchIdeahubV1betaIdeaActivity (Total Keys: 9)
1 parent e850640 commit 8ebf9d2

File tree

4 files changed

+214
-2
lines changed

4 files changed

+214
-2
lines changed

docs/dyn/ideahub_v1beta.platforms.properties.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<h1><a href="ideahub_v1beta.html">Idea Hub API</a> . <a href="ideahub_v1beta.platforms.html">platforms</a> . <a href="ideahub_v1beta.platforms.properties.html">properties</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="ideahub_v1beta.platforms.properties.ideaActivities.html">ideaActivities()</a></code>
79+
</p>
80+
<p class="firstline">Returns the ideaActivities Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="ideahub_v1beta.platforms.properties.ideaStates.html">ideaStates()</a></code>
7984
</p>
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
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_v1beta.html">Idea Hub API</a> . <a href="ideahub_v1beta.platforms.html">platforms</a> . <a href="ideahub_v1beta.platforms.properties.html">properties</a> . <a href="ideahub_v1beta.platforms.properties.ideaActivities.html">ideaActivities</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="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Creates an idea activity entry.</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="create">create(parent, body=None, x__xgafv=None)</code>
91+
<pre>Creates an idea activity entry.
92+
93+
Args:
94+
parent: string, Required. The parent resource where this idea activity will be created. Format: platforms/{platform}/property/{property} (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # An idea activity entry.
99+
&quot;ideas&quot;: [ # The Idea IDs for this entry. If empty, topics should be set.
100+
&quot;A String&quot;,
101+
],
102+
&quot;name&quot;: &quot;A String&quot;, # Unique identifier for the idea activity. The name is ignored when creating an idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}
103+
&quot;topics&quot;: [ # The Topic IDs for this entry. If empty, ideas should be set.
104+
&quot;A String&quot;,
105+
],
106+
&quot;type&quot;: &quot;A String&quot;, # The type of activity performed.
107+
&quot;uri&quot;: &quot;A String&quot;, # The uri the activity relates to.
108+
}
109+
110+
x__xgafv: string, V1 error format.
111+
Allowed values
112+
1 - v1 error format
113+
2 - v2 error format
114+
115+
Returns:
116+
An object of the form:
117+
118+
{ # An idea activity entry.
119+
&quot;ideas&quot;: [ # The Idea IDs for this entry. If empty, topics should be set.
120+
&quot;A String&quot;,
121+
],
122+
&quot;name&quot;: &quot;A String&quot;, # Unique identifier for the idea activity. The name is ignored when creating an idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}
123+
&quot;topics&quot;: [ # The Topic IDs for this entry. If empty, ideas should be set.
124+
&quot;A String&quot;,
125+
],
126+
&quot;type&quot;: &quot;A String&quot;, # The type of activity performed.
127+
&quot;uri&quot;: &quot;A String&quot;, # The uri the activity relates to.
128+
}</pre>
129+
</div>
130+
131+
</body></html>

googleapiclient/discovery_cache/documents/ideahub.v1alpha.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
}
332332
}
333333
},
334-
"revision": "20210903",
334+
"revision": "20210910",
335335
"rootUrl": "https://ideahub.googleapis.com/",
336336
"schemas": {
337337
"GoogleSearchIdeahubV1alphaAvailableLocale": {

googleapiclient/discovery_cache/documents/ideahub.v1beta.json

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,35 @@
100100
"resources": {
101101
"properties": {
102102
"resources": {
103+
"ideaActivities": {
104+
"methods": {
105+
"create": {
106+
"description": "Creates an idea activity entry.",
107+
"flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/ideaActivities",
108+
"httpMethod": "POST",
109+
"id": "ideahub.platforms.properties.ideaActivities.create",
110+
"parameterOrder": [
111+
"parent"
112+
],
113+
"parameters": {
114+
"parent": {
115+
"description": "Required. The parent resource where this idea activity will be created. Format: platforms/{platform}/property/{property}",
116+
"location": "path",
117+
"pattern": "^platforms/[^/]+/properties/[^/]+$",
118+
"required": true,
119+
"type": "string"
120+
}
121+
},
122+
"path": "v1beta/{+parent}/ideaActivities",
123+
"request": {
124+
"$ref": "GoogleSearchIdeahubV1betaIdeaActivity"
125+
},
126+
"response": {
127+
"$ref": "GoogleSearchIdeahubV1betaIdeaActivity"
128+
}
129+
}
130+
}
131+
},
103132
"ideaStates": {
104133
"methods": {
105134
"patch": {
@@ -259,7 +288,7 @@
259288
}
260289
}
261290
},
262-
"revision": "20210903",
291+
"revision": "20210910",
263292
"rootUrl": "https://ideahub.googleapis.com/",
264293
"schemas": {
265294
"GoogleSearchIdeahubV1betaAvailableLocale": {
@@ -299,6 +328,53 @@
299328
},
300329
"type": "object"
301330
},
331+
"GoogleSearchIdeahubV1betaIdeaActivity": {
332+
"description": "An idea activity entry.",
333+
"id": "GoogleSearchIdeahubV1betaIdeaActivity",
334+
"properties": {
335+
"ideas": {
336+
"description": "The Idea IDs for this entry. If empty, topics should be set.",
337+
"items": {
338+
"type": "string"
339+
},
340+
"type": "array"
341+
},
342+
"name": {
343+
"description": "Unique identifier for the idea activity. The name is ignored when creating an idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}",
344+
"type": "string"
345+
},
346+
"topics": {
347+
"description": "The Topic IDs for this entry. If empty, ideas should be set.",
348+
"items": {
349+
"type": "string"
350+
},
351+
"type": "array"
352+
},
353+
"type": {
354+
"description": "The type of activity performed.",
355+
"enum": [
356+
"TYPE_UNSPECIFIED",
357+
"POST_DRAFTED",
358+
"POST_PUBLISHED",
359+
"POST_DELETED",
360+
"POST_UNPUBLISHED"
361+
],
362+
"enumDescriptions": [
363+
"An unspecified, unknown type of idea activity.",
364+
"An idea activity type indicating a post has been drafted.",
365+
"An idea activity type indicating a post has been published.",
366+
"An idea activity type indicating a post has been deleted.",
367+
"An idea activity type indicating a post has been unpublished."
368+
],
369+
"type": "string"
370+
},
371+
"uri": {
372+
"description": "The uri the activity relates to.",
373+
"type": "string"
374+
}
375+
},
376+
"type": "object"
377+
},
302378
"GoogleSearchIdeahubV1betaIdeaState": {
303379
"description": "Represents idea state specific to a web property.",
304380
"id": "GoogleSearchIdeahubV1betaIdeaState",

0 commit comments

Comments
 (0)