-
Notifications
You must be signed in to change notification settings - Fork 18
feat: add GCP Pub/Sub destination support with configuration and credentials schemas #518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for Google Cloud Platform (GCP) Pub/Sub as a destination type, including comprehensive configuration and credentials schemas for the OpenAPI specification.
- Defines GCP Pub/Sub configuration schema with project ID, topic name, and optional endpoint
- Adds service account JSON credentials schema for authentication
- Integrates GCP Pub/Sub into polymorphic destination schemas for create, read, and update operations
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
DestinationGCPPubSub: | ||
type: object | ||
# Properties duplicated from DestinationBase | ||
required: [id, type, topics, config, credentials, created_at, disabled_at] |
Copilot
AI
Oct 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'disabled_at' field should not be required since it can be null when the destination is enabled. Consider removing it from the required array or making it optional.
required: [id, type, topics, config, credentials, created_at, disabled_at] | |
required: [id, type, topics, config, credentials, created_at] |
Copilot uses AI. Check for mistakes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is consistent with other destination types
The latest updates on your projects. Learn more about Vercel for GitHub.
|
No description provided.