1{ 2 "methodConfig": [ 3 { 4 "name": [ 5 { 6 "service": "google.firestore.v1.Firestore", 7 "method": "CreateDocument" 8 }, 9 { 10 "service": "google.firestore.v1.Firestore", 11 "method": "UpdateDocument" 12 }, 13 { 14 "service": "google.firestore.v1.Firestore", 15 "method": "Commit" 16 } 17 ], 18 "timeout": "60s", 19 "retryPolicy": { 20 "maxAttempts": 5, 21 "initialBackoff": "0.100s", 22 "maxBackoff": "60s", 23 "backoffMultiplier": 1.3, 24 "retryableStatusCodes": [ 25 "RESOURCE_EXHAUSTED", 26 "UNAVAILABLE" 27 ] 28 } 29 }, 30 { 31 "name": [ 32 { 33 "service": "google.firestore.v1.Firestore", 34 "method": "BatchGetDocuments" 35 }, 36 { 37 "service": "google.firestore.v1.Firestore", 38 "method": "RunQuery" 39 }, 40 { 41 "service": "google.firestore.v1.Firestore", 42 "method": "PartitionQuery" 43 }, 44 { 45 "service": "google.firestore.v1.Firestore", 46 "method": "RunAggregationQuery" 47 } 48 ], 49 "timeout": "300s", 50 "retryPolicy": { 51 "maxAttempts": 5, 52 "initialBackoff": "0.100s", 53 "maxBackoff": "60s", 54 "backoffMultiplier": 1.3, 55 "retryableStatusCodes": [ 56 "RESOURCE_EXHAUSTED", 57 "UNAVAILABLE", 58 "INTERNAL", 59 "DEADLINE_EXCEEDED" 60 ] 61 } 62 }, 63 { 64 "name": [ 65 { 66 "service": "google.firestore.v1.Firestore", 67 "method": "Listen" 68 } 69 ], 70 "timeout": "86400s", 71 "retryPolicy": { 72 "maxAttempts": 5, 73 "initialBackoff": "0.100s", 74 "maxBackoff": "60s", 75 "backoffMultiplier": 1.3, 76 "retryableStatusCodes": [ 77 "RESOURCE_EXHAUSTED", 78 "UNAVAILABLE", 79 "INTERNAL", 80 "DEADLINE_EXCEEDED" 81 ] 82 } 83 }, 84 { 85 "name": [ 86 { 87 "service": "google.firestore.v1.Firestore", 88 "method": "Write" 89 } 90 ], 91 "timeout": "86400s" 92 }, 93 { 94 "name": [ 95 { 96 "service": "google.firestore.v1.Firestore", 97 "method": "GetDocument" 98 }, 99 { 100 "service": "google.firestore.v1.Firestore", 101 "method": "ListDocuments" 102 }, 103 { 104 "service": "google.firestore.v1.Firestore", 105 "method": "DeleteDocument" 106 }, 107 { 108 "service": "google.firestore.v1.Firestore", 109 "method": "BeginTransaction" 110 }, 111 { 112 "service": "google.firestore.v1.Firestore", 113 "method": "Rollback" 114 }, 115 { 116 "service": "google.firestore.v1.Firestore", 117 "method": "ListCollectionIds" 118 } 119 ], 120 "timeout": "60s", 121 "retryPolicy": { 122 "maxAttempts": 5, 123 "initialBackoff": "0.100s", 124 "maxBackoff": "60s", 125 "backoffMultiplier": 1.3, 126 "retryableStatusCodes": [ 127 "RESOURCE_EXHAUSTED", 128 "UNAVAILABLE", 129 "INTERNAL", 130 "DEADLINE_EXCEEDED" 131 ] 132 } 133 }, 134 { 135 "name": [ 136 { 137 "service": "google.firestore.v1.Firestore", 138 "method": "BatchWrite" 139 } 140 ], 141 "timeout": "60s", 142 "retryPolicy": { 143 "maxAttempts": 5, 144 "initialBackoff": "0.100s", 145 "maxBackoff": "60s", 146 "backoffMultiplier": 1.3, 147 "retryableStatusCodes": [ 148 "RESOURCE_EXHAUSTED", 149 "UNAVAILABLE", 150 "ABORTED" 151 ] 152 } 153 } 154 ] 155} 156