Skip to content

Commit

Permalink
feat(ideahub): update the api
Browse files Browse the repository at this point in the history
#### ideahub:v1alpha

The following keys were added:
- resources.platforms.resources.properties.resources.ideaActivities.methods.create (Total Keys: 11)
- schemas.GoogleSearchIdeahubV1alphaIdeaActivity (Total Keys: 9)
  • Loading branch information
yoshi-automation committed Jul 13, 2021
1 parent e46e275 commit c6b0d83
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/dyn/ideahub_v1alpha.platforms.properties.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@

<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>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="ideahub_v1alpha.platforms.properties.ideaActivities.html">ideaActivities()</a></code>
</p>
<p class="firstline">Returns the ideaActivities Resource.</p>

<p class="toc_element">
<code><a href="ideahub_v1alpha.platforms.properties.ideaStates.html">ideaStates()</a></code>
</p>
Expand Down
131 changes: 131 additions & 0 deletions docs/dyn/ideahub_v1alpha.platforms.properties.ideaActivities.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}

body {
font-size: 13px;
padding: 1em;
}

h1 {
font-size: 26px;
margin-bottom: 1em;
}

h2 {
font-size: 24px;
margin-bottom: 1em;
}

h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}

pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
margin-top: 0.5em;
}

h1, h2, h3, p {
font-family: Arial, sans serif;
}

h1, h2, h3 {
border-bottom: solid #CCC 1px;
}

.toc_element {
margin-top: 0.5em;
}

.firstline {
margin-left: 2 em;
}

.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}

.details {
font-weight: bold;
font-size: 14px;
}

</style>

<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>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates an idea activity entry.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>

<div class="method">
<code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
<pre>Creates an idea activity entry.

Args:
parent: string, Required. The parent resource where this idea activity will be created. Format: platforms/{platform}/property/{property} (required)
body: object, The request body.
The object takes the form of:

{ # An idea activity entry.
&quot;ideaIds&quot;: [ # The Idea IDs for this entry.
&quot;A String&quot;,
],
&quot;name&quot;: &quot;A String&quot;, # Unique identifier for the idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}
&quot;topicIds&quot;: [ # The Topic IDs for this entry.
&quot;A String&quot;,
],
&quot;type&quot;: &quot;A String&quot;, # The type of activity performed.
&quot;uri&quot;: &quot;A String&quot;, # The uri the activity relates to.
}

x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # An idea activity entry.
&quot;ideaIds&quot;: [ # The Idea IDs for this entry.
&quot;A String&quot;,
],
&quot;name&quot;: &quot;A String&quot;, # Unique identifier for the idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}
&quot;topicIds&quot;: [ # The Topic IDs for this entry.
&quot;A String&quot;,
],
&quot;type&quot;: &quot;A String&quot;, # The type of activity performed.
&quot;uri&quot;: &quot;A String&quot;, # The uri the activity relates to.
}</pre>
</div>

</body></html>
76 changes: 75 additions & 1 deletion googleapiclient/discovery_cache/documents/ideahub.v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,35 @@
"resources": {
"properties": {
"resources": {
"ideaActivities": {
"methods": {
"create": {
"description": "Creates an idea activity entry.",
"flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/ideaActivities",
"httpMethod": "POST",
"id": "ideahub.platforms.properties.ideaActivities.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource where this idea activity will be created. Format: platforms/{platform}/property/{property}",
"location": "path",
"pattern": "^platforms/[^/]+/properties/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+parent}/ideaActivities",
"request": {
"$ref": "GoogleSearchIdeahubV1alphaIdeaActivity"
},
"response": {
"$ref": "GoogleSearchIdeahubV1alphaIdeaActivity"
}
}
}
},
"ideaStates": {
"methods": {
"patch": {
Expand Down Expand Up @@ -342,7 +371,7 @@
}
}
},
"revision": "20210705",
"revision": "20210712",
"rootUrl": "https://ideahub.googleapis.com/",
"schemas": {
"GoogleSearchIdeahubV1alphaAvailableLocale": {
Expand Down Expand Up @@ -382,6 +411,51 @@
},
"type": "object"
},
"GoogleSearchIdeahubV1alphaIdeaActivity": {
"description": "An idea activity entry.",
"id": "GoogleSearchIdeahubV1alphaIdeaActivity",
"properties": {
"ideaIds": {
"description": "The Idea IDs for this entry.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "Unique identifier for the idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}",
"type": "string"
},
"topicIds": {
"description": "The Topic IDs for this entry.",
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"description": "The type of activity performed.",
"enum": [
"TYPE_UNSPECIFIED",
"POST_DRAFTED",
"POST_PUBLISHED",
"POST_DELETED"
],
"enumDescriptions": [
"An unspecified, unknown type of idea activity.",
"An idea activity type indicating a post has been drafted.",
"An idea activity type indicating a post has been published.",
"An idea activity type indicating a post has been deleted."
],
"type": "string"
},
"uri": {
"description": "The uri the activity relates to.",
"type": "string"
}
},
"type": "object"
},
"GoogleSearchIdeahubV1alphaIdeaState": {
"description": "Represents idea state specific to a web property.",
"id": "GoogleSearchIdeahubV1alphaIdeaState",
Expand Down

0 comments on commit c6b0d83

Please sign in to comment.