Index: discovery/googleapis/tagmanager__v1.json |
diff --git a/discovery/googleapis/tagmanager__v1.json b/discovery/googleapis/tagmanager__v1.json |
index 32ff33e28a8e7d2bffbebc27e5689097bf7b78c6..576e9b6df88f268545d1091eac9b1943a0f7e069 100644 |
--- a/discovery/googleapis/tagmanager__v1.json |
+++ b/discovery/googleapis/tagmanager__v1.json |
@@ -33,7 +33,7 @@ |
"description": "API for accessing Tag Manager accounts and containers.", |
"discoveryVersion": "v1", |
"documentationLink": "https://developers.google.com/tag-manager/api/v1/", |
- "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/RYltSVORyo-2lH4YNllLHLLyJN4\"", |
+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/LbLzPv65qQp3dOE7QCbBe3EGElQ\"", |
"icons": { |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
@@ -314,6 +314,235 @@ |
} |
}, |
"resources": { |
+ "folders": { |
+ "methods": { |
+ "create": { |
+ "description": "Creates a GTM Folder.", |
+ "httpMethod": "POST", |
+ "id": "tagmanager.accounts.containers.folders.create", |
+ "parameterOrder": [ |
+ "accountId", |
+ "containerId" |
+ ], |
+ "parameters": { |
+ "accountId": { |
+ "description": "The GTM Account ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "containerId": { |
+ "description": "The GTM Container ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "accounts/{accountId}/containers/{containerId}/folders", |
+ "request": { |
+ "$ref": "Folder" |
+ }, |
+ "response": { |
+ "$ref": "Folder" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/tagmanager.edit.containers" |
+ ] |
+ }, |
+ "delete": { |
+ "description": "Deletes a GTM Folder.", |
+ "httpMethod": "DELETE", |
+ "id": "tagmanager.accounts.containers.folders.delete", |
+ "parameterOrder": [ |
+ "accountId", |
+ "containerId", |
+ "folderId" |
+ ], |
+ "parameters": { |
+ "accountId": { |
+ "description": "The GTM Account ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "containerId": { |
+ "description": "The GTM Container ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "folderId": { |
+ "description": "The GTM Folder ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "accounts/{accountId}/containers/{containerId}/folders/{folderId}", |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/tagmanager.edit.containers" |
+ ] |
+ }, |
+ "get": { |
+ "description": "Gets a GTM Folder.", |
+ "httpMethod": "GET", |
+ "id": "tagmanager.accounts.containers.folders.get", |
+ "parameterOrder": [ |
+ "accountId", |
+ "containerId", |
+ "folderId" |
+ ], |
+ "parameters": { |
+ "accountId": { |
+ "description": "The GTM Account ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "containerId": { |
+ "description": "The GTM Container ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "folderId": { |
+ "description": "The GTM Folder ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "accounts/{accountId}/containers/{containerId}/folders/{folderId}", |
+ "response": { |
+ "$ref": "Folder" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/tagmanager.edit.containers", |
+ "https://www.googleapis.com/auth/tagmanager.readonly" |
+ ] |
+ }, |
+ "list": { |
+ "description": "Lists all GTM Folders of a Container.", |
+ "httpMethod": "GET", |
+ "id": "tagmanager.accounts.containers.folders.list", |
+ "parameterOrder": [ |
+ "accountId", |
+ "containerId" |
+ ], |
+ "parameters": { |
+ "accountId": { |
+ "description": "The GTM Account ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "containerId": { |
+ "description": "The GTM Container ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "accounts/{accountId}/containers/{containerId}/folders", |
+ "response": { |
+ "$ref": "ListFoldersResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/tagmanager.edit.containers", |
+ "https://www.googleapis.com/auth/tagmanager.readonly" |
+ ] |
+ }, |
+ "update": { |
+ "description": "Updates a GTM Folder.", |
+ "httpMethod": "PUT", |
+ "id": "tagmanager.accounts.containers.folders.update", |
+ "parameterOrder": [ |
+ "accountId", |
+ "containerId", |
+ "folderId" |
+ ], |
+ "parameters": { |
+ "accountId": { |
+ "description": "The GTM Account ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "containerId": { |
+ "description": "The GTM Container ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "fingerprint": { |
+ "description": "When provided, this fingerprint must match the fingerprint of the folder in storage.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "folderId": { |
+ "description": "The GTM Folder ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "accounts/{accountId}/containers/{containerId}/folders/{folderId}", |
+ "request": { |
+ "$ref": "Folder" |
+ }, |
+ "response": { |
+ "$ref": "Folder" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/tagmanager.edit.containers" |
+ ] |
+ } |
+ }, |
+ "resources": { |
+ "entities": { |
+ "methods": { |
+ "list": { |
+ "description": "List all entities in a GTM Folder.", |
+ "httpMethod": "GET", |
+ "id": "tagmanager.accounts.containers.folders.entities.list", |
+ "parameterOrder": [ |
+ "accountId", |
+ "containerId", |
+ "folderId" |
+ ], |
+ "parameters": { |
+ "accountId": { |
+ "description": "The GTM Account ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "containerId": { |
+ "description": "The GTM Container ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "folderId": { |
+ "description": "The GTM Folder ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities", |
+ "response": { |
+ "$ref": "FolderEntities" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/tagmanager.edit.containers", |
+ "https://www.googleapis.com/auth/tagmanager.readonly" |
+ ] |
+ } |
+ } |
+ } |
+ } |
+ }, |
"macros": { |
"methods": { |
"create": { |
@@ -499,6 +728,59 @@ |
} |
} |
}, |
+ "move_folders": { |
+ "methods": { |
+ "update": { |
+ "description": "Moves entities to a GTM Folder.", |
+ "httpMethod": "PUT", |
+ "id": "tagmanager.accounts.containers.move_folders.update", |
+ "parameterOrder": [ |
+ "accountId", |
+ "containerId", |
+ "folderId" |
+ ], |
+ "parameters": { |
+ "accountId": { |
+ "description": "The GTM Account ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "containerId": { |
+ "description": "The GTM Container ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "folderId": { |
+ "description": "The GTM Folder ID.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "tagId": { |
+ "description": "The tags to be moved to the folder.", |
+ "location": "query", |
+ "repeated": true, |
+ "type": "string" |
+ }, |
+ "triggerId": { |
+ "description": "The triggers to be moved to the folder.", |
+ "location": "query", |
+ "repeated": true, |
+ "type": "string" |
+ }, |
+ "variableId": { |
+ "description": "The variables to be moved to the folder.", |
+ "location": "query", |
+ "repeated": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "accounts/{accountId}/containers/{containerId}/move_folders/{folderId}" |
+ } |
+ } |
+ }, |
"rules": { |
"methods": { |
"create": { |
@@ -1696,7 +1978,7 @@ |
} |
} |
}, |
- "revision": "20150526", |
+ "revision": "20150730", |
"rootUrl": "https://www.googleapis.com/", |
"schemas": { |
"Account": { |
@@ -1790,7 +2072,8 @@ |
"less", |
"lessOrEquals", |
"matchRegex", |
- "startsWith" |
+ "startsWith", |
+ "urlMatches" |
], |
"enumDescriptions": [ |
"", |
@@ -1802,6 +2085,7 @@ |
"", |
"", |
"", |
+ "", |
"" |
], |
"type": "string" |
@@ -1859,6 +2143,7 @@ |
"formText", |
"formUrl", |
"historySource", |
+ "htmlId", |
"language", |
"newHistoryFragment", |
"newHistoryState", |
@@ -1915,6 +2200,7 @@ |
"", |
"", |
"", |
+ "", |
"" |
], |
"type": "string" |
@@ -2045,6 +2331,13 @@ |
"description": "The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified.", |
"type": "string" |
}, |
+ "folder": { |
+ "description": "The folders in the container that this version was taken from.", |
+ "items": { |
+ "$ref": "Folder" |
+ }, |
+ "type": "array" |
+ }, |
"macro": { |
"description": "The macros in the container that this version was taken from.", |
"items": { |
@@ -2172,6 +2465,66 @@ |
}, |
"type": "object" |
}, |
+ "Folder": { |
+ "description": "Represents a Google Tag Manager Folder.", |
+ "id": "Folder", |
+ "properties": { |
+ "accountId": { |
+ "description": "GTM Account ID.", |
+ "type": "string" |
+ }, |
+ "containerId": { |
+ "description": "GTM Container ID.", |
+ "type": "string" |
+ }, |
+ "fingerprint": { |
+ "description": "The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.", |
+ "type": "string" |
+ }, |
+ "folderId": { |
+ "description": "The Folder ID uniquely identifies the GTM Folder.", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "annotations": { |
+ "required": [ |
+ "tagmanager.accounts.containers.folders.create" |
+ ] |
+ }, |
+ "description": "Folder display name.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "FolderEntities": { |
+ "description": "Represents a Google Tag Manager Folder's contents.", |
+ "id": "FolderEntities", |
+ "properties": { |
+ "tag": { |
+ "description": "The list of tags inside the folder.", |
+ "items": { |
+ "$ref": "Tag" |
+ }, |
+ "type": "array" |
+ }, |
+ "trigger": { |
+ "description": "The list of triggers inside the folder.", |
+ "items": { |
+ "$ref": "Trigger" |
+ }, |
+ "type": "array" |
+ }, |
+ "variable": { |
+ "description": "The list of variables inside the folder.", |
+ "items": { |
+ "$ref": "Variable" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"ListAccountUsersResponse": { |
"description": "List AccountUsers Response.", |
"id": "ListAccountUsersResponse", |
@@ -2235,6 +2588,20 @@ |
}, |
"type": "object" |
}, |
+ "ListFoldersResponse": { |
+ "description": "List Folders Response.", |
+ "id": "ListFoldersResponse", |
+ "properties": { |
+ "folders": { |
+ "description": "All GTM Folders of a GTM Container.", |
+ "items": { |
+ "$ref": "Folder" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"ListMacrosResponse": { |
"description": "List Macros Response.", |
"id": "ListMacrosResponse", |
@@ -2359,6 +2726,10 @@ |
}, |
"type": "array" |
}, |
+ "parentFolderId": { |
+ "description": "Parent folder id.", |
+ "type": "string" |
+ }, |
"scheduleEndMs": { |
"description": "The end timestamp in milliseconds to schedule a macro.", |
"format": "int64", |
@@ -2497,6 +2868,20 @@ |
}, |
"type": "object" |
}, |
+ "SetupTag": { |
+ "id": "SetupTag", |
+ "properties": { |
+ "stopOnSetupFailure": { |
+ "description": "If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.", |
+ "type": "boolean" |
+ }, |
+ "tagName": { |
+ "description": "The name of the setup tag.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"Tag": { |
"description": "Represents a Google Tag Manager Tag.", |
"id": "Tag", |
@@ -2565,6 +2950,10 @@ |
}, |
"type": "array" |
}, |
+ "parentFolderId": { |
+ "description": "Parent folder id.", |
+ "type": "string" |
+ }, |
"priority": { |
"$ref": "Parameter", |
"description": "User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0." |
@@ -2579,10 +2968,24 @@ |
"format": "int64", |
"type": "string" |
}, |
+ "setupTag": { |
+ "description": "The list of setup tags. Currently we only allow one.", |
+ "items": { |
+ "$ref": "SetupTag" |
+ }, |
+ "type": "array" |
+ }, |
"tagId": { |
"description": "The Tag ID uniquely identifies the GTM Tag.", |
"type": "string" |
}, |
+ "teardownTag": { |
+ "description": "The list of teardown tags. Currently we only allow one.", |
+ "items": { |
+ "$ref": "TeardownTag" |
+ }, |
+ "type": "array" |
+ }, |
"type": { |
"annotations": { |
"required": [ |
@@ -2595,6 +2998,20 @@ |
}, |
"type": "object" |
}, |
+ "TeardownTag": { |
+ "id": "TeardownTag", |
+ "properties": { |
+ "stopTeardownOnFailure": { |
+ "description": "If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.", |
+ "type": "boolean" |
+ }, |
+ "tagName": { |
+ "description": "The name of the teardown tag.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"Trigger": { |
"description": "Represents a Google Tag Manager Trigger", |
"id": "Trigger", |
@@ -2661,6 +3078,10 @@ |
"description": "Trigger display name.", |
"type": "string" |
}, |
+ "parentFolderId": { |
+ "description": "Parent folder id.", |
+ "type": "string" |
+ }, |
"triggerId": { |
"description": "The Trigger ID uniquely identifies the GTM Trigger.", |
"type": "string" |
@@ -2813,6 +3234,10 @@ |
}, |
"type": "array" |
}, |
+ "parentFolderId": { |
+ "description": "Parent folder id.", |
+ "type": "string" |
+ }, |
"scheduleEndMs": { |
"description": "The end timestamp in milliseconds to schedule a variable.", |
"format": "int64", |