feat: Adding retry policy for OS Config V1 OsConfigService
PiperOrigin-RevId: 306450502
This commit is contained in:
parent
04eff65937
commit
3028060618
|
|
@ -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"
|
||||
}]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue