Close httplib2 connections.
createOrUpdate(appPackage, token, body=None, x__xgafv=None)
Create or update tags for the user and app that are represented by the given token.
close()
Close httplib2 connections.
createOrUpdate(appPackage, token, body=None, x__xgafv=None)
Create or update tags for the user and app that are represented by the given token.
Args:
appPackage: string, Required. App whose tags are being manipulated. Format: apps/{package_name} (required)
token: string, Required. Token for which the tags are being inserted or updated. Format: tokens/{token} (required)
body: object, The request body.
The object takes the form of:
{ # Request message for CreateOrUpdateTags. VerifyToken.
"tags": [ # Tags to be inserted or updated.
{ # A tag is associated with exactly one package name and user.
"booleanValue": True or False, # A boolean value of the tag.
"int64Value": "A String", # A signed 64-bit integer value of the tag.
"key": "A String", # Required. Key for the tag.
"stringValue": "A String", # A string value of the tag.
"timeValue": "A String", # A time value of the tag.
},
],
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for CreateOrUpdateTags.
"tags": [ # All requested tags are returned, including pre-existing ones.
{ # A tag is associated with exactly one package name and user.
"booleanValue": True or False, # A boolean value of the tag.
"int64Value": "A String", # A signed 64-bit integer value of the tag.
"key": "A String", # Required. Key for the tag.
"stringValue": "A String", # A string value of the tag.
"timeValue": "A String", # A time value of the tag.
},
],
}