Adding gRPC service config for Billing Budgets API.

PiperOrigin-RevId: 279175129
This commit is contained in:
Google APIs 2019-11-07 14:59:43 -08:00 committed by Copybara-Service
parent 3eb9118770
commit ff413d36f8
3 changed files with 45 additions and 1 deletions

View File

@ -6,7 +6,7 @@ common:
- name: google-common-protos
src_proto_paths:
- v1beta1
service_yaml: billingbudgets.yaml
service_yaml: v1beta1/billingbudgets.yaml
gapic_yaml: v1beta1/billingbudgets_gapic.yaml
artifacts:
- name: gapic_config

View File

@ -0,0 +1,44 @@
{
"methodConfig": [
{
"name": [
{
"service": "google.cloud.billing.budgets.v1beta1.BudgetService",
"method": "CreateBudget"
}
],
"timeout": "60s"
},
{
"name": [
{
"service": "google.cloud.billing.budgets.v1beta1.BudgetService",
"method": "UpdateBudget"
},
{
"service": "google.cloud.billing.budgets.v1beta1.BudgetService",
"method": "GetBudget"
},
{
"service": "google.cloud.billing.budgets.v1beta1.BudgetService",
"method": "ListBudgets"
},
{
"service": "google.cloud.billing.budgets.v1beta1.BudgetService",
"method": "DeleteBudget"
}
],
"timeout": "60s",
"retryPolicy": {
"maxAttempts": 5,
"initialBackoff": "0.100s",
"maxBackoff": "60s",
"backoffMultiplier": 1.3,
"retryableStatusCodes": [
"DEADLINE_EXCEEDED",
"UNAVAILABLE"
]
}
}
]
}