You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
GoogleCloudPubSubDestination
export type GoogleCloudPubSubDestination = Destination & {
__typename?: 'GoogleCloudPubSubDestination';
projectId: Scalars['String'];
topic: Scalars['String'];
type: Scalars['String'];
};