mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
update all code after version update
This commit is contained in:
@@ -2654,21 +2654,19 @@ fn main() {
|
||||
("projects", "methods: 'snapshots-create', 'snapshots-delete', 'snapshots-get', 'snapshots-get-iam-policy', 'snapshots-list', 'snapshots-patch', 'snapshots-set-iam-policy', 'snapshots-test-iam-permissions', 'subscriptions-acknowledge', 'subscriptions-create', 'subscriptions-delete', 'subscriptions-detach', 'subscriptions-get', 'subscriptions-get-iam-policy', 'subscriptions-list', 'subscriptions-modify-ack-deadline', 'subscriptions-modify-push-config', 'subscriptions-patch', 'subscriptions-pull', 'subscriptions-seek', 'subscriptions-set-iam-policy', 'subscriptions-test-iam-permissions', 'topics-create', 'topics-delete', 'topics-get', 'topics-get-iam-policy', 'topics-list', 'topics-patch', 'topics-publish', 'topics-set-iam-policy', 'topics-snapshots-list', 'topics-subscriptions-list' and 'topics-test-iam-permissions'", vec operations,
|
||||
which allow you to manage message acknowledgments in bulk. That is, you can
|
||||
set the acknowledgment state of messages in an existing subscription to the
|
||||
state captured by a snapshot.
|
||||
If the snapshot already exists, returns `ALREADY_EXISTS`.
|
||||
If the requested subscription doesn't exist, returns `NOT_FOUND`.
|
||||
If the backlog in the subscription is too old -- and the resulting snapshot
|
||||
would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned.
|
||||
See also the `Snapshot.expire_time` field. If the name is not provided in
|
||||
the request, the server will assign a random
|
||||
name for this snapshot on the same project as the subscription, conforming
|
||||
to the
|
||||
[resource name
|
||||
format](https://cloud.google.com/pubsub/docs/admin#resource_names). The
|
||||
to the [resource name format]
|
||||
(https://cloud.google.com/pubsub/docs/admin#resource_names). The
|
||||
generated name is populated in the returned Snapshot object. Note that for
|
||||
REST API requests, you must specify a name in the request."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_pubsub1_cli/projects_snapshots-create",
|
||||
@@ -2703,12 +2701,11 @@ fn main() {
|
||||
Some(false)),
|
||||
]),
|
||||
("snapshots-delete",
|
||||
Some(r##"Removes an existing snapshot. Snapshots are used in
|
||||
<a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
|
||||
operations, which allow
|
||||
you to manage message acknowledgments in bulk. That is, you can set the
|
||||
acknowledgment state of messages in an existing subscription to the state
|
||||
captured by a snapshot.<br><br>
|
||||
Some(r##"Removes an existing snapshot. Snapshots are used in [Seek]
|
||||
(https://cloud.google.com/pubsub/docs/replay-overview) operations, which
|
||||
allow you to manage message acknowledgments in bulk. That is, you can set
|
||||
the acknowledgment state of messages in an existing subscription to the
|
||||
state captured by a snapshot.
|
||||
When the snapshot is deleted, all messages retained in the snapshot
|
||||
are immediately dropped. After a snapshot is deleted, a new one may be
|
||||
created with the same name, but the new one has no association with the old
|
||||
@@ -2787,12 +2784,11 @@ fn main() {
|
||||
Some(false)),
|
||||
]),
|
||||
("snapshots-list",
|
||||
Some(r##"Lists the existing snapshots. Snapshots are used in
|
||||
<a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
|
||||
operations, which allow
|
||||
you to manage message acknowledgments in bulk. That is, you can set the
|
||||
acknowledgment state of messages in an existing subscription to the state
|
||||
captured by a snapshot."##),
|
||||
Some(r##"Lists the existing snapshots. Snapshots are used in [Seek](
|
||||
https://cloud.google.com/pubsub/docs/replay-overview) operations, which
|
||||
allow you to manage message acknowledgments in bulk. That is, you can set
|
||||
the acknowledgment state of messages in an existing subscription to the
|
||||
state captured by a snapshot."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_pubsub1_cli/projects_snapshots-list",
|
||||
vec![
|
||||
(Some(r##"project"##),
|
||||
@@ -2950,19 +2946,17 @@ fn main() {
|
||||
Some(false)),
|
||||
]),
|
||||
("subscriptions-create",
|
||||
Some(r##"Creates a subscription to a given topic. See the
|
||||
<a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
|
||||
resource name rules</a>.
|
||||
Some(r##"Creates a subscription to a given topic. See the [resource name rules]
|
||||
(https://cloud.google.com/pubsub/docs/admin#resource_names).
|
||||
If the subscription already exists, returns `ALREADY_EXISTS`.
|
||||
If the corresponding topic doesn't exist, returns `NOT_FOUND`.
|
||||
|
||||
If the name is not provided in the request, the server will assign a random
|
||||
name for this subscription on the same project as the topic, conforming
|
||||
to the
|
||||
[resource name
|
||||
format](https://cloud.google.com/pubsub/docs/admin#resource_names). The
|
||||
generated name is populated in the returned Subscription object. Note that
|
||||
for REST API requests, you must specify a name in the request."##),
|
||||
to the [resource name format]
|
||||
(https://cloud.google.com/pubsub/docs/admin#resource_names). The generated
|
||||
name is populated in the returned Subscription object. Note that for REST
|
||||
API requests, you must specify a name in the request."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_pubsub1_cli/projects_subscriptions-create",
|
||||
vec![
|
||||
(Some(r##"name"##),
|
||||
@@ -3252,13 +3246,12 @@ fn main() {
|
||||
]),
|
||||
("subscriptions-seek",
|
||||
Some(r##"Seeks an existing subscription to a point in time or to a given snapshot,
|
||||
whichever is provided in the request. Snapshots are used in
|
||||
<a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
|
||||
operations, which allow
|
||||
you to manage message acknowledgments in bulk. That is, you can set the
|
||||
acknowledgment state of messages in an existing subscription to the state
|
||||
captured by a snapshot. Note that both the subscription and the snapshot
|
||||
must be on the same topic."##),
|
||||
whichever is provided in the request. Snapshots are used in [Seek](
|
||||
https://cloud.google.com/pubsub/docs/replay-overview) operations, which
|
||||
allow you to manage message acknowledgments in bulk. That is, you can set
|
||||
the acknowledgment state of messages in an existing subscription to the
|
||||
state captured by a snapshot. Note that both the subscription and the
|
||||
snapshot must be on the same topic."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_pubsub1_cli/projects_subscriptions-seek",
|
||||
vec![
|
||||
(Some(r##"subscription"##),
|
||||
@@ -3353,9 +3346,8 @@ fn main() {
|
||||
Some(false)),
|
||||
]),
|
||||
("topics-create",
|
||||
Some(r##"Creates the given topic with the given name. See the
|
||||
<a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
|
||||
resource name rules</a>."##),
|
||||
Some(r##"Creates the given topic with the given name. See the [resource name rules](
|
||||
https://cloud.google.com/pubsub/docs/admin#resource_names)."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_pubsub1_cli/projects_topics-create",
|
||||
vec![
|
||||
(Some(r##"name"##),
|
||||
@@ -3583,11 +3575,10 @@ fn main() {
|
||||
]),
|
||||
("topics-snapshots-list",
|
||||
Some(r##"Lists the names of the snapshots on this topic. Snapshots are used in
|
||||
<a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
|
||||
operations, which allow
|
||||
you to manage message acknowledgments in bulk. That is, you can set the
|
||||
acknowledgment state of messages in an existing subscription to the state
|
||||
captured by a snapshot."##),
|
||||
[Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
|
||||
which allow you to manage message acknowledgments in bulk. That is, you can
|
||||
set the acknowledgment state of messages in an existing subscription to the
|
||||
state captured by a snapshot."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_pubsub1_cli/projects_topics-snapshots-list",
|
||||
vec![
|
||||
(Some(r##"topic"##),
|
||||
@@ -3673,7 +3664,7 @@ fn main() {
|
||||
|
||||
let mut app = App::new("pubsub1")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("1.0.13+20200623")
|
||||
.version("1.0.14+20200627")
|
||||
.about("Provides reliable, many-to-many, asynchronous messaging between applications.
|
||||
")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pubsub1_cli")
|
||||
|
||||
Reference in New Issue
Block a user