Returns the containers Resource.
Returns the permissions Resource.
Close httplib2 connections.
Gets a GTM Account.
Lists all GTM Accounts that a user has access to.
update(accountId, body=None, fingerprint=None, x__xgafv=None)
Updates a GTM Account.
close()
Close httplib2 connections.
get(accountId, x__xgafv=None)
Gets a GTM Account.
Args:
accountId: string, The GTM Account ID. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Represents a Google Tag Manager Account.
"accountId": "A String", # The Account ID uniquely identifies the GTM Account.
"fingerprint": "A String", # The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Account display name.
"shareData": True or False, # Whether the account shares data anonymously with Google and others.
}
list(x__xgafv=None)
Lists all GTM Accounts that a user has access to.
Args:
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # List Accounts Response.
"accounts": [ # List of GTM Accounts that a user has access to.
{ # Represents a Google Tag Manager Account.
"accountId": "A String", # The Account ID uniquely identifies the GTM Account.
"fingerprint": "A String", # The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Account display name.
"shareData": True or False, # Whether the account shares data anonymously with Google and others.
},
],
}
update(accountId, body=None, fingerprint=None, x__xgafv=None)
Updates a GTM Account.
Args:
accountId: string, The GTM Account ID. (required)
body: object, The request body.
The object takes the form of:
{ # Represents a Google Tag Manager Account.
"accountId": "A String", # The Account ID uniquely identifies the GTM Account.
"fingerprint": "A String", # The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Account display name.
"shareData": True or False, # Whether the account shares data anonymously with Google and others.
}
fingerprint: string, When provided, this fingerprint must match the fingerprint of the account in storage.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Represents a Google Tag Manager Account.
"accountId": "A String", # The Account ID uniquely identifies the GTM Account.
"fingerprint": "A String", # The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Account display name.
"shareData": True or False, # Whether the account shares data anonymously with Google and others.
}