Skip to content

Commit

Permalink
feat(identitytoolkit): update the API
Browse files Browse the repository at this point in the history
#### identitytoolkit:v1

The following keys were added:
- schemas.GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse.properties.producerProjectNumber.description
- schemas.GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse.properties.producerProjectNumber.type
- schemas.GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest.properties.gamePlayerId.description
- schemas.GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest.properties.gamePlayerId.type
- schemas.GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest.properties.teamPlayerId.description
- schemas.GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest.properties.teamPlayerId.type
- schemas.GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse.properties.gamePlayerId.description
- schemas.GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse.properties.gamePlayerId.type
- schemas.GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse.properties.teamPlayerId.description
- schemas.GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse.properties.teamPlayerId.type

#### identitytoolkit:v2

The following keys were changed:
- schemas.GoogleIamV1Binding.properties.members.description
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent 0a334ea commit 72c533b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
22 changes: 21 additions & 1 deletion discovery/identitytoolkit-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@
}
}
},
"revision": "20221206",
"revision": "20230128",
"rootUrl": "https://identitytoolkit.googleapis.com/",
"schemas": {
"GoogleCloudIdentitytoolkitV1Argon2Parameters": {
Expand Down Expand Up @@ -1924,6 +1924,10 @@
"kind": {
"type": "string"
},
"producerProjectNumber": {
"description": "The producer project number used to generate PIA tokens",
"type": "string"
},
"recaptchaSiteKey": {
"description": "The reCAPTCHA v2 site key used to invoke the reCAPTCHA service. Always present.",
"type": "string"
Expand Down Expand Up @@ -2726,6 +2730,10 @@
"description": "The user's Game Center display name.",
"type": "string"
},
"gamePlayerId": {
"description": "The user's Game Center game player ID. A unique identifier for a player of the game. https://developer.apple.com/documentation/gamekit/gkplayer/3113960-gameplayerid",
"type": "string"
},
"idToken": {
"description": "A valid ID token for an Identity Platform account. If present, this request will link the Game Center player ID to the account represented by this ID token.",
"type": "string"
Expand All @@ -2746,6 +2754,10 @@
"description": "Required. The verification signature data generated by Apple.",
"type": "string"
},
"teamPlayerId": {
"description": "The user's Game Center team player ID. A unique identifier for a player of all the games that you distribute using your developer account. https://developer.apple.com/documentation/gamekit/gkplayer/3174857-teamplayerid",
"type": "string"
},
"tenantId": {
"description": "The ID of the Identity Platform tenant the user is signing in to.",
"type": "string"
Expand All @@ -2771,6 +2783,10 @@
"format": "int64",
"type": "string"
},
"gamePlayerId": {
"description": "The user's Game Center game player ID. A unique identifier for a player of the game. https://developer.apple.com/documentation/gamekit/gkplayer/3113960-gameplayerid",
"type": "string"
},
"idToken": {
"description": "An Identity Platform ID token for the authenticated user.",
"type": "string"
Expand All @@ -2790,6 +2806,10 @@
"refreshToken": {
"description": "An Identity Platform refresh token for the authenticated user.",
"type": "string"
},
"teamPlayerId": {
"description": "The user's Game Center team player ID. A unique identifier for a player of all the games that you distribute using your developer account. https://developer.apple.com/documentation/gamekit/gkplayer/3174857-teamplayerid",
"type": "string"
}
},
"type": "object"
Expand Down
4 changes: 2 additions & 2 deletions discovery/identitytoolkit-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@
}
}
},
"revision": "20221206",
"revision": "20230128",
"rootUrl": "https://identitytoolkit.googleapis.com/",
"schemas": {
"GoogleCloudIdentitytoolkitAdminV2AllowByDefault": {
Expand Down Expand Up @@ -3040,7 +3040,7 @@
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.",
"items": {
"type": "string"
},
Expand Down
2 changes: 1 addition & 1 deletion src/apis/identitytoolkit/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ export namespace identitytoolkit_v2 {
*/
condition?: Schema$GoogleTypeExpr;
/**
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding.
*/
members?: string[] | null;
/**
Expand Down

0 comments on commit 72c533b

Please sign in to comment.