Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a Google tag config.
Deletes a Google tag config.
Gets a Google tag config.
list(parent, pageToken=None, x__xgafv=None)
Lists all Google tag configs in a Container.
Retrieves the next page of results.
update(path, body=None, fingerprint=None, x__xgafv=None)
Updates a Google tag config.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a Google tag config. Args: parent: string, Workspace's API relative path. (required) body: object, The request body. The object takes the form of: { # Represents a Google tag configuration. "accountId": "A String", # Google tag account ID. "containerId": "A String", # Google tag container ID. "fingerprint": "A String", # The fingerprint of the Google tag config as computed at storage time. This value is recomputed whenever the config is modified. "gtagConfigId": "A String", # The ID uniquely identifies the Google tag config. "parameter": [ # The Google tag config's parameters. { # Represents a Google Tag Manager Parameter. "isWeakReference": True or False, # Whether or not a reference type parameter is strongly or weakly referenced. Only used by Transformations. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "type": "A String", # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as 'true' or 'false' - integer: The value represents a 64-bit signed integer value, in base 10 - list: A list of parameters should be specified - map: A map of parameters should be specified - template: The value represents any text; this can include variable references (even variable references that might return non-string types) - trigger_reference: The value represents a trigger, represented as the trigger id - tag_reference: The value represents a tag, represented as the tag name "value": "A String", # A parameter's value (may contain variable references). as appropriate to the specified type. }, ], "path": "A String", # Google tag config's API relative path. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "type": "A String", # Google tag config type. "workspaceId": "A String", # Google tag workspace ID. Only used by GTM containers. Set to 0 otherwise. } 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 configuration. "accountId": "A String", # Google tag account ID. "containerId": "A String", # Google tag container ID. "fingerprint": "A String", # The fingerprint of the Google tag config as computed at storage time. This value is recomputed whenever the config is modified. "gtagConfigId": "A String", # The ID uniquely identifies the Google tag config. "parameter": [ # The Google tag config's parameters. { # Represents a Google Tag Manager Parameter. "isWeakReference": True or False, # Whether or not a reference type parameter is strongly or weakly referenced. Only used by Transformations. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "type": "A String", # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as 'true' or 'false' - integer: The value represents a 64-bit signed integer value, in base 10 - list: A list of parameters should be specified - map: A map of parameters should be specified - template: The value represents any text; this can include variable references (even variable references that might return non-string types) - trigger_reference: The value represents a trigger, represented as the trigger id - tag_reference: The value represents a tag, represented as the tag name "value": "A String", # A parameter's value (may contain variable references). as appropriate to the specified type. }, ], "path": "A String", # Google tag config's API relative path. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "type": "A String", # Google tag config type. "workspaceId": "A String", # Google tag workspace ID. Only used by GTM containers. Set to 0 otherwise. }
delete(path, x__xgafv=None)
Deletes a Google tag config. Args: path: string, Google tag config's API relative path. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format
get(path, x__xgafv=None)
Gets a Google tag config. Args: path: string, Google tag config's API relative path. (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 configuration. "accountId": "A String", # Google tag account ID. "containerId": "A String", # Google tag container ID. "fingerprint": "A String", # The fingerprint of the Google tag config as computed at storage time. This value is recomputed whenever the config is modified. "gtagConfigId": "A String", # The ID uniquely identifies the Google tag config. "parameter": [ # The Google tag config's parameters. { # Represents a Google Tag Manager Parameter. "isWeakReference": True or False, # Whether or not a reference type parameter is strongly or weakly referenced. Only used by Transformations. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "type": "A String", # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as 'true' or 'false' - integer: The value represents a 64-bit signed integer value, in base 10 - list: A list of parameters should be specified - map: A map of parameters should be specified - template: The value represents any text; this can include variable references (even variable references that might return non-string types) - trigger_reference: The value represents a trigger, represented as the trigger id - tag_reference: The value represents a tag, represented as the tag name "value": "A String", # A parameter's value (may contain variable references). as appropriate to the specified type. }, ], "path": "A String", # Google tag config's API relative path. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "type": "A String", # Google tag config type. "workspaceId": "A String", # Google tag workspace ID. Only used by GTM containers. Set to 0 otherwise. }
list(parent, pageToken=None, x__xgafv=None)
Lists all Google tag configs in a Container. Args: parent: string, Workspace's API relative path. (required) pageToken: string, Continuation token for fetching the next page of results. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "gtagConfig": [ # All Google tag configs in a Container. { # Represents a Google tag configuration. "accountId": "A String", # Google tag account ID. "containerId": "A String", # Google tag container ID. "fingerprint": "A String", # The fingerprint of the Google tag config as computed at storage time. This value is recomputed whenever the config is modified. "gtagConfigId": "A String", # The ID uniquely identifies the Google tag config. "parameter": [ # The Google tag config's parameters. { # Represents a Google Tag Manager Parameter. "isWeakReference": True or False, # Whether or not a reference type parameter is strongly or weakly referenced. Only used by Transformations. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "type": "A String", # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as 'true' or 'false' - integer: The value represents a 64-bit signed integer value, in base 10 - list: A list of parameters should be specified - map: A map of parameters should be specified - template: The value represents any text; this can include variable references (even variable references that might return non-string types) - trigger_reference: The value represents a trigger, represented as the trigger id - tag_reference: The value represents a tag, represented as the tag name "value": "A String", # A parameter's value (may contain variable references). as appropriate to the specified type. }, ], "path": "A String", # Google tag config's API relative path. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "type": "A String", # Google tag config type. "workspaceId": "A String", # Google tag workspace ID. Only used by GTM containers. Set to 0 otherwise. }, ], "nextPageToken": "A String", # Continuation token for fetching the next page of results. }
list_next()
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.
update(path, body=None, fingerprint=None, x__xgafv=None)
Updates a Google tag config. Args: path: string, Google tag config's API relative path. (required) body: object, The request body. The object takes the form of: { # Represents a Google tag configuration. "accountId": "A String", # Google tag account ID. "containerId": "A String", # Google tag container ID. "fingerprint": "A String", # The fingerprint of the Google tag config as computed at storage time. This value is recomputed whenever the config is modified. "gtagConfigId": "A String", # The ID uniquely identifies the Google tag config. "parameter": [ # The Google tag config's parameters. { # Represents a Google Tag Manager Parameter. "isWeakReference": True or False, # Whether or not a reference type parameter is strongly or weakly referenced. Only used by Transformations. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "type": "A String", # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as 'true' or 'false' - integer: The value represents a 64-bit signed integer value, in base 10 - list: A list of parameters should be specified - map: A map of parameters should be specified - template: The value represents any text; this can include variable references (even variable references that might return non-string types) - trigger_reference: The value represents a trigger, represented as the trigger id - tag_reference: The value represents a tag, represented as the tag name "value": "A String", # A parameter's value (may contain variable references). as appropriate to the specified type. }, ], "path": "A String", # Google tag config's API relative path. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "type": "A String", # Google tag config type. "workspaceId": "A String", # Google tag workspace ID. Only used by GTM containers. Set to 0 otherwise. } fingerprint: string, When provided, this fingerprint must match the fingerprint of the config 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 configuration. "accountId": "A String", # Google tag account ID. "containerId": "A String", # Google tag container ID. "fingerprint": "A String", # The fingerprint of the Google tag config as computed at storage time. This value is recomputed whenever the config is modified. "gtagConfigId": "A String", # The ID uniquely identifies the Google tag config. "parameter": [ # The Google tag config's parameters. { # Represents a Google Tag Manager Parameter. "isWeakReference": True or False, # Whether or not a reference type parameter is strongly or weakly referenced. Only used by Transformations. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "type": "A String", # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as 'true' or 'false' - integer: The value represents a 64-bit signed integer value, in base 10 - list: A list of parameters should be specified - map: A map of parameters should be specified - template: The value represents any text; this can include variable references (even variable references that might return non-string types) - trigger_reference: The value represents a trigger, represented as the trigger id - tag_reference: The value represents a tag, represented as the tag name "value": "A String", # A parameter's value (may contain variable references). as appropriate to the specified type. }, ], "path": "A String", # Google tag config's API relative path. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "type": "A String", # Google tag config type. "workspaceId": "A String", # Google tag workspace ID. Only used by GTM containers. Set to 0 otherwise. }