fix: migrate iot/v1 to grpc_service_config

PiperOrigin-RevId: 322642677
This commit is contained in:
Google APIs 2020-07-22 13:28:51 -07:00 committed by Copybara-Service
parent 1f8c042337
commit 8d582832ea
2 changed files with 3 additions and 35 deletions

View File

@ -64,6 +64,7 @@ java_gapic_library(
name = "iot_java_gapic",
src = ":iot_proto_with_info",
gapic_yaml = "cloudiot_gapic.yaml",
grpc_service_config = "cloudiot_grpc_service_config.json",
package = "google.cloud.iot.v1",
service_yaml = "cloudiot_v1.yaml",
test_deps = [
@ -192,6 +193,7 @@ py_gapic_library(
name = "iot_py_gapic",
src = ":iot_proto_with_info",
gapic_yaml = "cloudiot_gapic.yaml",
grpc_service_config = "cloudiot_grpc_service_config.json",
package = "google.cloud.iot.v1",
service_yaml = "cloudiot_v1.yaml",
deps = [
@ -236,6 +238,7 @@ php_gapic_library(
name = "iot_php_gapic",
src = ":iot_proto_with_info",
gapic_yaml = "cloudiot_gapic.yaml",
grpc_service_config = "cloudiot_grpc_service_config.json",
package = "google.cloud.iot.v1",
service_yaml = "cloudiot_v1.yaml",
deps = [

View File

@ -25,38 +25,3 @@ interfaces:
init_fields:
- parent%project=$PROJECT_ID
- parent%location="us-central1"
retry_codes_def:
- name: rate_limited_aware
retry_codes:
- UNAVAILABLE
- DEADLINE_EXCEEDED
- RESOURCE_EXHAUSTED
# 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: 120000
- name: rate_limited_aware
initial_retry_delay_millis: 1000
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: 120000
methods:
- name: DeleteDeviceRegistry
retry_codes_name: idempotent
- name: DeleteDevice
retry_codes_name: idempotent
- name: ModifyCloudToDeviceConfig
retry_codes_name: rate_limited_aware
retry_params_name: rate_limited_aware
- name: SendCommandToDevice
retry_codes_name: rate_limited_aware
retry_params_name: rate_limited_aware