Skip to content

Commit 9a00120

Browse files
yoshi-automationsofisl
authored andcommitted
feat(tagmanager): update the API
#### tagmanager:v2 The following keys were added: - resources.accounts.resources.containers.methods.lookup.parameters.tagId.description - resources.accounts.resources.containers.methods.lookup.parameters.tagId.location - resources.accounts.resources.containers.methods.lookup.parameters.tagId.type The following keys were changed: - resources.accounts.resources.containers.methods.lookup.description - resources.accounts.resources.containers.methods.lookup.parameters.destinationId.description
1 parent 6e5182c commit 9a00120

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

discovery/tagmanager-v2.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,14 +374,19 @@
374374
]
375375
},
376376
"lookup": {
377-
"description": "Looks up a Container by destination ID.",
377+
"description": "Looks up a Container by destination ID or tag ID.",
378378
"flatPath": "tagmanager/v2/accounts/containers:lookup",
379379
"httpMethod": "GET",
380380
"id": "tagmanager.accounts.containers.lookup",
381381
"parameterOrder": [],
382382
"parameters": {
383383
"destinationId": {
384-
"description": "Destination ID linked to a GTM Container, e.g. AW-123456789. Example: accounts/containers:lookup?destination_id={destination_id}.",
384+
"description": "Destination ID linked to a GTM Container, e.g. AW-123456789. Example: accounts/containers:lookup?destination_id={destination_id}. Only one of destination_id or tag_id should be set.",
385+
"location": "query",
386+
"type": "string"
387+
},
388+
"tagId": {
389+
"description": "Tag ID for a GTM Container, e.g. GTM-123456789. Example: accounts/containers:lookup?tag_id={tag_id}. Only one of destination_id or tag_id should be set.",
385390
"location": "query",
386391
"type": "string"
387392
}
@@ -3890,7 +3895,7 @@
38903895
}
38913896
}
38923897
},
3893-
"revision": "20240619",
3898+
"revision": "20240701",
38943899
"rootUrl": "https://tagmanager.googleapis.com/",
38953900
"schemas": {
38963901
"Account": {

src/apis/tagmanager/v2.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2687,7 +2687,7 @@ export namespace tagmanager_v2 {
26872687
}
26882688

26892689
/**
2690-
* Looks up a Container by destination ID.
2690+
* Looks up a Container by destination ID or tag ID.
26912691
*
26922692
* @param params - Parameters for request
26932693
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3104,9 +3104,13 @@ export namespace tagmanager_v2 {
31043104
export interface Params$Resource$Accounts$Containers$Lookup
31053105
extends StandardParameters {
31063106
/**
3107-
* Destination ID linked to a GTM Container, e.g. AW-123456789. Example: accounts/containers:lookup?destination_id={destination_id\}.
3107+
* Destination ID linked to a GTM Container, e.g. AW-123456789. Example: accounts/containers:lookup?destination_id={destination_id\}. Only one of destination_id or tag_id should be set.
31083108
*/
31093109
destinationId?: string;
3110+
/**
3111+
* Tag ID for a GTM Container, e.g. GTM-123456789. Example: accounts/containers:lookup?tag_id={tag_id\}. Only one of destination_id or tag_id should be set.
3112+
*/
3113+
tagId?: string;
31103114
}
31113115
export interface Params$Resource$Accounts$Containers$Move_tag_id
31123116
extends StandardParameters {

0 commit comments

Comments
 (0)