diff --git a/PubSub/src/V1/resources/publisher_client_config.json b/PubSub/src/V1/resources/publisher_client_config.json index a1e423d073ab..07b6522cd26a 100644 --- a/PubSub/src/V1/resources/publisher_client_config.json +++ b/PubSub/src/V1/resources/publisher_client_config.json @@ -3,11 +3,15 @@ "google.pubsub.v1.Publisher": { "retry_codes": { "idempotent": [ - "DEADLINE_EXCEEDED", + "ABORTED", + "UNAVAILABLE", + "UNKNOWN" + ], + "non_idempotent": [ "UNAVAILABLE" ], - "non_idempotent": [], - "one_plus_delivery": [ + "none": [], + "publish": [ "ABORTED", "CANCELLED", "DEADLINE_EXCEEDED", @@ -40,17 +44,17 @@ "methods": { "CreateTopic": { "timeout_millis": 60000, - "retry_codes_name": "idempotent", + "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "UpdateTopic": { "timeout_millis": 60000, - "retry_codes_name": "idempotent", + "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "Publish": { "timeout_millis": 60000, - "retry_codes_name": "one_plus_delivery", + "retry_codes_name": "publish", "retry_params_name": "messaging", "bundling": { "element_count_threshold": 10, @@ -77,7 +81,7 @@ }, "DeleteTopic": { "timeout_millis": 60000, - "retry_codes_name": "idempotent", + "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetIamPolicy": { diff --git a/PubSub/src/V1/resources/subscriber_client_config.json b/PubSub/src/V1/resources/subscriber_client_config.json index f957829eca0d..fe666a0e7e84 100644 --- a/PubSub/src/V1/resources/subscriber_client_config.json +++ b/PubSub/src/V1/resources/subscriber_client_config.json @@ -3,16 +3,14 @@ "google.pubsub.v1.Subscriber": { "retry_codes": { "idempotent": [ - "DEADLINE_EXCEEDED", - "UNAVAILABLE" + "ABORTED", + "UNAVAILABLE", + "UNKNOWN" ], - "pull": [ - "DEADLINE_EXCEEDED", - "INTERNAL", - "RESOURCE_EXHAUSTED", + "non_idempotent": [ "UNAVAILABLE" ], - "non_idempotent": [] + "none": [] }, "retry_params": { "default": { @@ -56,7 +54,7 @@ }, "UpdateSubscription": { "timeout_millis": 60000, - "retry_codes_name": "idempotent", + "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "ListSubscriptions": { @@ -66,7 +64,7 @@ }, "DeleteSubscription": { "timeout_millis": 60000, - "retry_codes_name": "idempotent", + "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "ModifyAckDeadline": { @@ -76,12 +74,12 @@ }, "Acknowledge": { "timeout_millis": 60000, - "retry_codes_name": "idempotent", + "retry_codes_name": "non_idempotent", "retry_params_name": "messaging" }, "Pull": { "timeout_millis": 60000, - "retry_codes_name": "pull", + "retry_codes_name": "idempotent", "retry_params_name": "messaging" }, "StreamingPull": { @@ -99,22 +97,22 @@ }, "CreateSnapshot": { "timeout_millis": 60000, - "retry_codes_name": "idempotent", + "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "UpdateSnapshot": { "timeout_millis": 60000, - "retry_codes_name": "idempotent", + "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "DeleteSnapshot": { "timeout_millis": 60000, - "retry_codes_name": "idempotent", + "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "Seek": { "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", + "retry_codes_name": "idempotent", "retry_params_name": "default" }, "SetIamPolicy": { diff --git a/PubSub/synth.metadata b/PubSub/synth.metadata index 21d4dc53916e..ea1eee9bf25f 100644 --- a/PubSub/synth.metadata +++ b/PubSub/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-02-02T11:02:52.477468Z", + "updateTime": "2019-02-13T11:01:15.874039Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.8", - "dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7" + "version": "0.16.13", + "dockerImage": "googleapis/artman@sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a", - "internalRef": "231974277" + "sha": "ca61898878f0926dd9dcc68ba90764f17133efe4", + "internalRef": "233680013" } } ],