Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4113758

Browse files
yoshi-automationtseaver
authored andcommitted
Remove send/recv msg size limit, update docstrings (via synth). (#8964)
1 parenta015978 commit4113758

File tree

7 files changed

+227
-221
lines changed

7 files changed

+227
-221
lines changed

‎pubsub/google/cloud/pubsub_v1/gapic/publisher_client.py‎

Lines changed: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -268,26 +268,20 @@ def create_topic(
268268
must not start with `"goog"`.
269269
labels (dict[str -> str]): See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
270270
managing labels</a>.
271-
message_storage_policy (Union[dict, ~google.cloud.pubsub_v1.types.MessageStoragePolicy]): Policy constraining how messages published to the topic may be stored. It
272-
is determined when the topic is created based on the policy configured at
273-
the project level. It must not be set by the caller in the request to
274-
CreateTopic or to UpdateTopic. This field will be populated in the
275-
responses for GetTopic, CreateTopic, and UpdateTopic: if not present in the
276-
response, then no constraints are in effect.
271+
message_storage_policy (Union[dict, ~google.cloud.pubsub_v1.types.MessageStoragePolicy]): Policy constraining the set of Google Cloud Platform regions where messages
272+
published to the topic may be stored. If not present, then no constraints
273+
are in effect.
277274
278275
If a dict is provided, it must be of the same form as the protobuf
279276
message :class:`~google.cloud.pubsub_v1.types.MessageStoragePolicy`
280277
kms_key_name (str): The resource name of the Cloud KMS CryptoKey to be used to protect
281278
access to messages published on this topic.
282279
283280
The expected format is
284-
``projects/*/locations/*/keyRings/*/cryptoKeys/*``. EXPERIMENTAL: This
285-
feature is part of a closed alpha release. This API might be changed in
286-
backward-incompatible ways and is not recommended for production use. It
287-
is not subject to any SLA or deprecation policy.
281+
``projects/*/locations/*/keyRings/*/cryptoKeys/*``.
288282
retry (Optional[google.api_core.retry.Retry]): A retry object used
289-
to retry requests. If ``None`` is specified, requests will not
290-
be retried.
283+
to retry requests. If ``None`` is specified, requests will
284+
be retried using a default configuration.
291285
timeout (Optional[float]): The amount of time, in seconds, to wait
292286
for the request to complete. Note that if ``retry`` is
293287
specified, the timeout applies to each individual attempt.
@@ -378,8 +372,8 @@ def update_topic(
378372
If a dict is provided, it must be of the same form as the protobuf
379373
message :class:`~google.cloud.pubsub_v1.types.FieldMask`
380374
retry (Optional[google.api_core.retry.Retry]): A retry object used
381-
to retry requests. If ``None`` is specified, requests will not
382-
be retried.
375+
to retry requests. If ``None`` is specified, requests will
376+
be retried using a default configuration.
383377
timeout (Optional[float]): The amount of time, in seconds, to wait
384378
for the request to complete. Note that if ``retry`` is
385379
specified, the timeout applies to each individual attempt.
@@ -457,8 +451,8 @@ def publish(
457451
If a dict is provided, it must be of the same form as the protobuf
458452
message :class:`~google.cloud.pubsub_v1.types.PubsubMessage`
459453
retry (Optional[google.api_core.retry.Retry]): A retry object used
460-
to retry requests. If ``None`` is specified, requests will not
461-
be retried.
454+
to retry requests. If ``None`` is specified, requests will
455+
be retried using a default configuration.
462456
timeout (Optional[float]): The amount of time, in seconds, to wait
463457
for the request to complete. Note that if ``retry`` is
464458
specified, the timeout applies to each individual attempt.
@@ -527,8 +521,8 @@ def get_topic(
527521
topic (str): The name of the topic to get. Format is
528522
``projects/{project}/topics/{topic}``.
529523
retry (Optional[google.api_core.retry.Retry]): A retry object used
530-
to retry requests. If ``None`` is specified, requests will not
531-
be retried.
524+
to retry requests. If ``None`` is specified, requests will
525+
be retried using a default configuration.
532526
timeout (Optional[float]): The amount of time, in seconds, to wait
533527
for the request to complete. Note that if ``retry`` is
534528
specified, the timeout applies to each individual attempt.
@@ -615,8 +609,8 @@ def list_topics(
615609
streaming is performed per-page, this determines the maximum number
616610
of resources in a page.
617611
retry (Optional[google.api_core.retry.Retry]): A retry object used
618-
to retry requests. If ``None`` is specified, requests will not
619-
be retried.
612+
to retry requests. If ``None`` is specified, requests will
613+
be retried using a default configuration.
620614
timeout (Optional[float]): The amount of time, in seconds, to wait
621615
for the request to complete. Note that if ``retry`` is
622616
specified, the timeout applies to each individual attempt.
@@ -717,8 +711,8 @@ def list_topic_subscriptions(
717711
streaming is performed per-page, this determines the maximum number
718712
of resources in a page.
719713
retry (Optional[google.api_core.retry.Retry]): A retry object used
720-
to retry requests. If ``None`` is specified, requests will not
721-
be retried.
714+
to retry requests. If ``None`` is specified, requests will
715+
be retried using a default configuration.
722716
timeout (Optional[float]): The amount of time, in seconds, to wait
723717
for the request to complete. Note that if ``retry`` is
724718
specified, the timeout applies to each individual attempt.
@@ -808,8 +802,8 @@ def delete_topic(
808802
topic (str): Name of the topic to delete. Format is
809803
``projects/{project}/topics/{topic}``.
810804
retry (Optional[google.api_core.retry.Retry]): A retry object used
811-
to retry requests. If ``None`` is specified, requests will not
812-
be retried.
805+
to retry requests. If ``None`` is specified, requests will
806+
be retried using a default configuration.
813807
timeout (Optional[float]): The amount of time, in seconds, to wait
814808
for the request to complete. Note that if ``retry`` is
815809
specified, the timeout applies to each individual attempt.
@@ -887,8 +881,8 @@ def set_iam_policy(
887881
If a dict is provided, it must be of the same form as the protobuf
888882
message :class:`~google.cloud.pubsub_v1.types.Policy`
889883
retry (Optional[google.api_core.retry.Retry]): A retry object used
890-
to retry requests. If ``None`` is specified, requests will not
891-
be retried.
884+
to retry requests. If ``None`` is specified, requests will
885+
be retried using a default configuration.
892886
timeout (Optional[float]): The amount of time, in seconds, to wait
893887
for the request to complete. Note that if ``retry`` is
894888
specified, the timeout applies to each individual attempt.
@@ -965,8 +959,8 @@ def get_iam_policy(
965959
If a dict is provided, it must be of the same form as the protobuf
966960
message :class:`~google.cloud.pubsub_v1.types.GetPolicyOptions`
967961
retry (Optional[google.api_core.retry.Retry]): A retry object used
968-
to retry requests. If ``None`` is specified, requests will not
969-
be retried.
962+
to retry requests. If ``None`` is specified, requests will
963+
be retried using a default configuration.
970964
timeout (Optional[float]): The amount of time, in seconds, to wait
971965
for the request to complete. Note that if ``retry`` is
972966
specified, the timeout applies to each individual attempt.
@@ -1051,8 +1045,8 @@ def test_iam_permissions(
10511045
information see `IAM
10521046
Overview <https://cloud.google.com/iam/docs/overview#permissions>`__.
10531047
retry (Optional[google.api_core.retry.Retry]): A retry object used
1054-
to retry requests. If ``None`` is specified, requests will not
1055-
be retried.
1048+
to retry requests. If ``None`` is specified, requests will
1049+
be retried using a default configuration.
10561050
timeout (Optional[float]): The amount of time, in seconds, to wait
10571051
for the request to complete. Note that if ``retry`` is
10581052
specified, the timeout applies to each individual attempt.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp