From c6b0d83940f238b1330896240492e8db397dcd15 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 13 Jul 2021 07:06:50 +0000 Subject: [PATCH] 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) --- .../ideahub_v1alpha.platforms.properties.html | 5 + ...a.platforms.properties.ideaActivities.html | 131 ++++++++++++++++++ .../documents/ideahub.v1alpha.json | 76 +++++++++- 3 files changed, 211 insertions(+), 1 deletion(-) create mode 100644 docs/dyn/ideahub_v1alpha.platforms.properties.ideaActivities.html diff --git a/docs/dyn/ideahub_v1alpha.platforms.properties.html b/docs/dyn/ideahub_v1alpha.platforms.properties.html index 6a102c73a5d..9e638a4c365 100644 --- a/docs/dyn/ideahub_v1alpha.platforms.properties.html +++ b/docs/dyn/ideahub_v1alpha.platforms.properties.html @@ -74,6 +74,11 @@

Idea Hub API . platforms . properties

Instance Methods

+

+ ideaActivities() +

+

Returns the ideaActivities Resource.

+

ideaStates()

diff --git a/docs/dyn/ideahub_v1alpha.platforms.properties.ideaActivities.html b/docs/dyn/ideahub_v1alpha.platforms.properties.ideaActivities.html new file mode 100644 index 00000000000..89536e0ae1d --- /dev/null +++ b/docs/dyn/ideahub_v1alpha.platforms.properties.ideaActivities.html @@ -0,0 +1,131 @@ + + + +

Idea Hub API . platforms . properties . ideaActivities

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ create(parent, body=None, x__xgafv=None)

+

Creates an idea activity entry.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ create(parent, body=None, x__xgafv=None) +
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.
+  "ideaIds": [ # The Idea IDs for this entry.
+    "A String",
+  ],
+  "name": "A String", # Unique identifier for the idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}
+  "topicIds": [ # The Topic IDs for this entry.
+    "A String",
+  ],
+  "type": "A String", # The type of activity performed.
+  "uri": "A String", # 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.
+  "ideaIds": [ # The Idea IDs for this entry.
+    "A String",
+  ],
+  "name": "A String", # Unique identifier for the idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}
+  "topicIds": [ # The Topic IDs for this entry.
+    "A String",
+  ],
+  "type": "A String", # The type of activity performed.
+  "uri": "A String", # The uri the activity relates to.
+}
+
+ + \ No newline at end of file diff --git a/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json b/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json index d2bda17eaff..db0ca22f781 100644 --- a/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json @@ -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": { @@ -342,7 +371,7 @@ } } }, - "revision": "20210705", + "revision": "20210712", "rootUrl": "https://ideahub.googleapis.com/", "schemas": { "GoogleSearchIdeahubV1alphaAvailableLocale": { @@ -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",