Gets the latest container version header
list(parent, includeDeleted=None, pageToken=None)
Lists all Container Versions of a GTM Container.
list_next(previous_request, previous_response)
Retrieves the next page of results.
latest(parent)
Gets the latest container version header Args: parent: string, GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} (required) Returns: An object of the form: { # Represents a Google Tag Manager Container Version Header. "name": "A String", # Container version display name. "deleted": True or False, # A value of true indicates this container version has been deleted. "numMacros": "A String", # Number of macros in the container version. "numVariables": "A String", # Number of variables in the container version. "numTags": "A String", # Number of tags in the container version. "numRules": "A String", # Number of rules in the container version. "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. "path": "A String", # GTM Container Versions's API relative path. "numTriggers": "A String", # Number of triggers in the container version. "accountId": "A String", # GTM Account ID. "containerId": "A String", # GTM Container ID. }
list(parent, includeDeleted=None, pageToken=None)
Lists all Container Versions of a GTM Container. Args: parent: string, GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} (required) includeDeleted: boolean, Also retrieve deleted (archived) versions when true. pageToken: string, Continuation token for fetching the next page of results. Returns: An object of the form: { # List container versions response. "nextPageToken": "A String", # Continuation token for fetching the next page of results. "containerVersionHeader": [ # All container version headers of a GTM Container. { # Represents a Google Tag Manager Container Version Header. "name": "A String", # Container version display name. "deleted": True or False, # A value of true indicates this container version has been deleted. "numMacros": "A String", # Number of macros in the container version. "numVariables": "A String", # Number of variables in the container version. "numTags": "A String", # Number of tags in the container version. "numRules": "A String", # Number of rules in the container version. "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. "path": "A String", # GTM Container Versions's API relative path. "numTriggers": "A String", # Number of triggers in the container version. "accountId": "A String", # GTM Account ID. "containerId": "A String", # GTM Container ID. }, ], }
list_next(previous_request, previous_response)
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.