mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
update all json files
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
},
|
||||
"id": "iamcredentials:v1",
|
||||
"kind": "discovery#restDescription",
|
||||
"mtlsRootUrl": "https://iamcredentials.mtls.googleapis.com/",
|
||||
"name": "iamcredentials",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
@@ -118,7 +119,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource name of the service account for which the credentials\nare requested, in the following format:\n`projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard\ncharacter is required; replacing it with a project ID is invalid.",
|
||||
"description": "Required. The resource name of the service account for which the credentials\nare requested, in the following format:\n`projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard\ncharacter is required; replacing it with a project ID is invalid.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
"required": true,
|
||||
@@ -146,7 +147,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource name of the service account for which the credentials\nare requested, in the following format:\n`projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard\ncharacter is required; replacing it with a project ID is invalid.",
|
||||
"description": "Required. The resource name of the service account for which the credentials\nare requested, in the following format:\n`projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard\ncharacter is required; replacing it with a project ID is invalid.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
"required": true,
|
||||
@@ -164,31 +165,6 @@
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"generateIdentityBindingAccessToken": {
|
||||
"description": "",
|
||||
"flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:generateIdentityBindingAccessToken",
|
||||
"httpMethod": "POST",
|
||||
"id": "iamcredentials.projects.serviceAccounts.generateIdentityBindingAccessToken",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource name of the service account for which the credentials\nare requested, in the following format:\n`projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard\ncharacter is required; replacing it with a project ID is invalid.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}:generateIdentityBindingAccessToken",
|
||||
"request": {
|
||||
"$ref": "GenerateIdentityBindingAccessTokenRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "GenerateIdentityBindingAccessTokenResponse"
|
||||
}
|
||||
},
|
||||
"signBlob": {
|
||||
"description": "Signs a blob using a service account's system-managed private key.",
|
||||
"flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:signBlob",
|
||||
@@ -199,7 +175,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource name of the service account for which the credentials\nare requested, in the following format:\n`projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard\ncharacter is required; replacing it with a project ID is invalid.",
|
||||
"description": "Required. The resource name of the service account for which the credentials\nare requested, in the following format:\n`projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard\ncharacter is required; replacing it with a project ID is invalid.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
"required": true,
|
||||
@@ -227,7 +203,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource name of the service account for which the credentials\nare requested, in the following format:\n`projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard\ncharacter is required; replacing it with a project ID is invalid.",
|
||||
"description": "Required. The resource name of the service account for which the credentials\nare requested, in the following format:\n`projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard\ncharacter is required; replacing it with a project ID is invalid.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
"required": true,
|
||||
@@ -250,7 +226,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20190620",
|
||||
"revision": "20200327",
|
||||
"rootUrl": "https://iamcredentials.googleapis.com/",
|
||||
"schemas": {
|
||||
"GenerateAccessTokenRequest": {
|
||||
@@ -269,7 +245,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"scope": {
|
||||
"description": "Code to identify the scopes to be included in the OAuth 2.0 access token.\nSee https://developers.google.com/identity/protocols/googlescopes for more\ninformation.\nAt least one value required.",
|
||||
"description": "Required. Code to identify the scopes to be included in the OAuth 2.0 access token.\nSee https://developers.google.com/identity/protocols/googlescopes for more\ninformation.\nAt least one value required.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -297,7 +273,7 @@
|
||||
"id": "GenerateIdTokenRequest",
|
||||
"properties": {
|
||||
"audience": {
|
||||
"description": "The audience for the token, such as the API or account that this token\ngrants access to.",
|
||||
"description": "Required. The audience for the token, such as the API or account that this token\ngrants access to.",
|
||||
"type": "string"
|
||||
},
|
||||
"delegates": {
|
||||
@@ -324,38 +300,6 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GenerateIdentityBindingAccessTokenRequest": {
|
||||
"id": "GenerateIdentityBindingAccessTokenRequest",
|
||||
"properties": {
|
||||
"jwt": {
|
||||
"description": "Required. Input token.\nMust be in JWT format according to\nRFC7523 (https://tools.ietf.org/html/rfc7523)\nand must have 'kid' field in the header.\nSupported signing algorithms: RS256 (RS512, ES256, ES512 coming soon).\nMandatory payload fields (along the lines of RFC 7523, section 3):\n- iss: issuer of the token. Must provide a discovery document at\n $iss/.well-known/openid-configuration . The document needs to be\n formatted according to section 4.2 of the OpenID Connect Discovery\n 1.0 specification.\n- iat: Issue time in seconds since epoch. Must be in the past.\n- exp: Expiration time in seconds since epoch. Must be less than 48 hours\n after iat. We recommend to create tokens that last shorter than 6\n hours to improve security unless business reasons mandate longer\n expiration times. Shorter token lifetimes are generally more secure\n since tokens that have been exfiltrated by attackers can be used for\n a shorter time. you can configure the maximum lifetime of the\n incoming token in the configuration of the mapper.\n The resulting Google token will expire within an hour or at \"exp\",\n whichever is earlier.\n- sub: JWT subject, identity asserted in the JWT.\n- aud: Configured in the mapper policy. By default the service account\n email.\n\nClaims from the incoming token can be transferred into the output token\naccoding to the mapper configuration. The outgoing claim size is limited.\nOutgoing claims size must be less than 4kB serialized as JSON without\nwhitespace.\n\nExample header:\n{\n \"alg\": \"RS256\",\n \"kid\": \"92a4265e14ab04d4d228a48d10d4ca31610936f8\"\n}\nExample payload:\n{\n \"iss\": \"https://accounts.google.com\",\n \"iat\": 1517963104,\n \"exp\": 1517966704,\n \"aud\":\n \"https://iamcredentials.googleapis.com/google.iam.credentials.v1.CloudGaia\",\n \"sub\": \"113475438248934895348\",\n \"my_claims\": {\n \"additional_claim\": \"value\"\n }\n}",
|
||||
"type": "string"
|
||||
},
|
||||
"scope": {
|
||||
"description": "Code to identify the scopes to be included in the OAuth 2.0 access token.\nSee https://developers.google.com/identity/protocols/googlescopes for more\ninformation.\nAt least one value required.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GenerateIdentityBindingAccessTokenResponse": {
|
||||
"id": "GenerateIdentityBindingAccessTokenResponse",
|
||||
"properties": {
|
||||
"accessToken": {
|
||||
"description": "The OAuth 2.0 access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"expireTime": {
|
||||
"description": "Token expiration time.\nThe expiration time is always set.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SignBlobRequest": {
|
||||
"id": "SignBlobRequest",
|
||||
"properties": {
|
||||
@@ -367,7 +311,7 @@
|
||||
"type": "array"
|
||||
},
|
||||
"payload": {
|
||||
"description": "The bytes to sign.",
|
||||
"description": "Required. The bytes to sign.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -400,7 +344,7 @@
|
||||
"type": "array"
|
||||
},
|
||||
"payload": {
|
||||
"description": "The JWT payload to sign: a JSON object that contains a JWT Claims Set.",
|
||||
"description": "Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user