chore(json): fetch latest json and re-gen all code

This commit is contained in:
Sebastian Thiel
2016-12-16 11:25:26 +01:00
parent e04b6d023d
commit 06caa1de02
657 changed files with 237602 additions and 19201 deletions

View File

@@ -1,19 +1,19 @@
{
"kind": "discovery#restDescription",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/hUSUQ1FCOLm-WaxWC_MbF3f27YE\"",
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/9lrbPxfnfcTzLSOgIxD2Vj83GmI\"",
"discoveryVersion": "v1",
"id": "identitytoolkit:v3",
"name": "identitytoolkit",
"canonicalName": "Identity Toolkit",
"version": "v3",
"revision": "20160812",
"revision": "20161206",
"title": "Google Identity Toolkit API",
"description": "Help the third party sites to implement federated login.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://developers.google.com/identity-toolkit/v3/",
"protocol": "rest",
@@ -67,6 +67,18 @@
"location": "query"
}
},
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/firebase": {
"description": "View and administer all your Firebase data and settings"
}
}
}
},
"schemas": {
"CreateAuthUriResponse": {
"id": "CreateAuthUriResponse",
@@ -261,6 +273,14 @@
"type": "string",
"description": "The URI to which the IDP redirects the user after the federated login flow."
},
"customParameter": {
"type": "object",
"description": "The query parameter that client can customize by themselves in auth url. The following parameters are reserved for server so that they cannot be customized by clients: client_id, response_type, scope, redirect_uri, state, oauth_token.",
"additionalProperties": {
"type": "string",
"description": "The customized query parameter."
}
},
"hostedDomain": {
"type": "string",
"description": "The hosted domain to restrict sign-in to accounts at that domain for Google Apps hosted accounts."
@@ -333,6 +353,10 @@
"nextPageToken": {
"type": "string",
"description": "The token for the next page. This should be taken from the previous response."
},
"targetProjectId": {
"type": "string",
"description": "Specify which project (field value is actually project id) to operate. Only used when provided credential."
}
}
},
@@ -390,6 +414,9 @@
"$ref": "EmailTemplate",
"description": "Change email template."
},
"dynamicLinksDomain": {
"type": "string"
},
"enableAnonymousUser": {
"type": "boolean",
"description": "Whether anonymous user is enabled."
@@ -666,6 +693,10 @@
"type": "string",
"description": "Response to the captcha."
},
"disabled": {
"type": "boolean",
"description": "Whether to disable the user. Only can be used by service account."
},
"displayName": {
"type": "string",
"description": "The name of the user."
@@ -674,6 +705,10 @@
"type": "string",
"description": "The email of the user."
},
"emailVerified": {
"type": "boolean",
"description": "Mark the email as verified or not. Only can be used by service account."
},
"idToken": {
"type": "string",
"description": "The GITKit token of the authenticated user."
@@ -685,6 +720,10 @@
"password": {
"type": "string",
"description": "The new password of the user."
},
"photoUrl": {
"type": "string",
"description": "The photo url of the user."
}
}
},
@@ -693,6 +732,10 @@
"type": "object",
"description": "Request to upload user account in batch.",
"properties": {
"allowOverwrite": {
"type": "boolean",
"description": "Whether allow overwrite existing account when user local_id exists."
},
"delegatedProjectNumber": {
"type": "string",
"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.",
@@ -717,11 +760,19 @@
"description": "The salt separator.",
"format": "byte"
},
"sanityCheck": {
"type": "boolean",
"description": "If true, backend will do sanity check(including duplicate email and federated id) when uploading account."
},
"signerKey": {
"type": "string",
"description": "The key for to hash the password.",
"format": "byte"
},
"targetProjectId": {
"type": "string",
"description": "Specify which project (field value is actually project id) to operate. Only used when provided credential."
},
"users": {
"type": "array",
"description": "The account info to be stored.",
@@ -929,12 +980,20 @@
"properties": {
"email": {
"type": "string",
"description": "The user's email."
"description": "The user's email. If the out-of-band code is for email recovery, the user's original email."
},
"kind": {
"type": "string",
"description": "The fixed string \"identitytoolkit#ResetPasswordResponse\".",
"default": "identitytoolkit#ResetPasswordResponse"
},
"newEmail": {
"type": "string",
"description": "If the out-of-band code is for email recovery, the user's new email."
},
"requestType": {
"type": "string",
"description": "The request type."
}
}
},
@@ -1090,6 +1149,10 @@
"description": "User creation timestamp.",
"format": "int64"
},
"customAuth": {
"type": "boolean",
"description": "Whether the user is authenticated by the developer."
},
"disabled": {
"type": "boolean",
"description": "Whether the user is disabled."
@@ -1159,17 +1222,17 @@
"type": "string",
"description": "User's raw identifier directly returned from IDP."
},
"rawUserInfo": {
"type": "string",
"description": "Raw IDP-returned user info."
},
"screenName": {
"type": "string",
"description": "User's screen name at Twitter."
"description": "User's screen name at Twitter or login name at Github."
}
}
}
},
"rawPassword": {
"type": "string",
"description": "The user's plain text password."
},
"salt": {
"type": "string",
"description": "The user's password salt.",
@@ -1177,7 +1240,7 @@
},
"screenName": {
"type": "string",
"description": "User's screen name at Twitter."
"description": "User's screen name at Twitter or login name at Github."
},
"validSince": {
"type": "string",
@@ -1341,7 +1404,7 @@
},
"screenName": {
"type": "string",
"description": "The screen_name of a Twitter user."
"description": "The screen_name of a Twitter user or the login name at Github."
},
"timeZone": {
"type": "string",
@@ -1453,7 +1516,10 @@
},
"response": {
"$ref": "CreateAuthUriResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"deleteAccount": {
"id": "identitytoolkit.relyingparty.deleteAccount",
@@ -1465,7 +1531,10 @@
},
"response": {
"$ref": "DeleteAccountResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"downloadAccount": {
"id": "identitytoolkit.relyingparty.downloadAccount",
@@ -1477,7 +1546,11 @@
},
"response": {
"$ref": "DownloadAccountResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/firebase"
]
},
"getAccountInfo": {
"id": "identitytoolkit.relyingparty.getAccountInfo",
@@ -1489,7 +1562,10 @@
},
"response": {
"$ref": "GetAccountInfoResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getOobConfirmationCode": {
"id": "identitytoolkit.relyingparty.getOobConfirmationCode",
@@ -1501,7 +1577,10 @@
},
"response": {
"$ref": "GetOobConfirmationCodeResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getProjectConfig": {
"id": "identitytoolkit.relyingparty.getProjectConfig",
@@ -1522,7 +1601,10 @@
},
"response": {
"$ref": "IdentitytoolkitRelyingpartyGetProjectConfigResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getPublicKeys": {
"id": "identitytoolkit.relyingparty.getPublicKeys",
@@ -1531,7 +1613,10 @@
"description": "Get token signing public key.",
"response": {
"$ref": "IdentitytoolkitRelyingpartyGetPublicKeysResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getRecaptchaParam": {
"id": "identitytoolkit.relyingparty.getRecaptchaParam",
@@ -1540,7 +1625,10 @@
"description": "Get recaptcha secure param.",
"response": {
"$ref": "GetRecaptchaParamResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"resetPassword": {
"id": "identitytoolkit.relyingparty.resetPassword",
@@ -1552,7 +1640,10 @@
},
"response": {
"$ref": "ResetPasswordResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setAccountInfo": {
"id": "identitytoolkit.relyingparty.setAccountInfo",
@@ -1564,7 +1655,10 @@
},
"response": {
"$ref": "SetAccountInfoResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setProjectConfig": {
"id": "identitytoolkit.relyingparty.setProjectConfig",
@@ -1576,7 +1670,10 @@
},
"response": {
"$ref": "IdentitytoolkitRelyingpartySetProjectConfigResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"signOutUser": {
"id": "identitytoolkit.relyingparty.signOutUser",
@@ -1588,7 +1685,10 @@
},
"response": {
"$ref": "IdentitytoolkitRelyingpartySignOutUserResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"signupNewUser": {
"id": "identitytoolkit.relyingparty.signupNewUser",
@@ -1600,7 +1700,10 @@
},
"response": {
"$ref": "SignupNewUserResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"uploadAccount": {
"id": "identitytoolkit.relyingparty.uploadAccount",
@@ -1612,7 +1715,11 @@
},
"response": {
"$ref": "UploadAccountResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/firebase"
]
},
"verifyAssertion": {
"id": "identitytoolkit.relyingparty.verifyAssertion",
@@ -1624,7 +1731,10 @@
},
"response": {
"$ref": "VerifyAssertionResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"verifyCustomToken": {
"id": "identitytoolkit.relyingparty.verifyCustomToken",
@@ -1636,7 +1746,10 @@
},
"response": {
"$ref": "VerifyCustomTokenResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"verifyPassword": {
"id": "identitytoolkit.relyingparty.verifyPassword",
@@ -1648,7 +1761,10 @@
},
"response": {
"$ref": "VerifyPasswordResponse"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}