Class OauthClientCredential
Represents an oauth client credential. Used to authenticate an oauth client while accessing Google Cloud resources on behalf of a user by using OAuth2 Protocol.
Implements
Inherited Members
Namespace: Google.Apis.Iam.v1.Data
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class OauthClientCredential : IDirectResponseSchema
Properties
ClientSecret
Output only. The system-generated oauth client secret.
Declaration
[JsonProperty("clientSecret")]
public virtual string ClientSecret { get; set; }
Property Value
Type | Description |
---|---|
string |
Disabled
Optional. Whether the oauth client credential is disabled. You cannot use a disabled oauth client credential for OAuth.
Declaration
[JsonProperty("disabled")]
public virtual bool? Disabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DisplayName
Optional. A user-specified display name of the oauth client credential Cannot exceed 32 characters.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Immutable. The resource name of the oauth client credential. Format:
projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |