Chromium Code Reviews

Unified Diff: discovery/googleapis/admin__email_migration_v2.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: discovery/googleapis/admin__email_migration_v2.json
diff --git a/discovery/googleapis/admin__email_migration_v2.json b/discovery/googleapis/admin__email_migration_v2.json
new file mode 100644
index 0000000000000000000000000000000000000000..65153ab557bcc43b063d306ca5322d6574305097
--- /dev/null
+++ b/discovery/googleapis/admin__email_migration_v2.json
@@ -0,0 +1,173 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/email.migration": {
+ "description": "Manage email messages of users on your domain"
+ }
+ }
+ }
+ },
+ "basePath": "/email/v2/users/",
+ "baseUrl": "https://www.googleapis.com/email/v2/users/",
+ "batchPath": "batch",
+ "description": "Email Migration API lets you migrate emails of users to Google backends.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://developers.google.com/admin-sdk/email-migration/v2/",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/sAW4O9TJFjBOU_nyFti74xIcDhI\"",
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "admin:email_migration_v2",
+ "kind": "discovery#restDescription",
+ "name": "admin",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "alt": {
+ "default": "json",
+ "description": "Data format for the response.",
+ "enum": [
+ "json"
+ ],
+ "enumDescriptions": [
+ "Responses with Content-Type of application/json"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
+ "location": "query",
+ "type": "string"
+ },
+ "userIp": {
+ "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "mail": {
+ "methods": {
+ "insert": {
+ "description": "Insert Mail into Google's Gmail backends",
+ "httpMethod": "POST",
+ "id": "emailMigration.mail.insert",
+ "mediaUpload": {
+ "accept": [
+ "message/rfc822"
+ ],
+ "maxSize": "35MB",
+ "protocols": {
+ "resumable": {
+ "multipart": true,
+ "path": "/resumable/upload/email/v2/users/{userKey}/mail"
+ },
+ "simple": {
+ "multipart": true,
+ "path": "/upload/email/v2/users/{userKey}/mail"
+ }
+ }
+ },
+ "parameterOrder": [
+ "userKey"
+ ],
+ "parameters": {
+ "userKey": {
+ "description": "The email or immutable id of the user",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{userKey}/mail",
+ "request": {
+ "$ref": "MailItem"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/email.migration"
+ ],
+ "supportsMediaUpload": true
+ }
+ }
+ }
+ },
+ "revision": "20140130",
+ "rootUrl": "https://www.googleapis.com/",
+ "schemas": {
+ "MailItem": {
+ "description": "JSON template for MailItem object in Email Migration API.",
+ "id": "MailItem",
+ "properties": {
+ "isDeleted": {
+ "description": "Boolean indicating if the mail is deleted (used in Vault)",
+ "type": "boolean"
+ },
+ "isDraft": {
+ "description": "Boolean indicating if the mail is draft",
+ "type": "boolean"
+ },
+ "isInbox": {
+ "description": "Boolean indicating if the mail is in inbox",
+ "type": "boolean"
+ },
+ "isSent": {
+ "description": "Boolean indicating if the mail is in 'sent mails'",
+ "type": "boolean"
+ },
+ "isStarred": {
+ "description": "Boolean indicating if the mail is starred",
+ "type": "boolean"
+ },
+ "isTrash": {
+ "description": "Boolean indicating if the mail is in trash",
+ "type": "boolean"
+ },
+ "isUnread": {
+ "description": "Boolean indicating if the mail is unread",
+ "type": "boolean"
+ },
+ "kind": {
+ "default": "mailItem",
+ "description": "Kind of resource this is.",
+ "type": "string"
+ },
+ "labels": {
+ "description": "List of labels (strings)",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "email/v2/users/",
+ "title": "Email Migration API v2",
+ "version": "email_migration_v2"
+}

Powered by Google App Engine