Skip to content

Commit

Permalink
fix(docs samples): update missing argv in sample metadata for push su…
Browse files Browse the repository at this point in the history
…bscription
  • Loading branch information
telosma committed Jun 20, 2024
1 parent 7f8c116 commit dd58582
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion samples/createPushSubscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// sample-metadata:
// title: Create Push Subscription
// description: Creates a new push subscription.
// usage: node createPushSubscription.js <topic-name-or-id> <subscription-name-or-id>
// usage: node createPushSubscription.js <endpoint-url> <topic-name-or-id> <subscription-name-or-id>

// [START pubsub_create_push_subscription]
/**
Expand Down
2 changes: 1 addition & 1 deletion samples/createPushSubscriptionNoWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// sample-metadata:
// title: Create Push Subscription With No Wrapper
// description: Creates a new push subscription, but disables wrapping for payloads.
// usage: node createPushSubscriptionNoWrapper.js <topic-name-or-id> <subscription-name-or-id>
// usage: node createPushSubscriptionNoWrapper.js <endpoint-url> <topic-name-or-id> <subscription-name-or-id>

// [START pubsub_create_unwrapped_push_subscription]
/**
Expand Down
2 changes: 1 addition & 1 deletion samples/typescript/createPushSubscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// sample-metadata:
// title: Create Push Subscription
// description: Creates a new push subscription.
// usage: node createPushSubscription.js <topic-name-or-id> <subscription-name-or-id>
// usage: node createPushSubscription.js <endpoint-url> <topic-name-or-id> <subscription-name-or-id>

// [START pubsub_create_push_subscription]
/**
Expand Down
2 changes: 1 addition & 1 deletion samples/typescript/createPushSubscriptionNoWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// sample-metadata:
// title: Create Push Subscription With No Wrapper
// description: Creates a new push subscription, but disables wrapping for payloads.
// usage: node createPushSubscriptionNoWrapper.js <topic-name-or-id> <subscription-name-or-id>
// usage: node createPushSubscriptionNoWrapper.js <endpoint-url> <topic-name-or-id> <subscription-name-or-id>

// [START pubsub_create_unwrapped_push_subscription]
/**
Expand Down

0 comments on commit dd58582

Please sign in to comment.