Google Cloud Pub/Sub
Pub/Sub is Google's asynchronous and scalable messaging service for reliably exchanging events between applications.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "GOOGLE_CLOUD_PUBSUB_PROJECTS_SCHEMAS_GET", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("GOOGLE_CLOUD_PUBSUB_PROJECTS_SCHEMAS_GET", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute GOOGLE_CLOUD_PUBSUB_PROJECTS_SCHEMAS_GET --data '{ }'Tool 目录
可用 Tools
15 个可调用操作
Pubsub Projects Schemas GetGOOGLE_CLOUD_PUBSUB_PROJECTS_SCHEMAS_GETGets a schema.需要连接2 scopes
Gets a schema.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Schemas GetIamPolicyGOOGLE_CLOUD_PUBSUB_PROJECTS_SCHEMAS_GET_IAM_POLICYGets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.需要连接2 scopes
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Schemas ListGOOGLE_CLOUD_PUBSUB_PROJECTS_SCHEMAS_LISTLists schemas in a project.需要连接2 scopes
Lists schemas in a project.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Schemas ListRevisionsGOOGLE_CLOUD_PUBSUB_PROJECTS_SCHEMAS_LIST_REVISIONSLists all schema revisions for the named schema.需要连接2 scopes
Lists all schema revisions for the named schema.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Schemas TestIamPermissionsGOOGLE_CLOUD_PUBSUB_PROJECTS_SCHEMAS_TEST_IAM_PERMISSIONSReturns 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.需要连接2 scopes
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.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Schemas ValidateGOOGLE_CLOUD_PUBSUB_PROJECTS_SCHEMAS_VALIDATEValidates a schema.需要连接2 scopes
Validates a schema.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Schemas ValidateMessageGOOGLE_CLOUD_PUBSUB_PROJECTS_SCHEMAS_VALIDATE_MESSAGEValidates a message against a schema.需要连接2 scopes
Validates a message against a schema.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Snapshots GetGOOGLE_CLOUD_PUBSUB_PROJECTS_SNAPSHOTS_GETGets the configuration details of a 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.需要连接2 scopes
Gets the configuration details of a 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.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Snapshots ListGOOGLE_CLOUD_PUBSUB_PROJECTS_SNAPSHOTS_LISTLists 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.需要连接2 scopes
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.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Subscriptions GetGOOGLE_CLOUD_PUBSUB_PROJECTS_SUBSCRIPTIONS_GETGets the configuration details of a subscription.需要连接2 scopes
Gets the configuration details of a subscription.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Subscriptions ListGOOGLE_CLOUD_PUBSUB_PROJECTS_SUBSCRIPTIONS_LISTLists matching subscriptions.需要连接2 scopes
Lists matching subscriptions.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Topics GetGOOGLE_CLOUD_PUBSUB_PROJECTS_TOPICS_GETGets the configuration of a topic.需要连接2 scopes
Gets the configuration of a topic.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Topics ListGOOGLE_CLOUD_PUBSUB_PROJECTS_TOPICS_LISTLists matching topics.需要连接2 scopes
Lists matching topics.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Topics Snapshots ListGOOGLE_CLOUD_PUBSUB_PROJECTS_TOPICS_SNAPSHOTS_LISTLists the names of the snapshots on this topic. 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.需要连接2 scopes
Lists the names of the snapshots on this topic. 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.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags
Pubsub Projects Topics Subscriptions ListGOOGLE_CLOUD_PUBSUB_PROJECTS_TOPICS_SUBSCRIPTIONS_LISTLists the names of the attached subscriptions on this topic.需要连接2 scopes
Lists the names of the attached subscriptions on this topic.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/pubsubTags