feat: Adding retry policy for OS Config V1 OsConfigService

PiperOrigin-RevId: 306450502
This commit is contained in:
Google APIs 2020-04-14 09:09:33 -07:00 committed by Copybara-Service
parent 04eff65937
commit 3028060618
2 changed files with 1 additions and 16 deletions

View File

@ -7,21 +7,7 @@
"initialBackoff": "1s",
"maxBackoff": "60s",
"backoffMultiplier": 1.3,
"retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
"retryableStatusCodes": ["UNAVAILABLE"]
}
},
{
"name": [
{ "service": "google.cloud.osconfig.v1.OsConfigService", "method": "ExecutePatchJob" },
{ "service": "google.cloud.osconfig.v1.OsConfigService", "method": "GetPatchJob" },
{ "service": "google.cloud.osconfig.v1.OsConfigService", "method": "CancelPatchJob" },
{ "service": "google.cloud.osconfig.v1.OsConfigService", "method": "ListPatchJobs" },
{ "service": "google.cloud.osconfig.v1.OsConfigService", "method": "ListPatchJobInstanceDetails" },
{ "service": "google.cloud.osconfig.v1.OsConfigService", "method": "CreatePatchDeployment" },
{ "service": "google.cloud.osconfig.v1.OsConfigService", "method": "GetPatchDeployment" },
{ "service": "google.cloud.osconfig.v1.OsConfigService", "method": "ListPatchDeployments" },
{ "service": "google.cloud.osconfig.v1.OsConfigService", "method": "DeletePatchDeployment" }
],
"timeout": "60s"
}]
}

View File

@ -29,7 +29,6 @@ option java_outer_classname = "OsConfigProto";
option java_package = "com.google.cloud.osconfig.v1";
option php_namespace = "Google\\Cloud\\OsConfig\\V1";
option ruby_package = "Google::Cloud::OsConfig::V1";
option (google.api.resource_definition) = {
type: "compute.googleapis.com/Instance"
pattern: "projects/{project}/zones/{zone}/instances/{instance}"