Resource: OauthClientCredential
Represents an OauthClientCredential. Used to authenticate an OauthClient while accessing Google Cloud resources on behalf of a user by using OAuth 2.0 Protocol.
| JSON representation |
|---|
{ "name": string, "disabled": boolean, "displayName": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "clientSecret": string // End of mutually exclusive fields. } |
| Fields | |
|---|---|
name |
Immutable. Identifier. The resource name of the Format: |
disabled |
Optional. Whether the |
displayName |
Optional. A user-specified display name of the Cannot exceed 32 characters. |
| The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
clientSecret |
Output only. The system-generated OAuth client secret. The client secret must be stored securely. If the client secret is leaked, you must delete and re-create the client credential. To learn more, see OAuth client and credential security risks and mitigations |
| End of mutually exclusive fields. | |
Methods |
|
|---|---|
|
Creates a new OauthClientCredential. |
|
Deletes an OauthClientCredential. |
|
Gets an individual OauthClientCredential. |
|
Lists all OauthClientCredentials in an OauthClient. |
|
Updates an existing OauthClientCredential. |