Class OAuthConfig
Configurations for authentication with OAuth.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class OAuthConfig : IDirectResponseSchema
Properties
ClientId
Required. The client ID from the OAuth provider.
Declaration
[JsonProperty("clientId")]
public virtual string ClientId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ClientSecretVersion
Required. The name of the SecretManager secret version resource storing the client secret. Format:
projects/{project}/secrets/{secret}/versions/{version} Note: You should grant
roles/secretmanager.secretAccessor role to the CES service agent
service-@gcp-sa-ces.iam.gserviceaccount.com.
Declaration
[JsonProperty("clientSecretVersion")]
public virtual string ClientSecretVersion { 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 |
OauthGrantType
Required. OAuth grant types.
Declaration
[JsonProperty("oauthGrantType")]
public virtual string OauthGrantType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Scopes
Optional. The OAuth scopes to grant.
Declaration
[JsonProperty("scopes")]
public virtual IList<string> Scopes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
TokenEndpoint
Required. The token endpoint in the OAuth provider to exchange for an access token.
Declaration
[JsonProperty("tokenEndpoint")]
public virtual string TokenEndpoint { get; set; }
Property Value
| Type | Description |
|---|---|
| string |