batchCreate(parent, body=None, x__xgafv=None)
batchDelete(parent, body=None, x__xgafv=None)
batchUpdate(parent, body=None, x__xgafv=None)
Close httplib2 connections.
batchCreate(parent, body=None, x__xgafv=None)
Args:
parent: string, A parameter (required)
body: object, The request body.
The object takes the form of:
{
"entities": [
{
"synonyms": [
"A String",
],
"value": "A String",
},
],
"languageCode": "A String",
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"done": True or False,
"error": {
"code": 42,
"details": [
{
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
],
"message": "A String",
},
"metadata": {
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
"name": "A String",
"response": {
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
}
batchDelete(parent, body=None, x__xgafv=None)
Args:
parent: string, A parameter (required)
body: object, The request body.
The object takes the form of:
{
"entityValues": [
"A String",
],
"languageCode": "A String",
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"done": True or False,
"error": {
"code": 42,
"details": [
{
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
],
"message": "A String",
},
"metadata": {
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
"name": "A String",
"response": {
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
}
batchUpdate(parent, body=None, x__xgafv=None)
Args:
parent: string, A parameter (required)
body: object, The request body.
The object takes the form of:
{
"entities": [
{
"synonyms": [
"A String",
],
"value": "A String",
},
],
"languageCode": "A String",
"updateMask": "A String",
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"done": True or False,
"error": {
"code": 42,
"details": [
{
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
],
"message": "A String",
},
"metadata": {
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
"name": "A String",
"response": {
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
}
close()
Close httplib2 connections.