firestore-semantic-search/extension.yaml [104:167]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      location: ${LOCATION}
      runtime: nodejs20
      timeout: 540s
      taskQueueTrigger:
        retryConfig:
          maxAttempts: 50

  - name: createIndexTrigger
    type: firebaseextensions.v1beta.function
    description: >-
      An event-triggered function that gets called when a special metadata
      document updated. It checks the status of the backfill every time, and
      once it's done it will trigger index creation.
    properties:
      availableMemoryMb: 512
      location: ${LOCATION}
      runtime: nodejs20
      eventTrigger:
        eventType: providers/cloud.firestore/eventTypes/document.update
        resource: projects/${param:PROJECT_ID}/databases/(default)/documents/_ext-${param:EXT_INSTANCE_ID}/tasks

  - name: onIndexCreated
    type: firebaseextensions.v1beta.v2function
    description: >-
      An event-triggered function that gets called when a Vertex Matching Engine
      index is created.
    properties:
      location: ${LOCATION}
      buildConfig:
        runtime: nodejs20
      serviceConfig:
        availableMemory: 512M
      eventTrigger:
        eventType: google.cloud.audit.log.v1.written
        triggerRegion: global
        eventFilters:
          - attribute: serviceName
            value: aiplatform.googleapis.com
          - attribute: methodName
            value: google.cloud.aiplatform.v1beta1.IndexService.CreateIndex

  - name: onIndexDeployed
    type: firebaseextensions.v1beta.v2function
    description: >-
      An event-triggered function that gets called when a Vertex Matching Engine
      index is deployed.
    properties:
      location: ${LOCATION}
      buildConfig:
        runtime: nodejs20
      serviceConfig:
        availableMemory: 512M
      eventTrigger:
        eventType: google.cloud.audit.log.v1.written
        triggerRegion: global
        eventFilters:
          - attribute: serviceName
            value: aiplatform.googleapis.com
          - attribute: methodName
            value: google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndex

  - name: streamUpdateDatapoint
    type: firebaseextensions.v1beta.function
    description: >-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



storage-reverse-image-search/extension.yaml [82:145]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      location: ${LOCATION}
      runtime: nodejs20
      timeout: 540s
      taskQueueTrigger:
        retryConfig:
          maxAttempts: 50

  - name: createIndexTrigger
    type: firebaseextensions.v1beta.function
    description: >-
      An event-triggered function that gets called when a special metadata
      document updated. It checks the status of the backfill every time, and
      once it's done it will trigger index creation.
    properties:
      availableMemoryMb: 512
      location: ${LOCATION}
      runtime: nodejs20
      eventTrigger:
        eventType: providers/cloud.firestore/eventTypes/document.update
        resource: projects/${param:PROJECT_ID}/databases/(default)/documents/_ext-${param:EXT_INSTANCE_ID}/tasks

  - name: onIndexCreated
    type: firebaseextensions.v1beta.v2function
    description: >-
      An event-triggered function that gets called when a Vertex Matching Engine
      index is created.
    properties:
      location: ${LOCATION}
      buildConfig:
        runtime: nodejs20
      serviceConfig:
        availableMemory: 512M
      eventTrigger:
        eventType: google.cloud.audit.log.v1.written
        triggerRegion: global
        eventFilters:
          - attribute: serviceName
            value: aiplatform.googleapis.com
          - attribute: methodName
            value: google.cloud.aiplatform.v1beta1.IndexService.CreateIndex

  - name: onIndexDeployed
    type: firebaseextensions.v1beta.v2function
    description: >-
      An event-triggered function that gets called when a Vertex Matching Engine
      index is deployed.
    properties:
      location: ${LOCATION}
      buildConfig:
        runtime: nodejs20
      serviceConfig:
        availableMemory: 512M
      eventTrigger:
        eventType: google.cloud.audit.log.v1.written
        triggerRegion: global
        eventFilters:
          - attribute: serviceName
            value: aiplatform.googleapis.com
          - attribute: methodName
            value: google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndex

  - name: streamUpdateDatapoint
    type: firebaseextensions.v1beta.function
    description: >-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



