From 73b86d9d37f33aeaed74772d0319ba1350e54ed5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 29 Jun 2021 07:07:56 +0000 Subject: [PATCH] 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) --- docs/dyn/ideahub_v1alpha.ideas.html | 2 +- .../ideahub_v1alpha.platforms.properties.html | 5 + ...ub_v1alpha.platforms.properties.ideas.html | 2 +- ...lpha.platforms.properties.topicStates.html | 120 ++++++++++++++++++ .../documents/ideahub.v1alpha.json | 60 ++++++++- 5 files changed, 184 insertions(+), 5 deletions(-) create mode 100644 docs/dyn/ideahub_v1alpha.platforms.properties.topicStates.html diff --git a/docs/dyn/ideahub_v1alpha.ideas.html b/docs/dyn/ideahub_v1alpha.ideas.html index e50a12ea4ce..a9b61b3c928 100644 --- a/docs/dyn/ideahub_v1alpha.ideas.html +++ b/docs/dyn/ideahub_v1alpha.ideas.html @@ -100,7 +100,7 @@

Method Details

BLOGGER - SITEKIT - creator_platformId: string, Identifies the platform account (blog/site/etc.) for which to fetch Ideas. - filter: string, Filter semantics described below. + 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'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. orderBy: string, Order semantics described below. 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. pageToken: string, Used to fetch next page. diff --git a/docs/dyn/ideahub_v1alpha.platforms.properties.html b/docs/dyn/ideahub_v1alpha.platforms.properties.html index 2e48351e945..6a102c73a5d 100644 --- a/docs/dyn/ideahub_v1alpha.platforms.properties.html +++ b/docs/dyn/ideahub_v1alpha.platforms.properties.html @@ -89,6 +89,11 @@

Instance Methods

Returns the locales Resource.

+

+ topicStates() +

+

Returns the topicStates Resource.

+

close()

Close httplib2 connections.

diff --git a/docs/dyn/ideahub_v1alpha.platforms.properties.ideas.html b/docs/dyn/ideahub_v1alpha.platforms.properties.ideas.html index cba5204a2a3..5f1b4badc69 100644 --- a/docs/dyn/ideahub_v1alpha.platforms.properties.ideas.html +++ b/docs/dyn/ideahub_v1alpha.platforms.properties.ideas.html @@ -101,7 +101,7 @@

Method Details

BLOGGER - SITEKIT - creator_platformId: string, Identifies the platform account (blog/site/etc.) for which to fetch Ideas. - filter: string, Filter semantics described below. + 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'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. orderBy: string, Order semantics described below. 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. pageToken: string, Used to fetch next page. diff --git a/docs/dyn/ideahub_v1alpha.platforms.properties.topicStates.html b/docs/dyn/ideahub_v1alpha.platforms.properties.topicStates.html new file mode 100644 index 00000000000..c7b2cf867df --- /dev/null +++ b/docs/dyn/ideahub_v1alpha.platforms.properties.topicStates.html @@ -0,0 +1,120 @@ + + + +

Idea Hub API . platforms . properties . topicStates

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ patch(name, body=None, updateMask=None, x__xgafv=None)

+

Update a topic state resource.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ patch(name, body=None, updateMask=None, x__xgafv=None) +
Update a topic state resource.
+
+Args:
+  name: string, Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state} (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Represents topic state specific to a web property.
+  "dismissed": True or False, # Whether the topic is dismissed.
+  "name": "A String", # Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}
+  "saved": True or False, # Whether the topic is saved.
+}
+
+  updateMask: string, The list of fields to be updated.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Represents topic state specific to a web property.
+  "dismissed": True or False, # Whether the topic is dismissed.
+  "name": "A String", # Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}
+  "saved": True or False, # Whether the topic is saved.
+}
+
+ + \ 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 ea6d87f1a34..b101f2b0cde 100644 --- a/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json @@ -126,7 +126,7 @@ "type": "string" }, "filter": { - "description": "Filter semantics described below.", + "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.", "location": "query", "type": "string" }, @@ -230,7 +230,7 @@ "type": "string" }, "filter": { - "description": "Filter semantics described below.", + "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.", "location": "query", "type": "string" }, @@ -301,13 +301,48 @@ } } } + }, + "topicStates": { + "methods": { + "patch": { + "description": "Update a topic state resource.", + "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/topicStates/{topicStatesId}", + "httpMethod": "PATCH", + "id": "ideahub.platforms.properties.topicStates.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", + "location": "path", + "pattern": "^platforms/[^/]+/properties/[^/]+/topicStates/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleSearchIdeahubV1alphaTopicState" + }, + "response": { + "$ref": "GoogleSearchIdeahubV1alphaTopicState" + } + } + } } } } } } }, - "revision": "20210614", + "revision": "20210625", "rootUrl": "https://ideahub.googleapis.com/", "schemas": { "GoogleSearchIdeahubV1alphaAvailableLocale": { @@ -415,6 +450,25 @@ } }, "type": "object" + }, + "GoogleSearchIdeahubV1alphaTopicState": { + "description": "Represents topic state specific to a web property.", + "id": "GoogleSearchIdeahubV1alphaTopicState", + "properties": { + "dismissed": { + "description": "Whether the topic is dismissed.", + "type": "boolean" + }, + "name": { + "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", + "type": "string" + }, + "saved": { + "description": "Whether the topic is saved.", + "type": "boolean" + } + }, + "type": "object" } }, "servicePath": "",