Dialogflow v3 API - Class Webhook.Types.GenericWebService.Types.OAuthConfig (3.0.0)

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.

Inheritance

object > Webhook.Types.GenericWebService.Types.OAuthConfig

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

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; }

Optional. 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

SecretVersionForClientSecret

public string SecretVersionForClientSecret { get; set; }

Optional. The name of the SecretManager secret version resource storing the client secret. If this field is set, the client_secret field will be ignored. Format: projects/{project}/secrets/{secret}/versions/{version}

Property Value
Type Description
string

SecretVersionForClientSecretAsSecretVersionName

public SecretVersionName SecretVersionForClientSecretAsSecretVersionName { get; set; }

SecretVersionName-typed view over the SecretVersionForClientSecret resource name property.

Property Value
Type Description
SecretVersionName

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