147 lines
3.3 KiB
JSON
Executable File
147 lines
3.3 KiB
JSON
Executable File
{
|
|
"methodConfig": [
|
|
{
|
|
"name": [
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "CreateDocument"
|
|
},
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "UpdateDocument"
|
|
},
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "Commit"
|
|
}
|
|
],
|
|
"timeout": "60s",
|
|
"retryPolicy": {
|
|
"maxAttempts": 5,
|
|
"initialBackoff": "0.100s",
|
|
"maxBackoff": "60s",
|
|
"backoffMultiplier": 1.3,
|
|
"retryableStatusCodes": [
|
|
"UNAVAILABLE"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": [
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "BatchGetDocuments"
|
|
},
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "RunQuery"
|
|
},
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "PartitionQuery"
|
|
}
|
|
],
|
|
"timeout": "300s",
|
|
"retryPolicy": {
|
|
"maxAttempts": 5,
|
|
"initialBackoff": "0.100s",
|
|
"maxBackoff": "60s",
|
|
"backoffMultiplier": 1.3,
|
|
"retryableStatusCodes": [
|
|
"UNAVAILABLE",
|
|
"INTERNAL",
|
|
"DEADLINE_EXCEEDED"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": [
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "Listen"
|
|
}
|
|
],
|
|
"timeout": "86400s",
|
|
"retryPolicy": {
|
|
"maxAttempts": 5,
|
|
"initialBackoff": "0.100s",
|
|
"maxBackoff": "60s",
|
|
"backoffMultiplier": 1.3,
|
|
"retryableStatusCodes": [
|
|
"UNAVAILABLE",
|
|
"INTERNAL",
|
|
"DEADLINE_EXCEEDED"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": [
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "Write"
|
|
}
|
|
],
|
|
"timeout": "86400s"
|
|
},
|
|
{
|
|
"name": [
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "GetDocument"
|
|
},
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "ListDocuments"
|
|
},
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "DeleteDocument"
|
|
},
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "BeginTransaction"
|
|
},
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "Rollback"
|
|
},
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "ListCollectionIds"
|
|
}
|
|
],
|
|
"timeout": "60s",
|
|
"retryPolicy": {
|
|
"maxAttempts": 5,
|
|
"initialBackoff": "0.100s",
|
|
"maxBackoff": "60s",
|
|
"backoffMultiplier": 1.3,
|
|
"retryableStatusCodes": [
|
|
"UNAVAILABLE",
|
|
"INTERNAL",
|
|
"DEADLINE_EXCEEDED"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": [
|
|
{
|
|
"service": "google.firestore.v1.Firestore",
|
|
"method": "BatchWrite"
|
|
}
|
|
],
|
|
"timeout": "60s",
|
|
"retryPolicy": {
|
|
"maxAttempts": 5,
|
|
"initialBackoff": "0.100s",
|
|
"maxBackoff": "60s",
|
|
"backoffMultiplier": 1.3,
|
|
"retryableStatusCodes": [
|
|
"UNAVAILABLE",
|
|
"ABORTED"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|