@@ -279,10 +279,10 @@ async def sample_create_subscription():
279279
280280 Args:
281281 request (Optional[Union[google.pubsub_v1.types.Subscription, dict]]):
282- The request object. A subscription resource. If none of
283- `push_config` or ` bigquery_config` is set, then the
284- subscriber will pull and ack messages using API methods.
285- At most one of these fields may be set.
282+ The request object. A subscription resource. If none of ``push_config`` or
283+ `` bigquery_config`` is set, then the subscriber will
284+ pull and ack messages using API methods. At most one of
285+ these fields may be set.
286286 name (:class:`str`):
287287 Required. The name of the subscription. It must have the
288288 format
@@ -706,8 +706,7 @@ async def sample_list_subscriptions():
706706
707707 Args:
708708 request (Optional[Union[google.pubsub_v1.types.ListSubscriptionsRequest, dict]]):
709- The request object. Request for the `ListSubscriptions`
710- method.
709+ The request object. Request for the ``ListSubscriptions`` method.
711710 project (:class:`str`):
712711 Required. The name of the project in which to list
713712 subscriptions. Format is ``projects/{project-id}``.
@@ -1194,7 +1193,7 @@ async def sample_pull():
11941193
11951194 Args:
11961195 request (Optional[Union[google.pubsub_v1.types.PullRequest, dict]]):
1197- The request object. Request for the `Pull` method.
1196+ The request object. Request for the `` Pull` ` method.
11981197 subscription (:class:`str`):
11991198 Required. The subscription from which messages should be
12001199 pulled. Format is
@@ -1360,11 +1359,10 @@ def request_generator():
13601359
13611360 Args:
13621361 requests (AsyncIterator[`google.pubsub_v1.types.StreamingPullRequest`]):
1363- The request object AsyncIterator. Request for the `StreamingPull`
1364- streaming RPC method. This request is used to establish
1365- the initial stream as well as to stream acknowledgements
1366- and ack deadline modifications from the client to the
1367- server.
1362+ The request object AsyncIterator. Request for the ``StreamingPull`` streaming RPC method.
1363+ This request is used to establish the initial stream as
1364+ well as to stream acknowledgements and ack deadline
1365+ modifications from the client to the server.
13681366 retry (google.api_core.retry.Retry): Designation of what errors, if any,
13691367 should be retried.
13701368 timeout (float): The timeout for this request.
@@ -1697,8 +1695,7 @@ async def sample_list_snapshots():
16971695
16981696 Args:
16991697 request (Optional[Union[google.pubsub_v1.types.ListSnapshotsRequest, dict]]):
1700- The request object. Request for the `ListSnapshots`
1701- method.
1698+ The request object. Request for the ``ListSnapshots`` method.
17021699 project (:class:`str`):
17031700 Required. The name of the project in which to list
17041701 snapshots. Format is ``projects/{project-id}``.
@@ -1841,8 +1838,7 @@ async def sample_create_snapshot():
18411838
18421839 Args:
18431840 request (Optional[Union[google.pubsub_v1.types.CreateSnapshotRequest, dict]]):
1844- The request object. Request for the `CreateSnapshot`
1845- method.
1841+ The request object. Request for the ``CreateSnapshot`` method.
18461842 name (:class:`str`):
18471843 Required. User-provided name for this snapshot. If the
18481844 name is not provided in the request, the server will
@@ -2116,8 +2112,7 @@ async def sample_delete_snapshot():
21162112
21172113 Args:
21182114 request (Optional[Union[google.pubsub_v1.types.DeleteSnapshotRequest, dict]]):
2119- The request object. Request for the `DeleteSnapshot`
2120- method.
2115+ The request object. Request for the ``DeleteSnapshot`` method.
21212116 snapshot (:class:`str`):
21222117 Required. The name of the snapshot to delete. Format is
21232118 ``projects/{project}/snapshots/{snap}``.
@@ -2225,7 +2220,7 @@ async def sample_seek():
22252220
22262221 Args:
22272222 request (Optional[Union[google.pubsub_v1.types.SeekRequest, dict]]):
2228- The request object. Request for the `Seek` method.
2223+ The request object. Request for the `` Seek` ` method.
22292224 retry (google.api_core.retry.Retry): Designation of what errors, if any,
22302225 should be retried.
22312226 timeout (float): The timeout for this request.
0 commit comments