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

fix: tweak retry params for 'ListInsights'/'GetInsight'/'MarkInsightAccepted' API calls (via synth) #49

Merged
merged 1 commit into from Oct 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Expand Up @@ -39,17 +39,17 @@
"ListInsights": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "no_retry_params",
"retry_params_name": "retry_policy_1_params",
},
"GetInsight": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "no_retry_params",
"retry_params_name": "retry_policy_1_params",
},
"MarkInsightAccepted": {
"timeout_millis": 60000,
"retry_codes_name": "no_retry_1_codes",
"retry_params_name": "no_retry_params",
"retry_params_name": "no_retry_1_params",
},
"ListRecommendations": {
"timeout_millis": 60000,
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/recommender_v1/proto/recommender_service_pb2.py
Expand Up @@ -1300,7 +1300,7 @@
state_metadata:
State properties to include with this state. Overwrites any
existing ``state_metadata``. Keys must match the regex ``/
[1]_[a-z0-9_.-]{0,62}/``. Values must match the regex
[2]_[a-z0-9_.-]{0,62}/``. Values must match the regex
``/^[a-zA-Z0-9_./-]{0,255}/``.
etag:
Required. Fingerprint of the Recommendation. Provides
Expand Down Expand Up @@ -1335,7 +1335,7 @@
state_metadata:
State properties to include with this state. Overwrites any
existing ``state_metadata``. Keys must match the regex ``/
[2]_[a-z0-9_.-]{0,62}/``. Values must match the regex
[1]_[a-z0-9_.-]{0,62}/``. Values must match the regex
``/^[a-zA-Z0-9_./-]{0,255}/``.
etag:
Required. Fingerprint of the Recommendation. Provides
Expand Down
Expand Up @@ -1092,7 +1092,8 @@
filter:
Optional. Filter expression to restrict the insights returned.
Supported filter fields: state Eg: \`state:“DISMISSED” or
state:“ACTIVE”
state:“ACTIVE” .. [1] a-z0-9 .. [2] a-z0-9 .. [3]
a-z0-9
""",
# @@protoc_insertion_point(class_scope:google.cloud.recommender.v1beta1.ListInsightsRequest)
},
Expand Down Expand Up @@ -1338,8 +1339,7 @@
``/^[a-zA-Z0-9_./-]{0,255}/``.
etag:
Required. Fingerprint of the Recommendation. Provides
optimistic locking. .. [1] a-z0-9 .. [2] a-z0-9 ..
[3] a-z0-9
optimistic locking.
""",
# @@protoc_insertion_point(class_scope:google.cloud.recommender.v1beta1.MarkRecommendationFailedRequest)
},
Expand Down
117 changes: 115 additions & 2 deletions synth.metadata
Expand Up @@ -3,8 +3,16 @@
{
"git": {
"name": ".",
"remote": "git@github.com:googleapis/python-recommender.git",
"sha": "e6c1f543789d423bd775ca61a80d4d6a692ca507"
"remote": "https://github.com/googleapis/python-recommender.git",
"sha": "ddbef1904ab1d5736c777de18f666b1c48ab5143"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "ab0498dc4bd2bcfcb70ab257e8edfa00f86083a6",
"internalRef": "339531446"
}
},
{
Expand Down Expand Up @@ -41,5 +49,110 @@
"generator": "bazel"
}
}
],
"generatedFiles": [
".coveragerc",
".flake8",
".github/CONTRIBUTING.md",
".github/ISSUE_TEMPLATE/bug_report.md",
".github/ISSUE_TEMPLATE/feature_request.md",
".github/ISSUE_TEMPLATE/support_request.md",
".github/PULL_REQUEST_TEMPLATE.md",
".github/release-please.yml",
".github/snippet-bot.yml",
".gitignore",
".kokoro/build.sh",
".kokoro/continuous/common.cfg",
".kokoro/continuous/continuous.cfg",
".kokoro/docker/docs/Dockerfile",
".kokoro/docker/docs/fetch_gpg_keys.sh",
".kokoro/docs/common.cfg",
".kokoro/docs/docs-presubmit.cfg",
".kokoro/docs/docs.cfg",
".kokoro/populate-secrets.sh",
".kokoro/presubmit/common.cfg",
".kokoro/presubmit/presubmit.cfg",
".kokoro/publish-docs.sh",
".kokoro/release.sh",
".kokoro/release/common.cfg",
".kokoro/release/release.cfg",
".kokoro/samples/lint/common.cfg",
".kokoro/samples/lint/continuous.cfg",
".kokoro/samples/lint/periodic.cfg",
".kokoro/samples/lint/presubmit.cfg",
".kokoro/samples/python3.6/common.cfg",
".kokoro/samples/python3.6/continuous.cfg",
".kokoro/samples/python3.6/periodic.cfg",
".kokoro/samples/python3.6/presubmit.cfg",
".kokoro/samples/python3.7/common.cfg",
".kokoro/samples/python3.7/continuous.cfg",
".kokoro/samples/python3.7/periodic.cfg",
".kokoro/samples/python3.7/presubmit.cfg",
".kokoro/samples/python3.8/common.cfg",
".kokoro/samples/python3.8/continuous.cfg",
".kokoro/samples/python3.8/periodic.cfg",
".kokoro/samples/python3.8/presubmit.cfg",
".kokoro/test-samples.sh",
".kokoro/trampoline.sh",
".kokoro/trampoline_v2.sh",
".trampolinerc",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.rst",
"LICENSE",
"MANIFEST.in",
"docs/_static/custom.css",
"docs/_templates/layout.html",
"docs/conf.py",
"docs/gapic/v1/api.rst",
"docs/gapic/v1/types.rst",
"docs/gapic/v1beta1/api.rst",
"docs/gapic/v1beta1/types.rst",
"docs/multiprocessing.rst",
"google/__init__.py",
"google/cloud/__init__.py",
"google/cloud/recommender.py",
"google/cloud/recommender_v1/__init__.py",
"google/cloud/recommender_v1/gapic/__init__.py",
"google/cloud/recommender_v1/gapic/enums.py",
"google/cloud/recommender_v1/gapic/recommender_client.py",
"google/cloud/recommender_v1/gapic/recommender_client_config.py",
"google/cloud/recommender_v1/gapic/transports/__init__.py",
"google/cloud/recommender_v1/gapic/transports/recommender_grpc_transport.py",
"google/cloud/recommender_v1/proto/__init__.py",
"google/cloud/recommender_v1/proto/insight_pb2.py",
"google/cloud/recommender_v1/proto/insight_pb2_grpc.py",
"google/cloud/recommender_v1/proto/recommendation_pb2.py",
"google/cloud/recommender_v1/proto/recommendation_pb2_grpc.py",
"google/cloud/recommender_v1/proto/recommender_service_pb2.py",
"google/cloud/recommender_v1/proto/recommender_service_pb2_grpc.py",
"google/cloud/recommender_v1/types.py",
"google/cloud/recommender_v1beta1/__init__.py",
"google/cloud/recommender_v1beta1/gapic/__init__.py",
"google/cloud/recommender_v1beta1/gapic/enums.py",
"google/cloud/recommender_v1beta1/gapic/recommender_client.py",
"google/cloud/recommender_v1beta1/gapic/recommender_client_config.py",
"google/cloud/recommender_v1beta1/gapic/transports/__init__.py",
"google/cloud/recommender_v1beta1/gapic/transports/recommender_grpc_transport.py",
"google/cloud/recommender_v1beta1/proto/__init__.py",
"google/cloud/recommender_v1beta1/proto/insight_pb2.py",
"google/cloud/recommender_v1beta1/proto/insight_pb2_grpc.py",
"google/cloud/recommender_v1beta1/proto/recommendation_pb2.py",
"google/cloud/recommender_v1beta1/proto/recommendation_pb2_grpc.py",
"google/cloud/recommender_v1beta1/proto/recommender_service_pb2.py",
"google/cloud/recommender_v1beta1/proto/recommender_service_pb2_grpc.py",
"google/cloud/recommender_v1beta1/types.py",
"noxfile.py",
"renovate.json",
"scripts/decrypt-secrets.sh",
"scripts/readme-gen/readme_gen.py",
"scripts/readme-gen/templates/README.tmpl.rst",
"scripts/readme-gen/templates/auth.tmpl.rst",
"scripts/readme-gen/templates/auth_api_key.tmpl.rst",
"scripts/readme-gen/templates/install_deps.tmpl.rst",
"scripts/readme-gen/templates/install_portaudio.tmpl.rst",
"setup.cfg",
"testing/.gitignore",
"tests/unit/gapic/v1/test_recommender_client_v1.py",
"tests/unit/gapic/v1beta1/test_recommender_client_v1beta1.py"
]
}