Resource: OauthClientCredential
Represents an OAuth client credential. Used to authenticate an OAuth client while accessing Google Cloud resources on behalf of a user by using OAuth 2.0 Protocol.
JSON representation |
---|
{ "name": string, "disabled": boolean, "displayName": string, // Union field |
Fields | |
---|---|
name |
Immutable. The resource name of the OAuth client credential. Format: |
disabled |
Optional. Whether the OAuth client credential is disabled. You cannot use a disabled OAuth client credential. |
displayName |
Optional. A user-specified display name of the OAuth client credential. Cannot exceed 32 characters. |
Union field
|
|
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. |
Methods |
|
---|---|
|
Creates a new OauthClientCredential . |
|
Deletes an OauthClientCredential . |
|
Gets an individual OauthClientCredential . |
|
Lists all OauthClientCredential s in an OauthClient . |
|
Updates an existing OauthClientCredential . |