Skip to content

Commit

Permalink
feat(tagmanager)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### tagmanager:v1
The following keys were deleted:
- schemas.AccountAccess.properties.permission.enumDescriptions
- schemas.Container.properties.enabledBuiltInVariable.enumDescriptions
- schemas.Container.properties.usageContext.enumDescriptions
- schemas.ContainerAccess.properties.permission.enumDescriptions

The following keys were changed:
- baseUrl
- batchPath
- mtlsRootUrl
- rootUrl

#### tagmanager:v2
The following keys were deleted:
- schemas.Container.properties.usageContext.enumDescriptions

The following keys were changed:
- baseUrl
- batchPath
- mtlsRootUrl
- rootUrl
- schemas.Container.properties.usageContext.items.enum
- schemas.Container.properties.usageContext.items.enumDescriptions
  • Loading branch information
JustinBeckwith committed Oct 5, 2020
1 parent 48cf35e commit fce300b
Show file tree
Hide file tree
Showing 5 changed files with 143 additions and 281 deletions.
141 changes: 5 additions & 136 deletions discovery/tagmanager-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
}
},
"basePath": "",
"baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/tagmanager/v1",
"baseUrl": "https://tagmanager.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Tag Manager",
"description": "This API allows clients to access and modify container and tag configuration.",
"discoveryVersion": "v1",
Expand All @@ -39,7 +39,7 @@
},
"id": "tagmanager:v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://www.mtls.googleapis.com/",
"mtlsRootUrl": "https://tagmanager.mtls.googleapis.com/",
"name": "tagmanager",
"ownerDomain": "google.com",
"ownerName": "Google",
Expand Down Expand Up @@ -1932,8 +1932,8 @@
}
}
},
"revision": "20200803",
"rootUrl": "https://www.googleapis.com/",
"revision": "20200930",
"rootUrl": "https://tagmanager.googleapis.com/",
"schemas": {
"Account": {
"description": "Represents a Google Tag Manager Account.",
Expand Down Expand Up @@ -1969,14 +1969,6 @@
]
},
"description": "List of Account permissions. Valid account permissions are read and manage. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update",
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"items": {
"enum": [
"read",
Expand Down Expand Up @@ -2078,113 +2070,6 @@
},
"enabledBuiltInVariable": {
"description": "List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update",
"enumDescriptions": [
"",
"",
"",
"",
"For web or mobile.",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"For web or mobile.",
"",
"For web or mobile.",
"For web or mobile.",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"items": {
"enum": [
"pageUrl",
Expand Down Expand Up @@ -2451,14 +2336,6 @@
]
},
"description": "List of Usage Contexts for the Container. Valid values include: web, android, ios. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update",
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"items": {
"enum": [
"web",
Expand Down Expand Up @@ -2493,14 +2370,6 @@
},
"permission": {
"description": "List of Container permissions. Valid container permissions are: read, edit, delete, publish. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update",
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"items": {
"enum": [
"read",
Expand Down
23 changes: 8 additions & 15 deletions discovery/tagmanager-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
}
},
"basePath": "",
"baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/tagmanager/v2",
"baseUrl": "https://tagmanager.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Tag Manager",
"description": "This API allows clients to access and modify container and tag configuration.",
"discoveryVersion": "v1",
Expand All @@ -39,7 +39,7 @@
},
"id": "tagmanager:v2",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://www.mtls.googleapis.com/",
"mtlsRootUrl": "https://tagmanager.mtls.googleapis.com/",
"name": "tagmanager",
"ownerDomain": "google.com",
"ownerName": "Google",
Expand Down Expand Up @@ -3125,8 +3125,8 @@
}
}
},
"revision": "20200803",
"rootUrl": "https://www.googleapis.com/",
"revision": "20200930",
"rootUrl": "https://tagmanager.googleapis.com/",
"schemas": {
"Account": {
"description": "Represents a Google Tag Manager Account.",
Expand Down Expand Up @@ -3609,15 +3609,6 @@
]
},
"description": "List of Usage Contexts for the Container. Valid values include: web, android, or ios. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update",
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"items": {
"enum": [
"usageContextUnspecified",
Expand All @@ -3626,7 +3617,8 @@
"ios",
"androidSdk5",
"iosSdk5",
"amp"
"amp",
"server"
],
"enumDescriptions": [
"",
Expand All @@ -3635,6 +3627,7 @@
"",
"",
"",
"",
""
],
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion src/apis/tagmanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# tagmanager

> Accesses Tag Manager accounts and containers.
> This API allows clients to access and modify container and tag configuration.
## Installation

Expand Down
Loading

0 comments on commit fce300b

Please sign in to comment.