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,// Union field credential can be only one of the following:"clientSecret": string// End of list of possible types for union field credential.}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-21 UTC."],[[["\u003cp\u003eOauthClientCredential authenticates an OauthClient for accessing Google Cloud resources on behalf of a user using OAuth 2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe OauthClientCredential resource includes fields such as \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003edisabled\u003c/code\u003e, \u003ccode\u003edisplayName\u003c/code\u003e, and \u003ccode\u003eclientSecret\u003c/code\u003e, with the client secret being a system-generated value that must be securely stored.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation outlines the structure of the OauthClientCredential, including the ability to define one \u003ccode\u003ecredential\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eSeveral methods are available for managing OauthClientCredential, including \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003epatch\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edisabled\u003c/code\u003e field indicates if the credential can be used, and a credential that is disabled is not usable.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.locations.oauthClients.credentials\n\n- [Resource: OauthClientCredential](#OauthClientCredential)\n - [JSON representation](#OauthClientCredential.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: OauthClientCredential\n-------------------------------\n\nRepresents an [OauthClientCredential](/iam/docs/reference/rest/v1/projects.locations.oauthClients.credentials#OauthClientCredential). Used to authenticate an [OauthClient](/iam/docs/reference/rest/v1/projects.locations.oauthClients#OauthClient) while accessing Google Cloud resources on behalf of a user by using OAuth 2.0 Protocol."]]