Skip to content

Commit 2decc85

Browse files
feat: add exactly once delivery flag (#1487)
* feat: add exactly once delivery flag PiperOrigin-RevId: 426415626 Source-Link: googleapis/googleapis@1f707ab Source-Link: googleapis/googleapis-gen@2baebc5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmJhZWJjNTc5ZWQ0MmM0ZDE3ODgzYTE0ZWNhNjQ0MTFmNjlkY2M4NyJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Merge branch 'owl-bot-bf34f5ea-4a0a-4412-b431-76abec1c6c4d' of https://github.com/googleapis/nodejs-pubsub into owl-bot-bf34f5ea-4a0a-4412-b431-76abec1c6c4d 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Merge branch 'owl-bot-bf34f5ea-4a0a-4412-b431-76abec1c6c4d' of https://github.com/googleapis/nodejs-pubsub into owl-bot-bf34f5ea-4a0a-4412-b431-76abec1c6c4d 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Merge branch 'main' into owl-bot-bf34f5ea-4a0a-4412-b431-76abec1c6c4d 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md feat: add exactly once delivery flag PiperOrigin-RevId: 426415626 Source-Link: googleapis/googleapis@1f707ab Source-Link: googleapis/googleapis-gen@2baebc5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmJhZWJjNTc5ZWQ0MmM0ZDE3ODgzYTE0ZWNhNjQ0MTFmNjlkY2M4NyJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Megan Potter <[email protected]> Co-authored-by: Megan Potter <[email protected]>
1 parent 47ac78d commit 2decc85

1 file changed

Lines changed: 38 additions & 38 deletions

File tree

handwritten/pubsub/samples/README.md

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
132132
__Usage:__
133133

134134

135-
`node createPushSubscription.js <topic-name> <subscription-name>`
135+
`node createPushSubscription.js <topic-name-or-id> <subscription-name-or-id>`
136136

137137

138138
-----
@@ -151,7 +151,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
151151
__Usage:__
152152

153153

154-
`node createSubscription.js <topic-name> <subscription-name>`
154+
`node createSubscription.js <topic-name-or-id> <subscription-name-or-id>`
155155

156156

157157
-----
@@ -170,7 +170,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
170170
__Usage:__
171171

172172

173-
`node createSubscriptionWithDeadLetterPolicy.js <topic-name> <subscription-name> <dead-letter-topic-name>`
173+
`node createSubscriptionWithDeadLetterPolicy.js <topic-name-or-id> <subscription-name-or-id> <dead-letter-topic-name-or-id>`
174174

175175

176176
-----
@@ -189,7 +189,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
189189
__Usage:__
190190

191191

192-
`node createSubscriptionWithOrdering.js <topic-name> <subscription-name>`
192+
`node createSubscriptionWithOrdering.js <topic-name-or-id> <subscription-name-or-id>`
193193

194194

195195
-----
@@ -208,7 +208,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
208208
__Usage:__
209209

210210

211-
`node createTopic.js <topic-name>`
211+
`node createTopic.js <topic-name-or-id>`
212212

213213

214214
-----
@@ -246,7 +246,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
246246
__Usage:__
247247

248248

249-
`node deleteSchema.js <schema-name>`
249+
`node deleteSchema.js <schema-name-or-id>`
250250

251251

252252
-----
@@ -265,7 +265,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
265265
__Usage:__
266266

267267

268-
`node deleteSubscription.js <subscription-name>`
268+
`node deleteSubscription.js <subscription-name-or-id>`
269269

270270

271271
-----
@@ -284,7 +284,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
284284
__Usage:__
285285

286286

287-
`node deleteTopic.js <topic-name>`
287+
`node deleteTopic.js <topic-name-or-id>`
288288

289289

290290
-----
@@ -303,7 +303,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
303303
__Usage:__
304304

305305

306-
`node detachSubscription.js <existing-subscription-name>`
306+
`node detachSubscription.js <existing-subscription-name-or-id>`
307307

308308

309309
-----
@@ -341,7 +341,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
341341
__Usage:__
342342

343343

344-
`node getSubscription.js <subscription-name>`
344+
`node getSubscription.js <subscription-name-or-id>`
345345

346346

347347
-----
@@ -360,7 +360,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
360360
__Usage:__
361361

362362

363-
`node getSubscriptionPolicy.js <subscription-name>`
363+
`node getSubscriptionPolicy.js <subscription-name-or-id>`
364364

365365

366366
-----
@@ -379,7 +379,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
379379
__Usage:__
380380

381381

382-
`node getTopicPolicy.js <topic-name>`
382+
`node getTopicPolicy.js <topic-name-or-id>`
383383

384384

385385
-----
@@ -455,7 +455,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
455455
__Usage:__
456456

457457

458-
`node listTopicSubscriptions.js <topic-name>`
458+
`node listTopicSubscriptions.js <topic-name-or-id>`
459459

460460

461461
-----
@@ -474,7 +474,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
474474
__Usage:__
475475

476476

477-
`node listenForAvroRecords.js <subscription-name> [timeout-in-seconds]`
477+
`node listenForAvroRecords.js <subscription-name-or-id> [timeout-in-seconds]`
478478

479479

480480
-----
@@ -493,7 +493,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
493493
__Usage:__
494494

495495

496-
`node listenForErrors.js <subscription-name> [timeout-in-seconds]`
496+
`node listenForErrors.js <subscription-name-or-id> [timeout-in-seconds]`
497497

498498

499499
-----
@@ -512,7 +512,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
512512
__Usage:__
513513

514514

515-
`node listenForMessages.js <subscription-name> [timeout-in-seconds]`
515+
`node listenForMessages.js <subscription-name-or-id> [timeout-in-seconds]`
516516

517517

518518
-----
@@ -550,7 +550,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
550550
__Usage:__
551551

552552

553-
`node listenWithCustomAttributes.js <subscription-name> [timeout-in-seconds]`
553+
`node listenWithCustomAttributes.js <subscription-name-or-id> [timeout-in-seconds]`
554554

555555

556556
-----
@@ -569,7 +569,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
569569
__Usage:__
570570

571571

572-
`node modifyPushConfig.js <topic-name> <subscription-name>`
572+
`node modifyPushConfig.js <topic-name-or-id> <subscription-name-or-id>`
573573

574574

575575
-----
@@ -588,7 +588,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
588588
__Usage:__
589589

590590

591-
`node openTelemetryTracing.js <topic-name> <subscription-name>`
591+
`node openTelemetryTracing.js <topic-name-or-id> <subscription-name-or-id>`
592592

593593

594594
-----
@@ -626,7 +626,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
626626
__Usage:__
627627

628628

629-
`node publishBatchedMessages.js <topic-name> <data> [max-messages [max-wait-in-seconds]]`
629+
`node publishBatchedMessages.js <topic-name-or-id> <data> [max-messages [max-wait-in-seconds]]`
630630

631631

632632
-----
@@ -645,7 +645,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
645645
__Usage:__
646646

647647

648-
`node publishMessage.js <topic-name> <data>`
648+
`node publishMessage.js <topic-name-or-id> <data>`
649649

650650

651651
-----
@@ -664,7 +664,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
664664
__Usage:__
665665

666666

667-
`node publishMessageWithCustomAttributes.js <topic-name> <data>`
667+
`node publishMessageWithCustomAttributes.js <topic-name-or-id> <data>`
668668

669669

670670
-----
@@ -683,7 +683,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
683683
__Usage:__
684684

685685

686-
`node publishOrderedMessage.js <topic-name> <data>`
686+
`node publishOrderedMessage.js <topic-name-or-id> <data>`
687687

688688

689689
-----
@@ -702,7 +702,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
702702
__Usage:__
703703

704704

705-
`node publishProtobufMessages.js <topic-name>`
705+
`node publishProtobufMessages.js <topic-name-or-id>`
706706

707707

708708
-----
@@ -721,7 +721,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
721721
__Usage:__
722722

723723

724-
`node publishWithFlowControl.js <topic-name>`
724+
`node publishWithFlowControl.js <topic-name-or-id>`
725725

726726

727727
-----
@@ -740,7 +740,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
740740
__Usage:__
741741

742742

743-
`node publishWithRetrySettings.js <project-id> <topic-name> <data>`
743+
`node publishWithRetrySettings.js <project-id> <topic-name-or-id> <data>`
744744

745745

746746
-----
@@ -759,7 +759,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
759759
__Usage:__
760760

761761

762-
`node quickstart.js <project-id> <topic-name> <subscription-name>`
762+
`node quickstart.js <project-id> <topic-name-or-id> <subscription-name-or-id>`
763763

764764

765765
-----
@@ -778,7 +778,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
778778
__Usage:__
779779

780780

781-
`node removeDeadLetterPolicy.js <topic-name> <subscription-name>`
781+
`node removeDeadLetterPolicy.js <topic-name-or-id> <subscription-name-or-id>`
782782

783783

784784
-----
@@ -797,7 +797,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
797797
__Usage:__
798798

799799

800-
`node resumePublish.js <topic-name> <data>`
800+
`node resumePublish.js <topic-name-or-id> <data>`
801801

802802

803803
-----
@@ -816,7 +816,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
816816
__Usage:__
817817

818818

819-
`node setSubscriptionPolicy.js <subscription-name>`
819+
`node setSubscriptionPolicy.js <subscription-name-or-id>`
820820

821821

822822
-----
@@ -835,7 +835,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
835835
__Usage:__
836836

837837

838-
`node setTopicPolicy.js <topic-name>`
838+
`node setTopicPolicy.js <topic-name-or-id>`
839839

840840

841841
-----
@@ -854,7 +854,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
854854
__Usage:__
855855

856856

857-
`node subscribeWithFlowControlSettings.js <subscription-name> [max-in-progress [timeout-in-seconds]]`
857+
`node subscribeWithFlowControlSettings.js <subscription-name-or-id> [max-in-progress [timeout-in-seconds]]`
858858

859859

860860
-----
@@ -873,7 +873,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
873873
__Usage:__
874874

875875

876-
`node synchronousPull.js <project-id> <subscription-name>`
876+
`node synchronousPull.js <project-id> <subscription-name-or-id>`
877877

878878

879879
-----
@@ -892,7 +892,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
892892
__Usage:__
893893

894894

895-
`node synchronousPullWithDeliveryAttempts.js <project-id> <subscription-name>`
895+
`node synchronousPullWithDeliveryAttempts.js <project-id> <subscription-name-or-id>`
896896

897897

898898
-----
@@ -911,7 +911,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
911911
__Usage:__
912912

913913

914-
`node synchronousPullWithLeaseManagement.js <project-id> <subscription-name>`
914+
`node synchronousPullWithLeaseManagement.js <project-id> <subscription-name-or-id>`
915915

916916

917917
-----
@@ -930,7 +930,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
930930
__Usage:__
931931

932932

933-
`node testSubscriptionPermissions.js <subscription-name>`
933+
`node testSubscriptionPermissions.js <subscription-name-or-id>`
934934

935935

936936
-----
@@ -949,7 +949,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
949949
__Usage:__
950950

951951

952-
`node testTopicPermissions.js <topic-name>`
952+
`node testTopicPermissions.js <topic-name-or-id>`
953953

954954

955955
-----
@@ -968,7 +968,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam
968968
__Usage:__
969969

970970

971-
`node updateDeadLetterPolicy.js <topic-name> <subscription-name>`
971+
`node updateDeadLetterPolicy.js <topic-name-or-id> <subscription-name-or-id>`
972972

973973

974974

0 commit comments

Comments
 (0)