Skip to content

Commit b216b11

Browse files
1 parent efe8810 commit b216b11

File tree

151 files changed

+26
-77262
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+26
-77262
lines changed

β€Ž.github/workflows/lint.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Python
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: "3.10"
15+
python-version: "3.8"
1616
- name: Install nox
1717
run: |
1818
python -m pip install --upgrade setuptools pip wheel

β€Žgoogle/pubsub_v1/types/pubsub.pyβ€Ž

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,13 @@ class State(proto.Enum):
241241
Permission denied encountered while consuming data from
242242
Kinesis. This can happen if:
243243
244-
- The provided ``aws_role_arn`` does not exist or does not
245-
have the appropriate permissions attached.
246-
- The provided ``aws_role_arn`` is not set up properly for
247-
Identity Federation using ``gcp_service_account``.
248-
- The Pub/Sub SA is not granted the
249-
``iam.serviceAccounts.getOpenIdToken`` permission on
250-
``gcp_service_account``.
244+
- The provided ``aws_role_arn`` does not exist or does not
245+
have the appropriate permissions attached.
246+
- The provided ``aws_role_arn`` is not set up properly for
247+
Identity Federation using ``gcp_service_account``.
248+
- The Pub/Sub SA is not granted the
249+
``iam.serviceAccounts.getOpenIdToken`` permission on
250+
``gcp_service_account``.
251251
PUBLISH_PERMISSION_DENIED (3):
252252
Permission denied encountered while publishing to the topic.
253253
This can happen if the Pub/Sub SA has not been granted the
@@ -347,9 +347,9 @@ class State(proto.Enum):
347347
granted the `appropriate
348348
permissions <https://cloud.google.com/storage/docs/access-control/iam-permissions>`__:
349349
350-
- storage.objects.list: to list the objects in a bucket.
351-
- storage.objects.get: to read the objects in a bucket.
352-
- storage.buckets.get: to verify the bucket exists.
350+
- storage.objects.list: to list the objects in a bucket.
351+
- storage.objects.get: to read the objects in a bucket.
352+
- storage.buckets.get: to verify the bucket exists.
353353
PUBLISH_PERMISSION_DENIED (3):
354354
Permission denied encountered while publishing to the topic.
355355
This can happen if the Pub/Sub SA has not been granted the
@@ -1991,11 +1991,11 @@ class Subscription(proto.Message):
19911991
for the delivery of a message with a given value of
19921992
``message_id`` on this subscription:
19931993
1994-
- The message sent to a subscriber is guaranteed not to be
1995-
resent before the message's acknowledgment deadline
1996-
expires.
1997-
- An acknowledged message will not be resent to a
1998-
subscriber.
1994+
- The message sent to a subscriber is guaranteed not to be
1995+
resent before the message's acknowledgment deadline
1996+
expires.
1997+
- An acknowledged message will not be resent to a
1998+
subscriber.
19991999
20002000
Note that subscribers may still receive multiple copies of a
20012001
message when ``enable_exactly_once_delivery`` is true if the
@@ -2309,10 +2309,10 @@ class PushConfig(proto.Message):
23092309
The only supported values for the ``x-goog-version``
23102310
attribute are:
23112311
2312-
- ``v1beta1``: uses the push format defined in the v1beta1
2313-
Pub/Sub API.
2314-
- ``v1`` or ``v1beta2``: uses the push format defined in
2315-
the v1 Pub/Sub API.
2312+
- ``v1beta1``: uses the push format defined in the v1beta1
2313+
Pub/Sub API.
2314+
- ``v1`` or ``v1beta2``: uses the push format defined in the
2315+
v1 Pub/Sub API.
23162316
23172317
For example: ``attributes { "x-goog-version": "v1" }``
23182318
oidc_token (google.pubsub_v1.types.PushConfig.OidcToken):
@@ -2478,12 +2478,11 @@ class State(proto.Enum):
24782478
Cannot write to the BigQuery table because of permission
24792479
denied errors. This can happen if
24802480
2481-
- Pub/Sub SA has not been granted the `appropriate BigQuery
2482-
IAM
2483-
permissions <https://cloud.google.com/pubsub/docs/create-subscription#assign_bigquery_service_account>`__
2484-
- bigquery.googleapis.com API is not enabled for the
2485-
project
2486-
(`instructions <https://cloud.google.com/service-usage/docs/enable-disable>`__)
2481+
- Pub/Sub SA has not been granted the `appropriate BigQuery
2482+
IAM
2483+
permissions <https://cloud.google.com/pubsub/docs/create-subscription#assign_bigquery_service_account>`__
2484+
- bigquery.googleapis.com API is not enabled for the project
2485+
(`instructions <https://cloud.google.com/service-usage/docs/enable-disable>`__)
24872486
NOT_FOUND (3):
24882487
Cannot write to the BigQuery table because it
24892488
does not exist.

β€Žowl-bot-staging/v1/.coveragercβ€Ž

Lines changed: 0 additions & 13 deletions
This file was deleted.

β€Žowl-bot-staging/v1/.flake8β€Ž

Lines changed: 0 additions & 34 deletions
This file was deleted.

β€Žowl-bot-staging/v1/LICENSEβ€Ž

Lines changed: 0 additions & 202 deletions
This file was deleted.

β€Žowl-bot-staging/v1/MANIFEST.inβ€Ž

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
Β (0)