Discovery API:gmail.v1
Breaking Change
Docs

Gmail API: Strict Parameter Validation & CSE Immutability

This update introduces significant breaking changes for developers using generated client libraries. Core parameters including 'userId', 'messageId', 'id', 'sendAsEmail', and 'forwardingEmail' are now strictly required across multiple methods, which may cause validation failures in code that previously omitted them. Furthermore, the Client-Side Encryption (CSE) feature set has been tightened: fields such as 'pem', 'keyPairId', 'enablementState', and 'subjectEmailAddresses' within the 'CseKeyPair' schema, as well as 'privateKeyMetadataId' in 'CsePrivateKeyMetadata', are now marked as read-only or immutable. Developers should also note the addition of detailed descriptions for all OAuth2 scopes, clarifying permissions for add-ons and metadata access.