openapi: 3.1.0 info: title: Google Books About Setting API description: API for retrieving Bookshelf and Volume resources from Google Books version: 1.0.0 contact: name: Google Books API url: https://developers.google.com/books servers: - url: https://www.googleapis.com/books/v1 description: Google Books API v1 tags: - name: Setting description: Operations related to Setting paths: /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}: put: tags: - Setting summary: Google Update Send As Setting description: Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. Addresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority. parameters: - name: Content-Type in: header schema: type: string example: application/json - name: Accept in: header schema: type: string example: application/json - name: userId in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: sendAsEmail in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i requestBody: content: application/json: schema: $ref: '#/components/schemas/UsersSettingsSendAsPutRequest' responses: '200': description: OK headers: Content-Type: schema: type: string example: application/json content: application/json: schema: $ref: '#/components/schemas/UsersSettingsSendAsPutResponse' examples: UsersSettingsSendAsPutResponseExample: $ref: '#/components/examples/UsersSettingsSendAsPutResponseExample' x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: UsersSettingsSendAsPutResponseExample components: schemas: UsersSettingsSendAsPutResponseSmtpMsa: description: UsersSettingsSendAsPutResponseSmtpMsa schema type: object properties: host: type: string port: type: integer username: type: string password: type: string securityMode: type: string UsersSettingsSendAsPutRequest: description: UsersSettingsSendAsPutRequest schema type: object example: sendAsEmail: ut nulla displayName: Excepteur replyToAddress: velit id culpa signature: officia quis adipisicing isPrimary: true isDefault: true treatAsAlias: false smtpMsa: host: in elit port: -34532702 username: aliqua laborum aliquip do password: tempor dolor velit securityMode: securityModeUnspecified verificationStatus: pending UsersSettingsSendAsPutResponse: description: UsersSettingsSendAsPutResponse schema type: object properties: sendAsEmail: type: string displayName: type: string replyToAddress: type: string signature: type: string isPrimary: type: boolean isDefault: type: boolean treatAsAlias: type: boolean smtpMsa: $ref: '#/components/schemas/UsersSettingsSendAsPutResponseSmtpMsa' verificationStatus: type: string examples: UsersSettingsSendAsPutResponseExample: summary: Successful 200 response value: sendAsEmail: ut nulla displayName: Excepteur replyToAddress: velit id culpa signature: officia quis adipisicing isPrimary: true isDefault: true treatAsAlias: false smtpMsa: host: in elit port: -34532702 username: aliqua laborum aliquip do password: tempor dolor velit securityMode: securityModeUnspecified verificationStatus: pending securitySchemes: OAuth2: type: oauth2 description: OAuth 2.0 authentication for Google Books API flows: authorizationCode: authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth tokenUrl: https://oauth2.googleapis.com/token scopes: https://www.googleapis.com/auth/books: Manage your Google Books library