public sealed class Webhook.Types.GenericWebService.Types.OAuthConfig : IMessage<Webhook.Types.GenericWebService.Types.OAuthConfig>, IEquatable<Webhook.Types.GenericWebService.Types.OAuthConfig>, IDeepCloneable<Webhook.Types.GenericWebService.Types.OAuthConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class Webhook.Types.GenericWebService.Types.OAuthConfig.
Represents configuration of OAuth client credential flow for 3rd party API authentication.
Implements
IMessageWebhookTypesGenericWebServiceTypesOAuthConfig, IEquatableWebhookTypesGenericWebServiceTypesOAuthConfig, IDeepCloneableWebhookTypesGenericWebServiceTypesOAuthConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
OAuthConfig()
public OAuthConfig()
OAuthConfig(OAuthConfig)
public OAuthConfig(Webhook.Types.GenericWebService.Types.OAuthConfig other)
Parameter | |
---|---|
Name | Description |
other |
WebhookTypesGenericWebServiceTypesOAuthConfig |
Properties
ClientId
public string ClientId { get; set; }
Required. The client ID provided by the 3rd party platform.
Property Value | |
---|---|
Type | Description |
string |
ClientSecret
public string ClientSecret { get; set; }
Required. The client secret provided by the 3rd party platform.
Property Value | |
---|---|
Type | Description |
string |
Scopes
public RepeatedField<string> Scopes { get; }
Optional. The OAuth scopes to grant.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
TokenEndpoint
public string TokenEndpoint { get; set; }
Required. The token endpoint provided by the 3rd party platform to exchange an access token.
Property Value | |
---|---|
Type | Description |
string |