Google Cloud Functions · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloud Functions Projects API

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

What the actions change

x-apievangelist-phrasing

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

$.info
$.paths['/v2/projects/{projectsId}/locations'].get
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/runtimes'].get
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:getIamPolicy'].get
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions'].get
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions'].post
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:redirectFunctionUpgradeTraffic'].post
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:setIamPolicy'].post
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:commitFunctionUpgrade'].post
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}'].get
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}'].delete
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}'].patch
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:setupFunctionUpgradeConfig'].post
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:testIamPermissions'].post
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:detachFunction'].post
$.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:rollbackFunctionUpgradeTraffic'].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 Functions Projects API
  version: 1.0.0
extends: openapi/google-cloud-functions-projects-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 21
- target: $.paths['/v2/projects/{projectsId}/locations'].get
  update:
    x-apievangelist-phrasing:
      intent: List Cloud Functions locations
      effect: read
      questions:
      - Which regions and zones can I deploy Cloud Functions in?
      - Can I filter the list of Cloud Functions locations?
      instructions:
      - text: List Cloud Functions locations for project {projectsId}.
        slots:
          projectsId: path.projectsId
      - text: Show Cloud Functions locations matching {filter}.
        slots:
          filter: query.filter
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/runtimes'].get
  update:
    x-apievangelist-phrasing:
      intent: List runtimes supported in a location
      effect: read
      questions:
      - Which runtime versions does Cloud Functions support in a region?
      - What runtime options are available for a function in a given location?
      instructions:
      - text: List runtimes supported in {projectsId}/{locationsId}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show the runtime versions available for {projectsId} in {locationsId}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:getIamPolicy'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a function's IAM policy
      effect: read
      questions:
      - Who has access to a Cloud Function and what can they do?
      - Can I read the IAM policy on a function?
      instructions:
      - text: Get the IAM policy for function {functionsId} in {projectsId}/{locationsId}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show the access control policy on {functionsId} in {projectsId}/{locationsId}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions'].get
  update:
    x-apievangelist-phrasing:
      intent: List Cloud Functions in a location
      effect: read
      questions:
      - Which Cloud Functions exist in my project?
      - Can I sort or filter the list of functions in a region?
      instructions:
      - text: List functions in {projectsId}/{locationsId}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show {projectsId}/{locationsId} functions matching {filter}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
          filter: query.filter
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a Cloud Function
      effect: write
      questions:
      - How do I deploy a new Cloud Function?
      - Can I set a trigger and environment variables when creating a function?
      instructions:
      - text: Create function {functionId} in {projectsId}/{locationsId} with build config {buildConfig}.
        slots:
          functionId: query.functionId
          projectsId: path.projectsId
          locationsId: path.locationsId
          buildConfig: requestBody.buildConfig
      - text: Deploy a new Cloud Function {functionId} in {projectsId}/{locationsId} using {buildConfig} and service config {serviceConfig}.
        slots:
          functionId: query.functionId
          projectsId: path.projectsId
          locationsId: path.locationsId
          buildConfig: requestBody.buildConfig
          serviceConfig: requestBody.serviceConfig
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:redirectFunctionUpgradeTraffic'].post
  update:
    x-apievangelist-phrasing:
      intent: Send traffic to a function's 2nd Gen copy
      effect: write
      questions:
      - How do I shift traffic from a 1st Gen function to its 2nd Gen copy?
      - What happens to new traffic after I redirect a function upgrade?
      instructions:
      - text: Redirect traffic for function {functionsId} in {projectsId}/{locationsId} to its 2nd Gen copy.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Send all new requests for {functionsId} in {projectsId}/{locationsId} to the upgraded version.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:setIamPolicy'].post
  update:
    x-apievangelist-phrasing:
      intent: Set a function's IAM policy
      effect: write
      questions:
      - How do I grant a service account permission to invoke a function?
      - Can I replace the IAM policy on a Cloud Function?
      instructions:
      - text: Set the IAM policy on function {functionsId} in {projectsId}/{locationsId} to {policy}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
          policy: requestBody.policy
      - text: Replace the access control policy for {functionsId} in {projectsId}/{locationsId} with {policy}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
          policy: requestBody.policy
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:commitFunctionUpgrade'].post
  update:
    x-apievangelist-phrasing:
      intent: Finalize a function upgrade to 2nd Gen
      effect: destructive
      questions:
      - How do I permanently commit a function upgrade to 2nd Gen?
      - What happens to the original 1st Gen function after I commit the upgrade?
      instructions:
      - text: Commit the upgrade of function {functionsId} in {projectsId}/{locationsId} to 2nd Gen.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Finalize the 2nd Gen migration of {functionsId} in {projectsId}/{locationsId}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a Cloud Function
      effect: read
      questions:
      - What are the configuration and URL of a Cloud Function?
      - Can I read a specific function's details by revision?
      instructions:
      - text: Get function {functionsId} in {projectsId}/{locationsId}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show {functionsId} in {projectsId}/{locationsId} at revision {revision}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
          revision: query.revision
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a Cloud Function
      effect: destructive
      questions:
      - How do I delete a Cloud Function?
      - Will triggers that use a function be updated when I delete it?
      instructions:
      - text: Delete function {functionsId} in {projectsId}/{locationsId}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Remove the {functionsId} function from {projectsId}/{locationsId}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a Cloud Function
      effect: write
      questions:
      - How do I change the trigger or environment variables of an existing function?
      - Can I update only some fields of a function?
      instructions:
      - text: Update function {functionsId} in {projectsId}/{locationsId} with {buildConfig} and {serviceConfig}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
          buildConfig: requestBody.buildConfig
          serviceConfig: requestBody.serviceConfig
      - text: Patch {functionsId} in {projectsId}/{locationsId} using update mask {updateMask}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
          updateMask: query.updateMask
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:setupFunctionUpgradeConfig'].post
  update:
    x-apievangelist-phrasing:
      intent: Prepare a function for 2nd Gen upgrade
      effect: write
      questions:
      - How do I create a 2nd Gen copy of a 1st Gen function before upgrading?
      - Can I override the build or service config when upgrading a function?
      instructions:
      - text: Set up a 2nd Gen copy of function {functionsId} in {projectsId}/{locationsId}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Prepare {functionsId} in {projectsId}/{locationsId} for upgrade with build overrides {buildConfigOverrides} and service overrides {serviceConfigOverrides}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
          buildConfigOverrides: requestBody.buildConfigOverrides
          serviceConfigOverrides: requestBody.serviceConfigOverrides
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:testIamPermissions'].post
  update:
    x-apievangelist-phrasing:
      intent: Check permissions on a function
      effect: read
      questions:
      - Does a service account have permission to invoke a function?
      - Can I test what a caller can do on a function without checking the policy?
      instructions:
      - text: Test permissions {permissions} on function {functionsId} in {projectsId}/{locationsId}.
        slots:
          permissions: requestBody.permissions
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Check whether the caller has {permissions} on {functionsId} in {projectsId}/{locationsId}.
        slots:
          permissions: requestBody.permissions
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:detachFunction'].post
  update:
    x-apievangelist-phrasing:
      intent: Detach a 2nd Gen function to Cloud Run
      effect: write
      questions:
      - How do I detach a 2nd Gen Cloud Function so it runs as a Cloud Run service?
      - Can I move a function upgrade to Cloud Run?
      instructions:
      - text: Detach function {functionsId} in {projectsId}/{locationsId} to Cloud Run.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Convert {functionsId} in {projectsId}/{locationsId} into a Cloud Run service.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:rollbackFunctionUpgradeTraffic'].post
  update:
    x-apievangelist-phrasing:
      intent: Send traffic back to a 1st Gen function
      effect: write
      questions:
      - How do I roll back a function upgrade so traffic goes back to the 1st Gen version?
      - Can I undo a traffic redirect to a 2nd Gen copy?
      instructions:
      - text: Roll back traffic for function {functionsId} in {projectsId}/{locationsId} to its 1st Gen version.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Send new requests for {functionsId} in {projectsId}/{locationsId} back to the original function.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:generateDownloadUrl'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a download link for a function's source
      effect: read
      questions:
      - How do I download the source code of a deployed function?
      - How long is a function source download URL valid?
      instructions:
      - text: Generate a download URL for function {functionsId} in {projectsId}/{locationsId}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Get a signed link to download the source of {functionsId} in {projectsId}/{locationsId}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:commitFunctionUpgradeAsGen2'].post
  update:
    x-apievangelist-phrasing:
      intent: Commit a Gen1 to Gen2 function upgrade
      effect: destructive
      questions:
      - After upgrading a Cloud Function from Gen1 to Gen2, how do I commit the change?
      - Does committing a function upgrade delete the Gen1 function?
      instructions:
      - text: Commit the upgrade of function {function} in {project}/{location}.
        slots:
          function: path.functionsId
          project: path.projectsId
          location: path.locationsId
      - text: Finalize Gen1 to Gen2 migration for {function} at {project}/{location}.
        slots:
          function: path.functionsId
          project: path.projectsId
          location: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions:generateUploadUrl'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a signed upload URL for function source
      effect: write
      questions:
      - How do I upload source code for a new Cloud Function?
      - Can I choose the environment when generating an upload URL?
      instructions:
      - text: Generate an upload URL for {environment} functions in {projectsId}/{locationsId}.
        slots:
          environment: requestBody.environment
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Create a signed link for uploading source to {projectsId}/{locationsId} using {environment} and KMS key {kmsKeyName}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
          environment: requestBody.environment
          kmsKeyName: requestBody.kmsKeyName
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:abortFunctionUpgrade'].post
  update:
    x-apievangelist-phrasing:
      intent: Abort a function upgrade
      effect: destructive
      questions:
      - How do I stop a function upgrade and remove the 2nd Gen copy?
      - Can I cancel a function migration before committing it?
      instructions:
      - text: Abort the upgrade of function {functionsId} in {projectsId}/{locationsId}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Cancel the 2nd Gen migration of {functionsId} in {projectsId}/{locationsId}.
        slots:
          functionsId: path.functionsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a long-running operation
      effect: read
      questions:
      - How do I check the status of a long-running Cloud Functions operation?
      - Can I poll an operation until it completes?
      instructions:
      - text: Get the status of operation {operationsId} in {projectsId}/{locationsId}.
        slots:
          operationsId: path.operationsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Poll operation {operationsId} in {projectsId}/{locationsId}.
        slots:
          operationsId: path.operationsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/projects/{projectsId}/locations/{locationsId}/operations'].get
  update:
    x-apievangelist-phrasing:
      intent: List long-running operations
      effect: read
      questions:
      - Which long-running operations have been run on my Cloud Functions project?
      - Can I filter the operations list by status?
      instructions:
      - text: List operations in project {project}, location {location}.
        slots:
          project: path.projectsId
          location: path.locationsId
      - text: Show {pageSize} operations in {project}/{location} matching {filter}.
        slots:
          pageSize: query.pageSize
          project: path.projectsId
          location: path.locationsId
          filter: query.filter
      method: generated
      generated: '2026-11-22'

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