Google Cloud Pub/Sub · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloud Pub/Sub Projects API

47 actions 47 updates phrasing extends openapi/google-cloud-pubsub-projects-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Google Cloud Pub/Sub's API. It is a proposal applied on top of the contract, not a document Google Cloud Pub/Sub publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 47 · first 16 shown; the file carries all of them

$.info
$.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}'].get
$.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}'].put
$.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}'].delete
$.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}'].patch
$.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}:testIamPermissions'].post
$.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}:getIamPolicy'].get
$.paths['/v1/projects/{projectsId}/snapshots'].get
$.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}:setIamPolicy'].post
$.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:seek'].post
$.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}'].get
$.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}'].put
$.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}'].delete
$.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}'].patch
$.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyAckDeadline'].post
$.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:acknowledge'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Cloud Pub/Sub Projects API
  version: 1.0.0
extends: openapi/google-cloud-pubsub-projects-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 46
- target: $.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a snapshot
      effect: read
      questions:
      - What topic and subscription backlog does a snapshot capture?
      - Can I look up a snapshot's configuration?
      instructions:
      - text: Get snapshot {snapshot} in project {project}.
        slots:
          snapshot: path.snapshotsId
          project: path.projectsId
      - text: Show the configuration of snapshot {snapshot}.
        slots:
          snapshot: path.snapshotsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create a snapshot of a subscription
      effect: write
      questions:
      - How do I take a snapshot of a subscription's backlog at a point in time?
      - Does creating a snapshot fail if the backlog is too old?
      - Can I label a snapshot when I create it?
      instructions:
      - text: Create snapshot {snapshotsId} for subscription {subscription} in project {projectsId}.
        slots:
          snapshotsId: path.snapshotsId
          subscription: requestBody.subscription
          projectsId: path.projectsId
      - text: Create snapshot {snapshotsId} in {projectsId} labeled {labels}.
        slots:
          snapshotsId: path.snapshotsId
          projectsId: path.projectsId
          labels: requestBody.labels
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a snapshot
      effect: destructive
      questions:
      - How do I delete a snapshot I no longer need?
      - What happens to messages in a snapshot when it is deleted?
      instructions:
      - text: Delete snapshot {snapshot} in project {project}.
        slots:
          snapshot: path.snapshotsId
          project: path.projectsId
      - text: Remove snapshot {snapshot}.
        slots:
          snapshot: path.snapshotsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a snapshot
      effect: write
      questions:
      - Can I change the labels on an existing snapshot?
      - How do I update fields on a snapshot?
      instructions:
      - text: Update snapshot {snapshot} in project {project} with {changes}.
        slots:
          snapshot: path.snapshotsId
          project: path.projectsId
          changes: requestBody.updateMask
      - text: Patch snapshot {snapshot}.
        slots:
          snapshot: path.snapshotsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}:testIamPermissions'].post
  update:
    x-apievangelist-phrasing:
      intent: Check IAM permissions on a snapshot
      effect: read
      questions:
      - Which IAM permissions does my account have on a snapshot?
      - Can I test permissions on a snapshot without an error if it doesn't exist?
      instructions:
      - text: Test permissions {permissions} on snapshot {snapshot} in project {project}.
        slots:
          permissions: requestBody.permissions
          snapshot: path.snapshotsId
          project: path.projectsId
      - text: Check what I can do with snapshot {snapshot}.
        slots:
          snapshot: path.snapshotsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}:getIamPolicy'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the IAM policy of a snapshot
      effect: read
      questions:
      - What access control policy is set on a snapshot?
      - Can I get a snapshot's IAM policy for a specific policy version?
      instructions:
      - text: Get the IAM policy for snapshot {snapshot} in project {project}.
        slots:
          snapshot: path.snapshotsId
          project: path.projectsId
      - text: Show snapshot {snapshot}'s access policy.
        slots:
          snapshot: path.snapshotsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/snapshots'].get
  update:
    x-apievangelist-phrasing:
      intent: List snapshots in a project
      effect: read
      questions:
      - Which snapshots exist in my project?
      - Can I page through all snapshots?
      instructions:
      - text: List snapshots in project {project}.
        slots:
          project: path.projectsId
      - text: Show the first {page_size} snapshots in {project}.
        slots:
          page_size: query.pageSize
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/snapshots/{snapshotsId}:setIamPolicy'].post
  update:
    x-apievangelist-phrasing:
      intent: Set the IAM policy of a snapshot
      effect: write
      questions:
      - How do I replace the access policy on a snapshot?
      - Can I grant a service account full control over a snapshot?
      instructions:
      - text: Set the IAM policy on snapshot {snapshot} in project {project} to {policy}.
        slots:
          snapshot: path.snapshotsId
          project: path.projectsId
          policy: requestBody.policy
      - text: Replace snapshot {snapshot}'s access policy with {policy}.
        slots:
          snapshot: path.snapshotsId
          policy: requestBody.policy
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:seek'].post
  update:
    x-apievangelist-phrasing:
      intent: Seek a subscription to a snapshot or time
      effect: write
      questions:
      - How do I reset a subscription's ack state to a snapshot?
      - Can I seek a subscription to a point in time?
      instructions:
      - text: Seek subscription {subscription} in project {project} to snapshot {snapshot}.
        slots:
          subscription: path.subscriptionsId
          project: path.projectsId
          snapshot: requestBody.snapshot
      - text: Seek subscription {subscription} to {time}.
        slots:
          subscription: path.subscriptionsId
          time: requestBody.time
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a subscription
      effect: read
      questions:
      - What are the settings of a subscription?
      - Can I look up one subscription's configuration?
      instructions:
      - text: Get subscription {subscription} in project {project}.
        slots:
          subscription: path.subscriptionsId
          project: path.projectsId
      - text: Show the configuration of subscription {subscription}.
        slots:
          subscription: path.subscriptionsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create a subscription to a topic
      effect: write
      questions:
      - How do I subscribe a service to a topic?
      - Can I create a subscription that only receives messages matching a filter?
      instructions:
      - text: Create subscription {subscription} to topic {topic} in project {project}.
        slots:
          subscription: path.subscriptionsId
          topic: requestBody.topic
          project: path.projectsId
      - text: Subscribe {subscription} to {topic} with filter {filter}.
        slots:
          subscription: path.subscriptionsId
          topic: requestBody.topic
          filter: requestBody.filter
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a subscription
      effect: destructive
      questions:
      - How do I delete a subscription?
      - What happens to messages in a subscription when it is deleted?
      instructions:
      - text: Delete subscription {subscription} in project {project}.
        slots:
          subscription: path.subscriptionsId
          project: path.projectsId
      - text: Remove subscription {subscription}.
        slots:
          subscription: path.subscriptionsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a subscription
      effect: write
      questions:
      - Can I change a subscription's ack deadline or retry policy?
      - How do I update only some fields of an existing subscription?
      instructions:
      - text: Update subscription {subscription} in project {project} with {changes}.
        slots:
          subscription: path.subscriptionsId
          project: path.projectsId
          changes: requestBody.updateMask
      - text: Patch subscription {subscription}.
        slots:
          subscription: path.subscriptionsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyAckDeadline'].post
  update:
    x-apievangelist-phrasing:
      intent: Change the ack deadline for messages
      effect: write
      questions:
      - How do I give a subscriber more time to acknowledge messages?
      - Can I extend the ack deadline for specific messages?
      instructions:
      - text: Extend the ack deadline for messages {ack_ids} on subscription {subscription} in project {project} to {seconds} seconds.
        slots:
          ack_ids: requestBody.ackIds
          subscription: path.subscriptionsId
          project: path.projectsId
          seconds: requestBody.ackDeadlineSeconds
      - text: Reset the ack deadline for {ack_ids} to {seconds} seconds.
        slots:
          ack_ids: requestBody.ackIds
          seconds: requestBody.ackDeadlineSeconds
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:acknowledge'].post
  update:
    x-apievangelist-phrasing:
      intent: Acknowledge messages on a subscription
      effect: write
      questions:
      - How do I tell Pub/Sub I've processed a batch of messages?
      - Can I acknowledge messages whose ack deadline has already expired?
      instructions:
      - text: Acknowledge messages {ack_ids} on subscription {subscription} in project {project}.
        slots:
          ack_ids: requestBody.ackIds
          subscription: path.subscriptionsId
          project: path.projectsId
      - text: Mark {ack_ids} as processed.
        slots:
          ack_ids: requestBody.ackIds
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:pull'].post
  update:
    x-apievangelist-phrasing:
      intent: Pull messages from a subscription
      effect: read
      questions:
      - How do I fetch the next batch of messages from a subscription?
      - Can I pull messages immediately even if none are available?
      instructions:
      - text: Pull up to {max} messages from subscription {subscription} in project {project}.
        slots:
          max: requestBody.maxMessages
          subscription: path.subscriptionsId
          project: path.projectsId
      - text: Pull {max} messages from {subscription} without waiting ({wait}).
        slots:
          max: requestBody.maxMessages
          subscription: path.subscriptionsId
          wait: requestBody.returnImmediately
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions'].get
  update:
    x-apievangelist-phrasing:
      intent: List subscriptions in a project
      effect: read
      questions:
      - Which subscriptions exist in my project?
      - Can I list only the subscriptions that match a filter?
      instructions:
      - text: List subscriptions in project {project}.
        slots:
          project: path.projectsId
      - text: Show the first {page_size} subscriptions in {project}.
        slots:
          page_size: query.pageSize
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:getIamPolicy'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the IAM policy of a subscription
      effect: read
      questions:
      - What access control policy is set on a subscription?
      - Can I get a subscription's IAM policy for a specific policy version?
      instructions:
      - text: Get the IAM policy for subscription {subscription} in project {project}.
        slots:
          subscription: path.subscriptionsId
          project: path.projectsId
      - text: Show subscription {subscription}'s access policy.
        slots:
          subscription: path.subscriptionsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:setIamPolicy'].post
  update:
    x-apievangelist-phrasing:
      intent: Set the IAM policy of a subscription
      effect: write
      questions:
      - How do I replace the access policy on a subscription?
      - Can I grant a service account full control over a subscription?
      instructions:
      - text: Set the IAM policy on subscription {subscription} in project {project} to {policy}.
        slots:
          subscription: path.subscriptionsId
          project: path.projectsId
          policy: requestBody.policy
      - text: Replace subscription {subscription}'s access policy with {policy}.
        slots:
          subscription: path.subscriptionsId
          policy: requestBody.policy
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:testIamPermissions'].post
  update:
    x-apievangelist-phrasing:
      intent: Check IAM permissions on a subscription
      effect: read
      questions:
      - What permissions does my service account have on a subscription?
      - Do I get an empty set if the subscription doesn't exist?
      instructions:
      - text: Test permissions {permissions} on subscription {subscriptionsId} in project {projectsId}.
        slots:
          permissions: requestBody.permissions
          subscriptionsId: path.subscriptionsId
          projectsId: path.projectsId
      - text: List the permissions I hold on subscription {subscriptionsId}.
        slots:
          subscriptionsId: path.subscriptionsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyPushConfig'].post
  update:
    x-apievangelist-phrasing:
      intent: Change a subscription's push endpoint
      effect: write
      questions:
      - How do I turn a push subscription into a pull subscription?
      - Can I change the endpoint URL of an existing push subscription?
      instructions:
      - text: Set push config {pushConfig} on subscription {subscription} in project {project}.
        slots:
          pushConfig: requestBody.pushConfig
          subscription: path.subscriptionsId
          project: path.projectsId
      - text: Make subscription {subscription} in project {project} a pull subscription by clearing its push endpoint.
        slots:
          subscription: path.subscriptionsId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/subscriptions/{subscriptionsId}:detach'].post
  update:
    x-apievangelist-phrasing:
      intent: Detach a subscription from its topic
      effect: destructive
      questions:
      - How do I stop a subscription from receiving messages from its topic?
      - What happens to messages in a subscription I detach?
      instructions:
      - text: Detach subscription {subscription} from its topic in project {project}.
        slots:
          subscription: path.subscriptionsId
          project: path.projectsId
      - text: Stop subscription {subscription} in project {project} from pulling messages.
        slots:
          subscription: path.subscriptionsId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/topics/{topicsId}:testIamPermissions'].post
  update:
    x-apievangelist-phrasing:
      intent: Check IAM permissions on a topic
      effect: read
      questions:
      - Which permissions does my account have on a Pub/Sub topic?
      - Can I test topic permissions without checking the full policy?
      instructions:
      - text: Test permissions {permissions} on topic {topic} in project {project}.
        slots:
          permissions: requestBody.permissions
          topic: path.topicsId
          project: path.projectsId
      - text: Check whether I can manage topic {topic} in project {project}.
        slots:
          topic: path.topicsId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/topics'].get
  update:
    x-apievangelist-phrasing:
      intent: List topics in a project
      effect: read
      questions:
      - What topics exist in my Cloud Pub/Sub project?
      - Can I page through all topics in a project?
      instructions:
      - text: List topics in project {project}.
        slots:
          project: path.projectsId
      - text: Show the first {page_size} topics in project {project}.
        slots:
          page_size: query.pageSize
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/topics/{topicsId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a topic's configuration
      effect: read
      questions:
      - What are the settings of a particular topic?
      - Can I see a topic's retention duration and storage policy?
      instructions:
      - text: Get topic {topic} in project {project}.
        slots:
          topic: path.topicsId
          project: path.projectsId
      - text: Show the configuration of topic {topic} in project {project}.
        slots:
          topic: path.topicsId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/topics/{topicsId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create a topic
      effect: write
      questions:
      - How do I create a new Cloud Pub/Sub topic?
      - Can I set message retention and storage policy when creating a topic?
      instructions:
      - text: Create topic {topic} in project {project}.
        slots:
          topic: path.topicsId
          project: path.projectsId
      - text: Create topic {topic} in project {project} with retention {retention}.
        slots:
          topic: path.topicsId
          project: path.projectsId
          retention: requestBody.messageRetentionDuration
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/topics/{topicsId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a topic
      effect: destructive
      questions:
      - How do I delete a topic I no longer need?
      - What happens to subscriptions when I delete their topic?
      instructions:
      - text: Delete topic {topic} in project {project}.
        slots:
          topic: path.topicsId
          project: path.projectsId
      - text: Remove the {topic} topic from project {project}.
        slots:
          topic: path.topicsId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/topics/{topicsId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a topic
      effect: write
      questions:
      - Can I change a topic's message retention settings?
      - Which fields of a topic are not modifiable?
      instructions:
      - text: Update topic {topicsId} in project {projectsId} with topic {topic} using update mask {updateMask}.
        slots:
          topicsId: path.topicsId
          projectsId: path.projectsId
          topic: requestBody.topic
          updateMask: requestBody.updateMask
      - text: Set message retention on existing topic {topicsId} in {projectsId}.
        slots:
          topicsId: path.topicsId
          projectsId: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/topics/{topicsId}:publish'].post
  update:
    x-apievangelist-phrasing:
      intent: Publish messages to a topic
      effect: write
      questions:
      - How do I publish messages to a topic?
      - Can I publish several messages to a topic in one call?
      instructions:
      - text: Publish messages {messages} to topic {topic} in project {project}.
        slots:
          messages: requestBody.messages
          topic: path.topicsId
          project: path.projectsId
      - text: Send {messages} to the {topic} topic in project {project}.
        slots:
          messages: requestBody.messages
          topic: path.topicsId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/topics/{topicsId}:getIamPolicy'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a topic's IAM policy
      effect: read
      questions:
      - What access control policy is set on a topic?
      - Can I get the policy version for a topic?
      instructions:
      - text: Get the IAM policy for topic {topic} in project {project}.
        slots:
          topic: path.topicsId
          project: path.projectsId
      - text: Show the policy version {version} on topic {topic} in project {project}.
        slots:
          version: query.options.requestedPolicyVersion
          topic: path.topicsId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/topics/{topicsId}:setIamPolicy'].post
  update:
    x-apievangelist-phrasing:
      intent: Set a topic's IAM policy
      effect: write
      questions:
      - How do I grant a service account permission to publish to a topic?
      - Can I replace a topic's access policy entirely?
      instructions:
      - text: Set the IAM policy {policy} on topic {topic} in project {project}.
        slots:
          policy: requestBody.policy
          topic: path.topicsId
          project: path.projectsId
      - text: Replace the access policy on topic {topic} in project {project} with {policy}.
        slots:
          topic: path.topicsId
          project: path.projectsId
          policy: requestBody.policy
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/topics/{topicsId}/snapshots'].get
  update:
    x-apievangelist-phrasing:
      intent: List snapshots on a topic
      effect: read
      questions:
      - What snapshots exist for a topic?
      - Can I see the snapshot names attached to a topic?
      instructions:
      - text: List snapshots on topic {topic} in project {project}.
        slots:
          topic: path.topicsId
          project: path.projectsId
      - text: Show up to {page_size} snapshots for topic {topic} in project {project}.
        slots:
          page_size: query.pageSize
          topic: path.topicsId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/topics/{topicsId}/subscriptions'].get
  update:
    x-apievangelist-phrasing:
      intent: List subscriptions attached to a topic
      effect: read
      questions:
      - Which subscriptions are attached to a given topic?
      - Can I list only the subscription names on a topic?
      instructions:
      - text: List subscriptions on topic {topic} in project {project}.
        slots:
          topic: path.topicsId
          project: path.projectsId
      - text: Show the first {page_size} subscriptions attached to topic {topic} in project {project}.
        slots:
          page_size: query.pageSize
          topic: path.topicsId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/schemas'].get
  update:
    x-apievangelist-phrasing:
      intent: List schemas in a project
      effect: read
      questions:
      - What schemas are defined in my project?
      - Can I list only the schema names without their definitions?
      instructions:
      - text: List schemas in project {project}.
        slots:
          project: path.projectsId
      - text: Show {view} schemas in project {project}.
        slots:
          view: query.view
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/schemas'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a schema
      effect: write
      questions:
      - How do I register a compiled Protocol Buffer schema?
      - Can I create a schema from a JSON Schema definition?
      instructions:
      - text: Create schema {schemaId} in project {projectsId} with type {type} and definition {definition}.
        slots:
          schemaId: query.schemaId
          projectsId: path.projectsId
          type: requestBody.type
          definition: requestBody.definition
      - text: Create a compiled Proto schema {schemaId} from {compiledProtoSchema}.
        slots:
          schemaId: query.schemaId
          compiledProtoSchema: requestBody.compiledProtoSchema
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/schemas/{schemasId}:rollback'].post
  update:
    x-apievangelist-phrasing:
      intent: Roll back a schema to an earlier revision
      effect: write
      questions:
      - How do I revert a schema to a previous revision?
      - Can I restore a schema to a specific revision ID?
      instructions:
      - text: Roll back schema {schema} in project {project} to revision {revision}.
        slots:
          schema: path.schemasId
          project: path.projectsId
          revision: requestBody.revisionId
      - text: Restore schema {schema} in project {project} to revision {revision}.
        slots:
          schema: path.schemasId
          project: path.projectsId
          revision: requestBody.revisionId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/schemas:validate'].post
  update:
    x-apievangelist-phrasing:
      intent: Validate a schema definition
      effect: read
      questions:
      - Is a schema definition I wrote valid?
      - Can I check a schema before creating it?
      instructions:
      - text: Validate schema {schema} in project {project}.
        slots:
          schema: requestBody.schema
          project: path.projectsId
      - text: Check that {schema} is a valid schema definition.
        slots:
          schema: requestBody.schema
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/schemas/{schemasId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a schema
      effect: read
      questions:
      - What does a particular schema definition contain?
      - Can I fetch a schema revision by its ID?
      instructions:
      - text: Get schema {schema} in project {project}.
        slots:
          schema: path.schemasId
          project: path.projectsId
      - text: Show schema {schema} in project {project} with view {view}.
        slots:
          schema: path.schemasId
          project: path.projectsId
          view: query.view
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/schemas/{schemasId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a schema
      effect: destructive
      questions:
      - How do I delete a schema I no longer use?
      - Can I remove a schema from my project?
      instructions:
      - text: Delete schema {schema} in project {project}.
        slots:
          schema: path.schemasId
          project: path.projectsId
      - text: Remove the {schema} schema from project {project}.
        slots:
          schema: path.schemasId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/schemas/{schemasId}:deleteRevision'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a schema revision
      effect: destructive
      questions:
      - How do I remove an old revision of a schema?
      - Can I delete one specific revision of a schema?
      instructions:
      - text: Delete revision {revision} of schema {schema} in project {project}.
        slots:
          revision: query.revisionId
          schema: path.schemasId
          project: path.projectsId
      - text: Remove revision {revision} from schema {schema} in project {project}.
        slots:
          revision: query.revisionId
          schema: path.schemasId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/schemas/{schemasId}:listRevisions'].get
  update:
    x-apievangelist-phrasing:
      intent: List revisions of a schema
      effect: read
      questions:
      - What revisions of a schema have been committed?
      - Can I see the full history of schema changes?
      instructions:
      - text: List revisions of schema {schema} in project {project}.
        slots:
          schema: path.schemasId
          project: path.projectsId
      - text: Show the last {page_size} revisions of {schema} in {project}.
        slots:
          page_size: query.pageSize
          schema: path.schemasId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/schemas/{schemasId}:commit'].post
  update:
    x-apievangelist-phrasing:
      intent: Commit a new revision to a schema
      effect: write
      questions:
      - How do I publish a new revision of an Avro schema?
      - Can I commit a schema revision without a name?
      instructions:
      - text: Commit schema {schema} in project {project} with definition {definition}.
        slots:
          schema: path.schemasId
          project: path.projectsId
          definition: requestBody.schema
      - text: Publish a new revision of {schema} in {project}.
        slots:
          schema: path.schemasId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/projects/{projectsId}/schemas/{schemasId}:setIamPolicy'].post
  update:
    x-apievangelist-phrasing:
      intent: Set the IAM policy on a schema
      effect: write
      questions:
      - Who has access to a schema?
      - Can I replace a schema's access policy?
      instructions:
      - text: Set the IAM policy on schema {schema} in project {project} to {policy}.
        slots:
          schema: path.schemasId
          project: path.projectsId
          policy: requestBody.policy
      - text: Replace the access policy for {schema} in {project}.
        slots:
          schema: path.schemasId
          project: path.projectsId
      method: generated
      generated: '2026-11-17'


# --- truncated at 32 KB (34 KB total) ---
# Full source: https://artifacts.apis.io/google-cloud-pubsub/overlays/google-cloud-pubsub-projects-api-phrasing-overlay.yaml

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/google-cloud-pubsub-projects-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.