Skip to content

Commit c6b0d83

Browse files
feat(ideahub): update the api
#### ideahub:v1alpha The following keys were added: - resources.platforms.resources.properties.resources.ideaActivities.methods.create (Total Keys: 11) - schemas.GoogleSearchIdeahubV1alphaIdeaActivity (Total Keys: 9)
1 parent e46e275 commit c6b0d83

File tree

3 files changed

+211
-1
lines changed

3 files changed

+211
-1
lines changed

docs/dyn/ideahub_v1alpha.platforms.properties.html

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<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></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="ideahub_v1alpha.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_v1alpha.platforms.properties.ideaStates.html">ideaStates()</a></code>
7984
</p>
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_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.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;ideaIds&quot;: [ # The Idea IDs for this entry.
100+
&quot;A String&quot;,
101+
],
102+
&quot;name&quot;: &quot;A String&quot;, # Unique identifier for the idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}
103+
&quot;topicIds&quot;: [ # The Topic IDs for this entry.
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;ideaIds&quot;: [ # The Idea IDs for this entry.
120+
&quot;A String&quot;,
121+
],
122+
&quot;name&quot;: &quot;A String&quot;, # Unique identifier for the idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}
123+
&quot;topicIds&quot;: [ # The Topic IDs for this entry.
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

+75-1
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,35 @@
163163
"resources": {
164164
"properties": {
165165
"resources": {
166+
"ideaActivities": {
167+
"methods": {
168+
"create": {
169+
"description": "Creates an idea activity entry.",
170+
"flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/ideaActivities",
171+
"httpMethod": "POST",
172+
"id": "ideahub.platforms.properties.ideaActivities.create",
173+
"parameterOrder": [
174+
"parent"
175+
],
176+
"parameters": {
177+
"parent": {
178+
"description": "Required. The parent resource where this idea activity will be created. Format: platforms/{platform}/property/{property}",
179+
"location": "path",
180+
"pattern": "^platforms/[^/]+/properties/[^/]+$",
181+
"required": true,
182+
"type": "string"
183+
}
184+
},
185+
"path": "v1alpha/{+parent}/ideaActivities",
186+
"request": {
187+
"$ref": "GoogleSearchIdeahubV1alphaIdeaActivity"
188+
},
189+
"response": {
190+
"$ref": "GoogleSearchIdeahubV1alphaIdeaActivity"
191+
}
192+
}
193+
}
194+
},
166195
"ideaStates": {
167196
"methods": {
168197
"patch": {
@@ -342,7 +371,7 @@
342371
}
343372
}
344373
},
345-
"revision": "20210705",
374+
"revision": "20210712",
346375
"rootUrl": "https://ideahub.googleapis.com/",
347376
"schemas": {
348377
"GoogleSearchIdeahubV1alphaAvailableLocale": {
@@ -382,6 +411,51 @@
382411
},
383412
"type": "object"
384413
},
414+
"GoogleSearchIdeahubV1alphaIdeaActivity": {
415+
"description": "An idea activity entry.",
416+
"id": "GoogleSearchIdeahubV1alphaIdeaActivity",
417+
"properties": {
418+
"ideaIds": {
419+
"description": "The Idea IDs for this entry.",
420+
"items": {
421+
"type": "string"
422+
},
423+
"type": "array"
424+
},
425+
"name": {
426+
"description": "Unique identifier for the idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}",
427+
"type": "string"
428+
},
429+
"topicIds": {
430+
"description": "The Topic IDs for this entry.",
431+
"items": {
432+
"type": "string"
433+
},
434+
"type": "array"
435+
},
436+
"type": {
437+
"description": "The type of activity performed.",
438+
"enum": [
439+
"TYPE_UNSPECIFIED",
440+
"POST_DRAFTED",
441+
"POST_PUBLISHED",
442+
"POST_DELETED"
443+
],
444+
"enumDescriptions": [
445+
"An unspecified, unknown type of idea activity.",
446+
"An idea activity type indicating a post has been drafted.",
447+
"An idea activity type indicating a post has been published.",
448+
"An idea activity type indicating a post has been deleted."
449+
],
450+
"type": "string"
451+
},
452+
"uri": {
453+
"description": "The uri the activity relates to.",
454+
"type": "string"
455+
}
456+
},
457+
"type": "object"
458+
},
385459
"GoogleSearchIdeahubV1alphaIdeaState": {
386460
"description": "Represents idea state specific to a web property.",
387461
"id": "GoogleSearchIdeahubV1alphaIdeaState",

0 commit comments

Comments
 (0)