fix: migrate billing/budgets/v1beta1 to grpc_service_config
PiperOrigin-RevId: 318180691
This commit is contained in:
parent
b5549ea16a
commit
e569fc5ac9
|
|
@ -62,6 +62,7 @@ java_gapic_library(
|
|||
name = "budgets_java_gapic",
|
||||
src = ":budgets_proto_with_info",
|
||||
gapic_yaml = "billingbudgets_gapic.yaml",
|
||||
grpc_service_config = "billingbudgets_grpc_service_config.json",
|
||||
package = "google.cloud.billing.budgets.v1beta1",
|
||||
service_yaml = "billingbudgets.yaml",
|
||||
test_deps = [
|
||||
|
|
@ -184,6 +185,7 @@ py_gapic_library(
|
|||
name = "budgets_py_gapic",
|
||||
src = ":budgets_proto_with_info",
|
||||
gapic_yaml = "billingbudgets_gapic.yaml",
|
||||
grpc_service_config = "billingbudgets_grpc_service_config.json",
|
||||
package = "google.cloud.billing.budgets.v1beta1",
|
||||
service_yaml = "billingbudgets.yaml",
|
||||
deps = [
|
||||
|
|
@ -228,6 +230,7 @@ php_gapic_library(
|
|||
name = "budgets_php_gapic",
|
||||
src = ":budgets_proto_with_info",
|
||||
gapic_yaml = "billingbudgets_gapic.yaml",
|
||||
grpc_service_config = "billingbudgets_grpc_service_config.json",
|
||||
package = "google.cloud.billing.budgets.v1beta1",
|
||||
service_yaml = "billingbudgets.yaml",
|
||||
deps = [
|
||||
|
|
|
|||
|
|
@ -17,54 +17,5 @@ language_settings:
|
|||
nodejs:
|
||||
package_name: billing-budgets.v1beta1
|
||||
domain_layer_location: google-cloud
|
||||
# A list of API interface configurations.
|
||||
interfaces:
|
||||
# The fully qualified name of the API interface.
|
||||
- name: google.cloud.billing.budgets.v1beta1.BudgetService
|
||||
# Definition for retryable codes.
|
||||
retry_codes_def:
|
||||
- name: idempotent
|
||||
retry_codes:
|
||||
- DEADLINE_EXCEEDED
|
||||
- UNAVAILABLE
|
||||
- name: non_idempotent
|
||||
retry_codes: []
|
||||
# Definition for retry/backoff parameters.
|
||||
retry_params_def:
|
||||
- name: default
|
||||
initial_retry_delay_millis: 100
|
||||
retry_delay_multiplier: 1.3
|
||||
max_retry_delay_millis: 60000
|
||||
initial_rpc_timeout_millis: 20000
|
||||
rpc_timeout_multiplier: 1
|
||||
max_rpc_timeout_millis: 20000
|
||||
total_timeout_millis: 600000
|
||||
# A list of method configurations.
|
||||
# Common properties:
|
||||
#
|
||||
# name - The simple name of the method.
|
||||
#
|
||||
# retry_codes_name - Specifies the configuration for retryable codes. The
|
||||
# name must be defined in interfaces.retry_codes_def.
|
||||
#
|
||||
# retry_params_name - Specifies the configuration for retry/backoff
|
||||
# parameters. The name must be defined in interfaces.retry_params_def.
|
||||
#
|
||||
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
||||
# the call is retrying, refer to retry_params_name instead.
|
||||
methods:
|
||||
- name: CreateBudget
|
||||
retry_codes_name: non_idempotent
|
||||
retry_params_name: default
|
||||
- name: UpdateBudget
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: default
|
||||
- name: GetBudget
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: default
|
||||
- name: ListBudgets
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: default
|
||||
- name: DeleteBudget
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: default
|
||||
|
|
|
|||
Loading…
Reference in New Issue