Liking cljdoc? Tell your friends :D

happygapi.pubsub.projects

Cloud Pub/Sub API: projects. Provides reliable, many-to-many, asynchronous messaging between applications.

See: https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects

Cloud Pub/Sub API: projects.
Provides reliable, many-to-many, asynchronous messaging between applications.

See: https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects
raw docstring

snapshots-create$clj

(snapshots-create$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/create

Required parameters: name

Optional parameters: none

Body:

{:subscription string, :labels {}}

Creates a snapshot from the requested subscription. 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>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. The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/create

Required parameters: name

Optional parameters: none

Body: 

{:subscription string, :labels {}}

Creates a snapshot from the requested subscription. 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>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
generated name is populated in the returned Snapshot object. Note that for
REST API requests, you must specify a name in the request.
raw docstring

snapshots-delete$clj

(snapshots-delete$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/delete

Required parameters: snapshot

Optional parameters: none 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> 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 snapshot or its subscription, unless the same subscription is specified.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/delete

Required parameters: snapshot

Optional parameters: none
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>
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
snapshot or its subscription, unless the same subscription is specified.
raw docstring

snapshots-get$clj

(snapshots-get$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/get

Required parameters: snapshot

Optional parameters: none Gets the configuration details of a 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.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/get

Required parameters: snapshot

Optional parameters: none
Gets the configuration details of a 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.
raw docstring

snapshots-getIamPolicy$clj

(snapshots-getIamPolicy$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion
Gets the access control policy for a resource.
Returns an empty policy if the resource exists and does not have a policy
set.
raw docstring

snapshots-list$clj

(snapshots-list$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/list

Required parameters: project

Optional parameters: pageToken, pageSize 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.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/list

Required parameters: project

Optional parameters: pageToken, pageSize
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.
raw docstring

snapshots-patch$clj

(snapshots-patch$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/patch

Required parameters: name

Optional parameters: none

Body:

{:updateMask string, :snapshot {:labels {}, :expireTime string, :name string, :topic string}}

Updates 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.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/patch

Required parameters: name

Optional parameters: none

Body: 

{:updateMask string,
 :snapshot {:labels {},
            :expireTime string,
            :name string,
            :topic string}}

Updates 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.
raw docstring

snapshots-setIamPolicy$clj

(snapshots-setIamPolicy$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.

Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any
existing policy.

Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
raw docstring

snapshots-testIamPermissions$clj

(snapshots-testIamPermissions$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/snapshots/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns permissions that a caller has on the specified resource.
If the resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building permission-aware
UIs and command-line tools, not for authorization checking. This operation
may "fail open" without warning.
raw docstring

subscriptions-acknowledge$clj

(subscriptions-acknowledge$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/acknowledge

Required parameters: subscription

Optional parameters: none

Body:

{:ackIds [string]}

Acknowledges the messages associated with the ack_ids in the AcknowledgeRequest. The Pub/Sub system can remove the relevant messages from the subscription.

Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/acknowledge

Required parameters: subscription

Optional parameters: none

Body: 

{:ackIds [string]}

Acknowledges the messages associated with the `ack_ids` in the
`AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
from the subscription.

Acknowledging a message whose ack deadline has expired may succeed,
but such a message may be redelivered later. Acknowledging a message more
than once will not result in an error.
raw docstring

subscriptions-create$clj

(subscriptions-create$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/create

Required parameters: name

Optional parameters: none

Body:

{:expirationPolicy {:ttl string}, :labels {}, :name string, :messageRetentionDuration string, :topic string, :deadLetterPolicy {:deadLetterTopic string, :maxDeliveryAttempts integer}, :retainAckedMessages boolean, :pushConfig {:pushEndpoint string, :attributes {}, :oidcToken OidcToken}, :ackDeadlineSeconds integer}

Creates a subscription to a given topic. See the <a href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource name rules</a>. 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. The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/create

Required parameters: name

Optional parameters: none

Body: 

{:expirationPolicy {:ttl string},
 :labels {},
 :name string,
 :messageRetentionDuration string,
 :topic string,
 :deadLetterPolicy {:deadLetterTopic string,
                    :maxDeliveryAttempts integer},
 :retainAckedMessages boolean,
 :pushConfig {:pushEndpoint string,
              :attributes {},
              :oidcToken OidcToken},
 :ackDeadlineSeconds integer}

Creates a subscription to a given topic. See the
<a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
resource name rules</a>.
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.
raw docstring

subscriptions-delete$clj

(subscriptions-delete$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/delete

Required parameters: subscription

Optional parameters: none Deletes an existing subscription. All messages retained in the subscription are immediately dropped. Calls to Pull after deletion will return NOT_FOUND. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription or its topic unless the same topic is specified.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/delete

Required parameters: subscription

Optional parameters: none
Deletes an existing subscription. All messages retained in the subscription
are immediately dropped. Calls to `Pull` after deletion will return
`NOT_FOUND`. After a subscription is deleted, a new one may be created with
the same name, but the new one has no association with the old
subscription or its topic unless the same topic is specified.
raw docstring

subscriptions-get$clj

(subscriptions-get$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/get

Required parameters: subscription

Optional parameters: none Gets the configuration details of a subscription.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/get

Required parameters: subscription

Optional parameters: none
Gets the configuration details of a subscription.
raw docstring

subscriptions-getIamPolicy$clj

(subscriptions-getIamPolicy$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion
Gets the access control policy for a resource.
Returns an empty policy if the resource exists and does not have a policy
set.
raw docstring

subscriptions-list$clj

(subscriptions-list$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/list

Required parameters: project

Optional parameters: pageToken, pageSize Lists matching subscriptions.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/list

Required parameters: project

Optional parameters: pageToken, pageSize
Lists matching subscriptions.
raw docstring

subscriptions-modifyAckDeadline$clj

(subscriptions-modifyAckDeadline$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/modifyAckDeadline

Required parameters: subscription

Optional parameters: none

Body:

{:ackDeadlineSeconds integer, :ackIds [string]}

Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available for redelivery if the processing was interrupted. Note that this does not modify the subscription-level ackDeadlineSeconds used for subsequent messages.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/modifyAckDeadline

Required parameters: subscription

Optional parameters: none

Body: 

{:ackDeadlineSeconds integer, :ackIds [string]}

Modifies the ack deadline for a specific message. This method is useful
to indicate that more time is needed to process a message by the
subscriber, or to make the message available for redelivery if the
processing was interrupted. Note that this does not modify the
subscription-level `ackDeadlineSeconds` used for subsequent messages.
raw docstring

subscriptions-modifyPushConfig$clj

(subscriptions-modifyPushConfig$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/modifyPushConfig

Required parameters: subscription

Optional parameters: none

Body:

{:pushConfig {:pushEndpoint string, :attributes {}, :oidcToken OidcToken}}

Modifies the PushConfig for a specified subscription.

This may be used to change a push subscription to a pull one (signified by an empty PushConfig) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the PushConfig.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/modifyPushConfig

Required parameters: subscription

Optional parameters: none

Body: 

{:pushConfig {:pushEndpoint string,
              :attributes {},
              :oidcToken OidcToken}}

Modifies the `PushConfig` for a specified subscription.

This may be used to change a push subscription to a pull one (signified by
an empty `PushConfig`) or vice versa, or change the endpoint URL and other
attributes of a push subscription. Messages will accumulate for delivery
continuously through the call regardless of changes to the `PushConfig`.
raw docstring

subscriptions-patch$clj

(subscriptions-patch$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/patch

Required parameters: name

Optional parameters: none

Body:

{:subscription {:expirationPolicy ExpirationPolicy, :labels {}, :name string, :messageRetentionDuration string, :topic string, :deadLetterPolicy DeadLetterPolicy, :retainAckedMessages boolean, :pushConfig PushConfig, :ackDeadlineSeconds integer}, :updateMask string}

Updates an existing subscription. Note that certain properties of a subscription, such as its topic, are not modifiable.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/patch

Required parameters: name

Optional parameters: none

Body: 

{:subscription {:expirationPolicy ExpirationPolicy,
                :labels {},
                :name string,
                :messageRetentionDuration string,
                :topic string,
                :deadLetterPolicy DeadLetterPolicy,
                :retainAckedMessages boolean,
                :pushConfig PushConfig,
                :ackDeadlineSeconds integer},
 :updateMask string}

Updates an existing subscription. Note that certain properties of a
subscription, such as its topic, are not modifiable.
raw docstring

subscriptions-pull$clj

(subscriptions-pull$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/pull

Required parameters: subscription

Optional parameters: none

Body:

{:returnImmediately boolean, :maxMessages integer}

Pulls messages from the server. The server may return UNAVAILABLE if there are too many concurrent pull requests pending for the given subscription.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/pull

Required parameters: subscription

Optional parameters: none

Body: 

{:returnImmediately boolean, :maxMessages integer}

Pulls messages from the server. The server may return `UNAVAILABLE` if
there are too many concurrent pull requests pending for the given
subscription.
raw docstring

subscriptions-seek$clj

(subscriptions-seek$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/seek

Required parameters: subscription

Optional parameters: none

Body:

{:time string, :snapshot string}

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.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/seek

Required parameters: subscription

Optional parameters: none

Body: 

{:time string, :snapshot string}

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.
raw docstring

subscriptions-setIamPolicy$clj

(subscriptions-setIamPolicy$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.

Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any
existing policy.

Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
raw docstring

subscriptions-testIamPermissions$clj

(subscriptions-testIamPermissions$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/subscriptions/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns permissions that a caller has on the specified resource.
If the resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building permission-aware
UIs and command-line tools, not for authorization checking. This operation
may "fail open" without warning.
raw docstring

topics-create$clj

(topics-create$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/create

Required parameters: name

Optional parameters: none

Body:

{:name string, :kmsKeyName string, :labels {}, :messageStoragePolicy {:allowedPersistenceRegions [string]}}

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>.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/create

Required parameters: name

Optional parameters: none

Body: 

{:name string,
 :kmsKeyName string,
 :labels {},
 :messageStoragePolicy {:allowedPersistenceRegions [string]}}

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>.
raw docstring

topics-delete$clj

(topics-delete$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/delete

Required parameters: topic

Optional parameters: none Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their topic field is set to _deleted-topic_.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/delete

Required parameters: topic

Optional parameters: none
Deletes the topic with the given name. Returns `NOT_FOUND` if the topic
does not exist. After a topic is deleted, a new topic may be created with
the same name; this is an entirely new topic with none of the old
configuration or subscriptions. Existing subscriptions to this topic are
not deleted, but their `topic` field is set to `_deleted-topic_`.
raw docstring

topics-get$clj

(topics-get$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/get

Required parameters: topic

Optional parameters: none Gets the configuration of a topic.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/get

Required parameters: topic

Optional parameters: none
Gets the configuration of a topic.
raw docstring

topics-getIamPolicy$clj

(topics-getIamPolicy$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion
Gets the access control policy for a resource.
Returns an empty policy if the resource exists and does not have a policy
set.
raw docstring

topics-list$clj

(topics-list$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/list

Required parameters: project

Optional parameters: pageToken, pageSize Lists matching topics.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/list

Required parameters: project

Optional parameters: pageToken, pageSize
Lists matching topics.
raw docstring

topics-patch$clj

(topics-patch$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/patch

Required parameters: name

Optional parameters: none

Body:

{:updateMask string, :topic {:name string, :kmsKeyName string, :labels {}, :messageStoragePolicy MessageStoragePolicy}}

Updates an existing topic. Note that certain properties of a topic are not modifiable.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/patch

Required parameters: name

Optional parameters: none

Body: 

{:updateMask string,
 :topic {:name string,
         :kmsKeyName string,
         :labels {},
         :messageStoragePolicy MessageStoragePolicy}}

Updates an existing topic. Note that certain properties of a
topic are not modifiable.
raw docstring

topics-publish$clj

(topics-publish$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/publish

Required parameters: topic

Optional parameters: none

Body:

{:messages [{:attributes {}, :messageId string, :publishTime string, :data string}]}

Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/publish

Required parameters: topic

Optional parameters: none

Body: 

{:messages [{:attributes {},
             :messageId string,
             :publishTime string,
             :data string}]}

Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
does not exist.
raw docstring

topics-setIamPolicy$clj

(topics-setIamPolicy$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.

Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any
existing policy.

Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
raw docstring

topics-snapshots-list$clj

(topics-snapshots-list$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/snapshots/list

Required parameters: topic

Optional parameters: pageToken, pageSize 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.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/snapshots/list

Required parameters: topic

Optional parameters: pageToken, pageSize
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.
raw docstring

topics-subscriptions-list$clj

(topics-subscriptions-list$ auth args)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/subscriptions/list

Required parameters: topic

Optional parameters: pageToken, pageSize Lists the names of the subscriptions on this topic.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/subscriptions/list

Required parameters: topic

Optional parameters: pageToken, pageSize
Lists the names of the subscriptions on this topic.
raw docstring

topics-testIamPermissions$clj

(topics-testIamPermissions$ auth args body)

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

https://cloud.google.com/pubsub/docsapi/reference/rest/v1/projects/topics/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns permissions that a caller has on the specified resource.
If the resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building permission-aware
UIs and command-line tools, not for authorization checking. This operation
may "fail open" without warning.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close