Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

fix: update retry config #31

Merged
merged 28 commits into from Jul 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e1fe633
changes without context
yoshi-automation Jul 1, 2020
0e0d994
debug: wrap shell invocations in logging wrapper
yoshi-automation Jul 1, 2020
cff22be
bazel: update protobuf, rules_go, gazelle, and gapic-generator-go ver…
yoshi-automation Jul 1, 2020
0541ac9
docs: Add comment for MessageStoragePolicy message
yoshi-automation Jul 1, 2020
b1ce4ae
- Add CreateCapacityCommitment method to BigQuery Reservation v1beta1…
yoshi-automation Jul 1, 2020
45e0df1
chore: update gapic-generator and go microgen
yoshi-automation Jul 1, 2020
cb26d08
fix: Fix Recommendationengine bazel dependencies
yoshi-automation Jul 1, 2020
69f7373
docs: change relative URLs to absolute URLs to fix broken links.
yoshi-automation Jul 1, 2020
314fa4f
fix: increase dataproc lro polling timeouts
yoshi-automation Jul 1, 2020
87e2582
Regular update of Google API service config with clarification of doc…
yoshi-automation Jul 1, 2020
452a88c
fix!: Provide C#, Ruby and PHP namespace/package options.
yoshi-automation Jul 1, 2020
77d1bf4
feat: Add Resource to the v1 NotificationMessage, which contains reso…
yoshi-automation Jul 1, 2020
330e249
feat: Add Resource to the vp1beta1 NotificationMessage, which contain…
yoshi-automation Jul 1, 2020
fba53af
fix: update method_signature annotation for list RPC
yoshi-automation Jul 1, 2020
d63f334
chore: set Ruby namespace in proto options
yoshi-automation Jul 1, 2020
afbe60a
fix: migrate recommender/v1 to grpc_service_config
yoshi-automation Jul 1, 2020
96d71ea
fix: migrate recommender/v1beta1 to grpc_service_config
yoshi-automation Jul 1, 2020
4d53512
fix: use protoc-docs-plugin 0.8.0
yoshi-automation Jul 1, 2020
74cb0b4
chore: update gapic-generator to v2.2.0
yoshi-automation Jul 1, 2020
ec64cd6
fix: remove "com." prefix in config service names
yoshi-automation Jul 1, 2020
d9497bb
fix: migrate secrets/v1beta1 to grpc_service_config
yoshi-automation Jul 1, 2020
b2ee559
Fix a format issue and missing document content.
yoshi-automation Jul 1, 2020
e46708d
feat: migrate websecurityscanner v1beta BUILD.bazel python part to us…
yoshi-automation Jul 1, 2020
f61ae3a
chore: update grpc to v1.30.0
yoshi-automation Jul 1, 2020
c884808
Updates to build Google Ads API build files.
yoshi-automation Jul 1, 2020
fa9c8be
chore: use gapic-generator-typescript v1.0.3.
yoshi-automation Jul 1, 2020
894a954
build: pass package_name to protoc in Node.js Bazel build
yoshi-automation Jul 1, 2020
f39e19c
This is first release of the API protos and Bazel BUILD files for the…
yoshi-automation Jul 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions google/cloud/recommender_v1/__init__.py
Expand Up @@ -26,8 +26,8 @@

if sys.version_info[:2] == (2, 7):
message = (
"A future version of this library will drop support for Python 2.7."
"More details about Python 2 support for Google Cloud Client Libraries"
"A future version of this library will drop support for Python 2.7. "
"More details about Python 2 support for Google Cloud Client Libraries "
"can be found at https://cloud.google.com/python/docs/python2-sunset/"
)
warnings.warn(message, DeprecationWarning)
Expand Down
53 changes: 36 additions & 17 deletions google/cloud/recommender_v1/gapic/recommender_client_config.py
Expand Up @@ -2,45 +2,64 @@
"interfaces": {
"google.cloud.recommender.v1.Recommender": {
"retry_codes": {
"idempotent": ["DEADLINE_EXCEEDED", "UNAVAILABLE"],
"non_idempotent": [],
"retry_policy_1_codes": ["DEADLINE_EXCEEDED", "UNAVAILABLE"],
"no_retry_codes": [],
"no_retry_1_codes": [],
},
"retry_params": {
"default": {
"retry_policy_1_params": {
"initial_retry_delay_millis": 100,
"retry_delay_multiplier": 1.3,
"max_retry_delay_millis": 60000,
"initial_rpc_timeout_millis": 20000,
"initial_rpc_timeout_millis": 60000,
"rpc_timeout_multiplier": 1.0,
"max_rpc_timeout_millis": 20000,
"total_timeout_millis": 600000,
}
"max_rpc_timeout_millis": 60000,
"total_timeout_millis": 60000,
},
"no_retry_params": {
"initial_retry_delay_millis": 0,
"retry_delay_multiplier": 0.0,
"max_retry_delay_millis": 0,
"initial_rpc_timeout_millis": 0,
"rpc_timeout_multiplier": 1.0,
"max_rpc_timeout_millis": 0,
"total_timeout_millis": 0,
},
"no_retry_1_params": {
"initial_retry_delay_millis": 0,
"retry_delay_multiplier": 0.0,
"max_retry_delay_millis": 0,
"initial_rpc_timeout_millis": 60000,
"rpc_timeout_multiplier": 1.0,
"max_rpc_timeout_millis": 60000,
"total_timeout_millis": 60000,
},
},
"methods": {
"ListRecommendations": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params",
},
"GetRecommendation": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params",
},
"MarkRecommendationClaimed": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
"retry_codes_name": "no_retry_1_codes",
"retry_params_name": "no_retry_1_params",
},
"MarkRecommendationSucceeded": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
"retry_codes_name": "no_retry_1_codes",
"retry_params_name": "no_retry_1_params",
},
"MarkRecommendationFailed": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
"retry_codes_name": "no_retry_1_codes",
"retry_params_name": "no_retry_1_params",
},
},
}
Expand Down