@@ -567,8 +567,8 @@ public final UnaryCallable<UpdateSubscriptionRequest, Subscription> updateSubscr
567567 * }
568568 * </code></pre>
569569 *
570- * @param project The name of the cloud project that subscriptions belong to . Format is
571- * `projects/{project}`.
570+ * @param project The name of the project in which to list subscriptions . Format is
571+ * `projects/{project-id }`.
572572 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
573573 */
574574 public final ListSubscriptionsPagedResponse listSubscriptions (ProjectName project ) {
@@ -594,8 +594,8 @@ public final ListSubscriptionsPagedResponse listSubscriptions(ProjectName projec
594594 * }
595595 * </code></pre>
596596 *
597- * @param project The name of the cloud project that subscriptions belong to . Format is
598- * `projects/{project}`.
597+ * @param project The name of the project in which to list subscriptions . Format is
598+ * `projects/{project-id }`.
599599 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
600600 */
601601 public final ListSubscriptionsPagedResponse listSubscriptions (String project ) {
@@ -1058,9 +1058,8 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
10581058
10591059 // AUTO-GENERATED DOCUMENTATION AND METHOD
10601060 /**
1061- * Pulls messages from the server. Returns an empty list if there are no messages available in the
1062- * backlog. The server may return `UNAVAILABLE` if there are too many concurrent pull requests
1063- * pending for the given subscription.
1061+ * Pulls messages from the server. The server may return `UNAVAILABLE` if there are too many
1062+ * concurrent pull requests pending for the given subscription.
10641063 *
10651064 * <p>Sample code:
10661065 *
@@ -1078,8 +1077,7 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
10781077 * @param returnImmediately If this field set to true, the system will respond immediately even if
10791078 * it there are no messages available to return in the `Pull` response. Otherwise, the system
10801079 * may wait (for a bounded amount of time) until at least one message is available, rather
1081- * than returning no messages. The client may cancel the request if it does not wish to wait
1082- * any longer for the response.
1080+ * than returning no messages.
10831081 * @param maxMessages The maximum number of messages returned for this request. The Pub/Sub system
10841082 * may return fewer than the number specified.
10851083 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -1098,9 +1096,8 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
10981096
10991097 // AUTO-GENERATED DOCUMENTATION AND METHOD
11001098 /**
1101- * Pulls messages from the server. Returns an empty list if there are no messages available in the
1102- * backlog. The server may return `UNAVAILABLE` if there are too many concurrent pull requests
1103- * pending for the given subscription.
1099+ * Pulls messages from the server. The server may return `UNAVAILABLE` if there are too many
1100+ * concurrent pull requests pending for the given subscription.
11041101 *
11051102 * <p>Sample code:
11061103 *
@@ -1118,8 +1115,7 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
11181115 * @param returnImmediately If this field set to true, the system will respond immediately even if
11191116 * it there are no messages available to return in the `Pull` response. Otherwise, the system
11201117 * may wait (for a bounded amount of time) until at least one message is available, rather
1121- * than returning no messages. The client may cancel the request if it does not wish to wait
1122- * any longer for the response.
1118+ * than returning no messages.
11231119 * @param maxMessages The maximum number of messages returned for this request. The Pub/Sub system
11241120 * may return fewer than the number specified.
11251121 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -1138,9 +1134,8 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
11381134
11391135 // AUTO-GENERATED DOCUMENTATION AND METHOD
11401136 /**
1141- * Pulls messages from the server. Returns an empty list if there are no messages available in the
1142- * backlog. The server may return `UNAVAILABLE` if there are too many concurrent pull requests
1143- * pending for the given subscription.
1137+ * Pulls messages from the server. The server may return `UNAVAILABLE` if there are too many
1138+ * concurrent pull requests pending for the given subscription.
11441139 *
11451140 * <p>Sample code:
11461141 *
@@ -1165,9 +1160,8 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
11651160
11661161 // AUTO-GENERATED DOCUMENTATION AND METHOD
11671162 /**
1168- * Pulls messages from the server. Returns an empty list if there are no messages available in the
1169- * backlog. The server may return `UNAVAILABLE` if there are too many concurrent pull requests
1170- * pending for the given subscription.
1163+ * Pulls messages from the server. The server may return `UNAVAILABLE` if there are too many
1164+ * concurrent pull requests pending for the given subscription.
11711165 *
11721166 * <p>Sample code:
11731167 *
@@ -1373,8 +1367,8 @@ public final UnaryCallable<ModifyPushConfigRequest, Empty> modifyPushConfigCalla
13731367 * }
13741368 * </code></pre>
13751369 *
1376- * @param project The name of the cloud project that snapshots belong to . Format is
1377- * `projects/{project}`.
1370+ * @param project The name of the project in which to list snapshots . Format is
1371+ * `projects/{project-id }`.
13781372 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
13791373 */
13801374 public final ListSnapshotsPagedResponse listSnapshots (ProjectName project ) {
@@ -1402,8 +1396,8 @@ public final ListSnapshotsPagedResponse listSnapshots(ProjectName project) {
14021396 * }
14031397 * </code></pre>
14041398 *
1405- * @param project The name of the cloud project that snapshots belong to . Format is
1406- * `projects/{project}`.
1399+ * @param project The name of the project in which to list snapshots . Format is
1400+ * `projects/{project-id }`.
14071401 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
14081402 */
14091403 public final ListSnapshotsPagedResponse listSnapshots (String project ) {
@@ -1503,12 +1497,12 @@ public final UnaryCallable<ListSnapshotsRequest, ListSnapshotsResponse> listSnap
15031497 * Creates a snapshot from the requested subscription.<br><br>
15041498 * <b>ALPHA:</b> This feature is part of an alpha release. This API might be changed
15051499 * in backward-incompatible ways and is not recommended for production use. It is not subject to
1506- * any SLA or deprecation policy. If the snapshot already exists, returns `ALREADY_EXISTS`. If the
1507- * requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription
1508- * is too old -- and the resulting snapshot would expire in less than 1 hour -- then
1509- * `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is
1510- * not provided in the request, the server will assign a random name for this snapshot on the same
1511- * project as the subscription, conforming to the [resource name
1500+ * any SLA or deprecation policy.<br><br> If the snapshot already exists, returns
1501+ * `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the
1502+ * backlog in the subscription is too old -- and the resulting snapshot would expire in less than
1503+ * 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If
1504+ * the name is not provided in the request, the server will assign a random name for this snapshot
1505+ * on the same project as the subscription, conforming to the [resource name
15121506 * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated
15131507 * in the returned Snapshot object. Note that for REST API requests, you must specify a name in
15141508 * the request.
@@ -1525,7 +1519,8 @@ public final UnaryCallable<ListSnapshotsRequest, ListSnapshotsResponse> listSnap
15251519 *
15261520 * @param name Optional user-provided name for this snapshot. If the name is not provided in the
15271521 * request, the server will assign a random name for this snapshot on the same project as the
1528- * subscription. Note that for REST API requests, you must specify a name. Format is
1522+ * subscription. Note that for REST API requests, you must specify a name. See the <a
1523+ * href="/pubsub/docs/admin#resource_names">resource name rules</a>. Format is
15291524 * `projects/{project}/snapshots/{snap}`.
15301525 * @param subscription The subscription whose backlog the snapshot retains. Specifically, the
15311526 * created snapshot is guaranteed to retain: (a) The existing backlog on the subscription.
@@ -1551,12 +1546,12 @@ public final Snapshot createSnapshot(
15511546 * Creates a snapshot from the requested subscription.<br><br>
15521547 * <b>ALPHA:</b> This feature is part of an alpha release. This API might be changed
15531548 * in backward-incompatible ways and is not recommended for production use. It is not subject to
1554- * any SLA or deprecation policy. If the snapshot already exists, returns `ALREADY_EXISTS`. If the
1555- * requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription
1556- * is too old -- and the resulting snapshot would expire in less than 1 hour -- then
1557- * `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is
1558- * not provided in the request, the server will assign a random name for this snapshot on the same
1559- * project as the subscription, conforming to the [resource name
1549+ * any SLA or deprecation policy.<br><br> If the snapshot already exists, returns
1550+ * `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the
1551+ * backlog in the subscription is too old -- and the resulting snapshot would expire in less than
1552+ * 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If
1553+ * the name is not provided in the request, the server will assign a random name for this snapshot
1554+ * on the same project as the subscription, conforming to the [resource name
15601555 * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated
15611556 * in the returned Snapshot object. Note that for REST API requests, you must specify a name in
15621557 * the request.
@@ -1573,7 +1568,8 @@ public final Snapshot createSnapshot(
15731568 *
15741569 * @param name Optional user-provided name for this snapshot. If the name is not provided in the
15751570 * request, the server will assign a random name for this snapshot on the same project as the
1576- * subscription. Note that for REST API requests, you must specify a name. Format is
1571+ * subscription. Note that for REST API requests, you must specify a name. See the <a
1572+ * href="/pubsub/docs/admin#resource_names">resource name rules</a>. Format is
15771573 * `projects/{project}/snapshots/{snap}`.
15781574 * @param subscription The subscription whose backlog the snapshot retains. Specifically, the
15791575 * created snapshot is guaranteed to retain: (a) The existing backlog on the subscription.
@@ -1595,12 +1591,12 @@ public final Snapshot createSnapshot(String name, String subscription) {
15951591 * Creates a snapshot from the requested subscription.<br><br>
15961592 * <b>ALPHA:</b> This feature is part of an alpha release. This API might be changed
15971593 * in backward-incompatible ways and is not recommended for production use. It is not subject to
1598- * any SLA or deprecation policy. If the snapshot already exists, returns `ALREADY_EXISTS`. If the
1599- * requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription
1600- * is too old -- and the resulting snapshot would expire in less than 1 hour -- then
1601- * `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is
1602- * not provided in the request, the server will assign a random name for this snapshot on the same
1603- * project as the subscription, conforming to the [resource name
1594+ * any SLA or deprecation policy.<br><br> If the snapshot already exists, returns
1595+ * `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the
1596+ * backlog in the subscription is too old -- and the resulting snapshot would expire in less than
1597+ * 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If
1598+ * the name is not provided in the request, the server will assign a random name for this snapshot
1599+ * on the same project as the subscription, conforming to the [resource name
16041600 * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated
16051601 * in the returned Snapshot object. Note that for REST API requests, you must specify a name in
16061602 * the request.
@@ -1631,12 +1627,12 @@ public final Snapshot createSnapshot(CreateSnapshotRequest request) {
16311627 * Creates a snapshot from the requested subscription.<br><br>
16321628 * <b>ALPHA:</b> This feature is part of an alpha release. This API might be changed
16331629 * in backward-incompatible ways and is not recommended for production use. It is not subject to
1634- * any SLA or deprecation policy. If the snapshot already exists, returns `ALREADY_EXISTS`. If the
1635- * requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription
1636- * is too old -- and the resulting snapshot would expire in less than 1 hour -- then
1637- * `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is
1638- * not provided in the request, the server will assign a random name for this snapshot on the same
1639- * project as the subscription, conforming to the [resource name
1630+ * any SLA or deprecation policy.<br><br> If the snapshot already exists, returns
1631+ * `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the
1632+ * backlog in the subscription is too old -- and the resulting snapshot would expire in less than
1633+ * 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If
1634+ * the name is not provided in the request, the server will assign a random name for this snapshot
1635+ * on the same project as the subscription, conforming to the [resource name
16401636 * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated
16411637 * in the returned Snapshot object. Note that for REST API requests, you must specify a name in
16421638 * the request.
0 commit comments