Google Cloud Service Usage
Service Usage lets applications list, inspect, enable, and manage the services available to Google Cloud projects.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| 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_SERVICE_USAGE_SERVICEUSAGE_OPERATIONS_LIST", 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_SERVICE_USAGE_SERVICEUSAGE_OPERATIONS_LIST", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute GOOGLE_CLOUD_SERVICE_USAGE_SERVICEUSAGE_OPERATIONS_LIST --data '{ }'Tool 目录
可用 Tools
4 个可调用操作
Serviceusage Operations ListGOOGLE_CLOUD_SERVICE_USAGE_SERVICEUSAGE_OPERATIONS_LISTLists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.需要连接2 scopes
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/service.managementTags
Serviceusage Services BatchGetGOOGLE_CLOUD_SERVICE_USAGE_SERVICEUSAGE_SERVICES_BATCH_GETReturns the service configurations and enabled states for a given list of services.需要连接2 scopes
Returns the service configurations and enabled states for a given list of services.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloud-platform.read-onlyTags
Serviceusage Services GetGOOGLE_CLOUD_SERVICE_USAGE_SERVICEUSAGE_SERVICES_GETReturns the service configuration and enabled state for a given service.需要连接2 scopes
Returns the service configuration and enabled state for a given service.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloud-platform.read-onlyTags
Serviceusage Services ListGOOGLE_CLOUD_SERVICE_USAGE_SERVICEUSAGE_SERVICES_LISTList all services available to the specified project, and the current state of those services with respect to the project. The list includes all public services, all services for which the calling user has the `servicemanagement.services.bind` permission, and all services that have already been enabled on the project. The list can be filtered to only include services in a specific state, for example to only include services enabled on the project. WARNING: If you need to query enabled services frequently or across an organization, you should use [Cloud Asset Inventory API](https://cloud.google.com/asset-inventory/docs/apis), which provides higher throughput and richer filtering capability.需要连接2 scopes
List all services available to the specified project, and the current state of those services with respect to the project. The list includes all public services, all services for which the calling user has the `servicemanagement.services.bind` permission, and all services that have already been enabled on the project. The list can be filtered to only include services in a specific state, for example to only include services enabled on the project. WARNING: If you need to query enabled services frequently or across an organization, you should use [Cloud Asset Inventory API](https://cloud.google.com/asset-inventory/docs/apis), which provides higher throughput and richer filtering capability.
认证
需要 Connected AccountScopes
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloud-platform.read-onlyTags