Google Cloud Storage Notifications API

The Notifications API from Google Cloud Storage — 2 operation(s) for notifications.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /storage/v1/b/{bucket}/notificationConfigs/{notification} Delete a bucket notification configuration · Delete notifications #
Ask an LLM
“How do I stop Cloud Storage from sending notifications to a topic?”
“Can I permanently remove a notification subscription?”
Tell an agent destructive · confirm first
Delete notification {notification} from bucket {bucket}.
Remove the notification subscription {notification} on {bucket}.
GET /storage/v1/b/{bucket}/notificationConfigs/{notification} Get a bucket notification configuration · Get notifications #
Ask an LLM
“How do I view the details of one notification subscription on a bucket?”
“What topic and event types does a specific notification use?”
Tell an agent
Get notification {notification} on bucket {bucket}.
Show the Pub/Sub topic and event types of notification {notification} in {bucket}.
POST /storage/v1/b/{bucket}/notificationConfigs Create a bucket notification subscription · Insert notifications #
Ask an LLM
“How do I get Cloud Storage to publish object change events to a Pub/Sub topic?”
“Can I limit notifications to certain event types or object prefixes?”
Tell an agent
Create a notification subscription on {bucket} to topic {topic}.
Subscribe {bucket} to {topic} for event types {event_types}, prefix {object_name_prefix}.
GET /storage/v1/b/{bucket}/notificationConfigs List a bucket's notification configurations · List notifications #
Ask an LLM
“Which notification subscriptions exist for a bucket?”
“Can I see every notification config on one bucket?”
Tell an agent
List all notification configurations on bucket {bucket}.
Show every notification subscription for {bucket}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gcp-cloud-storage:gcp-cloud-storage-notifications-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gcp-cloud-storage-notifications-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloud Storage JSON Notifications API
  version: v1
  description: Generated from Google's published Discovery document for Cloud Storage JSON API (storage v1, revision 20261107). 4 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://storage.googleapis.com
tags:
- name: Notifications
paths:
  /storage/v1/b/{bucket}/notificationConfigs/{notification}:
    delete:
      operationId: storage.notifications.delete
      summary: Delete notifications
      description: Permanently deletes a notification subscription.
      parameters:
      - name: bucket
        in: path
        required: true
        description: The parent bucket of the notification.
        schema:
          type: string
      - name: notification
        in: path
        required: true
        description: ID of the notification to delete.
        schema:
          type: string
      - name: userProject
        in: query
        required: false
        description: The project to be billed for this request. Required for Requester Pays buckets.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
        - https://www.googleapis.com/auth/devstorage.full_control
        - https://www.googleapis.com/auth/devstorage.read_write
      - apiKey: []
      tags:
      - Notifications
    get:
      operationId: storage.notifications.get
      summary: Get notifications
      description: View a notification configuration.
      parameters:
      - name: bucket
        in: path
        required: true
        description: The parent bucket of the notification.
        schema:
          type: string
      - name: notification
        in: path
        required: true
        description: Notification ID
        schema:
          type: string
      - name: userProject
        in: query
        required: false
        description: The project to be billed for this request. Required for Requester Pays buckets.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Notification'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
        - https://www.googleapis.com/auth/cloud-platform.read-only
        - https://www.googleapis.com/auth/devstorage.full_control
        - https://www.googleapis.com/auth/devstorage.read_only
        - https://www.googleapis.com/auth/devstorage.read_write
      - apiKey: []
      tags:
      - Notifications
  /storage/v1/b/{bucket}/notificationConfigs:
    post:
      operationId: storage.notifications.insert
      summary: Insert notifications
      description: Creates a notification subscription for a given bucket.
      parameters:
      - name: bucket
        in: path
        required: true
        description: The parent bucket of the notification.
        schema:
          type: string
      - name: userProject
        in: query
        required: false
        description: The project to be billed for this request. Required for Requester Pays buckets.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Notification'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Notification'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
        - https://www.googleapis.com/auth/devstorage.full_control
        - https://www.googleapis.com/auth/devstorage.read_write
      - apiKey: []
      tags:
      - Notifications
    get:
      operationId: storage.notifications.list
      summary: List notifications
      description: Retrieves a list of notification subscriptions for a given bucket.
      parameters:
      - name: bucket
        in: path
        required: true
        description: Name of a Google Cloud Storage bucket.
        schema:
          type: string
      - name: userProject
        in: query
        required: false
        description: The project to be billed for this request. Required for Requester Pays buckets.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Notifications'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
        - https://www.googleapis.com/auth/cloud-platform.read-only
        - https://www.googleapis.com/auth/devstorage.full_control
        - https://www.googleapis.com/auth/devstorage.read_only
        - https://www.googleapis.com/auth/devstorage.read_write
      - apiKey: []
      tags:
      - Notifications
components:
  schemas:
    Notification:
      type: object
      description: A subscription to receive Google PubSub notifications.
      properties:
        custom_attributes:
          type: object
          description: An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
          additionalProperties:
            type: string
        etag:
          type: string
          description: HTTP 1.1 Entity tag for this subscription notification.
        event_types:
          type: array
          description: If present, only send notifications about listed event types. If empty, sent notifications for all event types.
          items:
            type: string
        id:
          type: string
          description: The ID of the notification.
        kind:
          type: string
          description: The kind of item this is. For notifications, this is always storage#notification.
          default: storage#notification
        object_name_prefix:
          type: string
          description: If present, only apply this notification configuration to object names that begin with this prefix.
        payload_format:
          type: string
          description: The desired content of the Payload.
          default: JSON_API_V1
        selfLink:
          type: string
          description: The canonical URL of this notification.
        topic:
          type: string
          description: 'The Cloud PubSub topic to which this subscription publishes. Formatted as: ''//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'''
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    Notifications:
      type: object
      description: A list of notification subscriptions.
      properties:
        items:
          type: array
          description: The list of items.
          items:
            $ref: '#/components/schemas/Notification'
        kind:
          type: string
          description: The kind of item this is. For lists of notifications, this is always storage#notifications.
          default: storage#notifications
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/cloud-platform: View and manage your data across Google Cloud Platform services
            https://www.googleapis.com/auth/cloud-platform.read-only: View your data across Google Cloud Platform services
            https://www.googleapis.com/auth/devstorage.full_control: Manage your data and permissions in Google Cloud Storage
            https://www.googleapis.com/auth/devstorage.read_only: View your data in Google Cloud Storage
            https://www.googleapis.com/auth/devstorage.read_write: Manage your data in Google Cloud Storage
externalDocs:
  url: https://developers.google.com/storage/docs/json_api/
x-provenance:
  method: harvested
  publisher: Google
  source: https://storage.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261107)