From 3dd7507c30d93ecb40587caa1043bd1db650e555 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 1 Nov 2022 07:09:43 +0000 Subject: [PATCH] feat(tagmanager): update the api #### tagmanager:v2 The following keys were deleted: - resources.accounts.resources.containers.methods.snippet.response.type (Total Keys: 1) The following keys were added: - resources.accounts.resources.containers.methods.snippet.response.$ref (Total Keys: 1) - schemas.GetContainerSnippetResponse (Total Keys: 3) --- ...er_v2.accounts.containers.destinations.html | 2 +- .../dyn/tagmanager_v2.accounts.containers.html | 8 +++++--- .../documents/tagmanager.v1.json | 2 +- .../documents/tagmanager.v2.json | 18 ++++++++++++++---- 4 files changed, 21 insertions(+), 9 deletions(-) diff --git a/docs/dyn/tagmanager_v2.accounts.containers.destinations.html b/docs/dyn/tagmanager_v2.accounts.containers.destinations.html index 909a7da3e0a..4b72b20fd2d 100644 --- a/docs/dyn/tagmanager_v2.accounts.containers.destinations.html +++ b/docs/dyn/tagmanager_v2.accounts.containers.destinations.html @@ -124,7 +124,7 @@

Method Details

Args: parent: string, GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id} (required) - allowUserPermissionFeatureUpdate: boolean, Must be set to true to allow features.user_permissions to change from false to true (i.e. Google product owned to GTM permission). If this operation causes an update but this bit is false, the operation will fail. + allowUserPermissionFeatureUpdate: boolean, Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail. destinationId: string, Destination ID to be linked to the current container. x__xgafv: string, V1 error format. Allowed values diff --git a/docs/dyn/tagmanager_v2.accounts.containers.html b/docs/dyn/tagmanager_v2.accounts.containers.html index 149fe36eca6..0148c00c10e 100644 --- a/docs/dyn/tagmanager_v2.accounts.containers.html +++ b/docs/dyn/tagmanager_v2.accounts.containers.html @@ -128,7 +128,7 @@

Instance Methods

Move Tag ID out of a Container.

snippet(path, x__xgafv=None)

-

Gets the JavaScript snippet for a Container.

+

Gets the tagging snippet for a Container.

update(path, body=None, fingerprint=None, x__xgafv=None)

Updates a Container.

@@ -524,7 +524,7 @@

Method Details

snippet(path, x__xgafv=None) -
Gets the JavaScript snippet for a Container.
+  
Gets the tagging snippet for a Container.
 
 Args:
   path: string, Container snippet's API relative path. Example: accounts/{account_id}/containers/{container_id}:snippet (required)
@@ -536,7 +536,9 @@ 

Method Details

Returns: An object of the form: - "A String"
+ { + "snippet": "A String", # Tagging snippet for a Container. +}
diff --git a/googleapiclient/discovery_cache/documents/tagmanager.v1.json b/googleapiclient/discovery_cache/documents/tagmanager.v1.json index 1614fe1aaf6..09595dc5141 100644 --- a/googleapiclient/discovery_cache/documents/tagmanager.v1.json +++ b/googleapiclient/discovery_cache/documents/tagmanager.v1.json @@ -1932,7 +1932,7 @@ } } }, - "revision": "20221017", + "revision": "20221026", "rootUrl": "https://tagmanager.googleapis.com/", "schemas": { "Account": { diff --git a/googleapiclient/discovery_cache/documents/tagmanager.v2.json b/googleapiclient/discovery_cache/documents/tagmanager.v2.json index 6ffb00c246a..48da4509500 100644 --- a/googleapiclient/discovery_cache/documents/tagmanager.v2.json +++ b/googleapiclient/discovery_cache/documents/tagmanager.v2.json @@ -451,7 +451,7 @@ ] }, "snippet": { - "description": "Gets the JavaScript snippet for a Container.", + "description": "Gets the tagging snippet for a Container.", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}:snippet", "httpMethod": "GET", "id": "tagmanager.accounts.containers.snippet", @@ -469,7 +469,7 @@ }, "path": "tagmanager/v2/{+path}:snippet", "response": { - "type": "string" + "$ref": "GetContainerSnippetResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", @@ -549,7 +549,7 @@ ], "parameters": { "allowUserPermissionFeatureUpdate": { - "description": "Must be set to true to allow features.user_permissions to change from false to true (i.e. Google product owned to GTM permission). If this operation causes an update but this bit is false, the operation will fail.", + "description": "Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.", "location": "query", "type": "boolean" }, @@ -3710,7 +3710,7 @@ } } }, - "revision": "20221017", + "revision": "20221026", "rootUrl": "https://tagmanager.googleapis.com/", "schemas": { "Account": { @@ -4920,6 +4920,16 @@ }, "type": "object" }, + "GetContainerSnippetResponse": { + "id": "GetContainerSnippetResponse", + "properties": { + "snippet": { + "description": "Tagging snippet for a Container.", + "type": "string" + } + }, + "type": "object" + }, "GetWorkspaceStatusResponse": { "description": "The changes that have occurred in the workspace since the base container version.", "id": "GetWorkspaceStatusResponse",