fix: migrate monitoring/v3 to grpc_service_config

PiperOrigin-RevId: 318542700
This commit is contained in:
Google APIs 2020-06-26 14:20:11 -07:00 committed by Copybara-Service
parent d13e2da372
commit 7c577e89f1
2 changed files with 3 additions and 61 deletions

View File

@ -85,6 +85,7 @@ java_gapic_library(
name = "monitoring_java_gapic",
src = ":monitoring_proto_with_info",
gapic_yaml = "monitoring_gapic.yaml",
grpc_service_config = "monitoring_grpc_service_config.json",
package = "google.monitoring.v3",
service_yaml = "monitoring.yaml",
test_deps = [
@ -231,6 +232,7 @@ py_gapic_library(
name = "monitoring_py_gapic",
src = ":monitoring_proto_with_info",
gapic_yaml = "monitoring_gapic.yaml",
grpc_service_config = "monitoring_grpc_service_config.json",
package = "google.monitoring.v3",
service_yaml = "monitoring.yaml",
deps = [
@ -275,6 +277,7 @@ php_gapic_library(
name = "monitoring_php_gapic",
src = ":monitoring_proto_with_info",
gapic_yaml = "monitoring_gapic.yaml",
grpc_service_config = "monitoring_grpc_service_config.json",
package = "google.monitoring.v3",
service_yaml = "monitoring.yaml",
deps = [

View File

@ -22,69 +22,8 @@ language_settings:
domain_layer_location: google-cloud
# A list of API interface configurations.
interfaces:
# The fully qualified name of the API interface.
- name: google.monitoring.v3.AlertPolicyService
methods:
- name: DeleteAlertPolicy
retry_codes_name: idempotent
- name: google.monitoring.v3.GroupService
methods:
- name: UpdateGroup
retry_codes_name: idempotent
- name: DeleteGroup
retry_codes_name: idempotent
- name: google.monitoring.v3.MetricService
smoke_test:
method: ListMonitoredResourceDescriptors
init_fields:
- name%project=$PROJECT_ID
retry_params_def:
- name: default
initial_retry_delay_millis: 100
retry_delay_multiplier: 1.3
max_retry_delay_millis: 60000
initial_rpc_timeout_millis: 30000
rpc_timeout_multiplier: 1.3
max_rpc_timeout_millis: 90000
total_timeout_millis: 600000
methods:
- name: ListMonitoredResourceDescriptors
retry_params_name: default
- name: GetMonitoredResourceDescriptor
retry_params_name: default
- name: ListMetricDescriptors
retry_params_name: default
- name: GetMetricDescriptor
retry_params_name: default
- name: CreateMetricDescriptor
retry_params_name: default
- name: DeleteMetricDescriptor
retry_codes_name: idempotent
retry_params_name: default
- name: ListTimeSeries
retry_params_name: default
- name: CreateTimeSeries
retry_params_name: default
- name: google.monitoring.v3.NotificationChannelService
methods:
- name: DeleteNotificationChannel
retry_codes_name: idempotent
- name: GetNotificationChannelVerificationCode
retry_codes_name: idempotent
- name: VerifyNotificationChannel
retry_codes_name: idempotent
- name: google.monitoring.v3.ServiceMonitoringService
methods:
- name: DeleteService
retry_codes_name: idempotent
- name: DeleteServiceLevelObjective
retry_codes_name: idempotent
- name: google.monitoring.v3.UptimeCheckService
methods:
- name: DeleteUptimeCheckConfig
retry_codes_name: idempotent