public sealed class Tool.Types.Authentication.Types.OAuthConfig : IMessage<Tool.Types.Authentication.Types.OAuthConfig>, IEquatable<Tool.Types.Authentication.Types.OAuthConfig>, IDeepCloneable<Tool.Types.Authentication.Types.OAuthConfig>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Tool.Types.Authentication.Types.OAuthConfig.
Config for authentication with OAuth.
Implements
IMessageToolTypesAuthenticationTypesOAuthConfig, IEquatableToolTypesAuthenticationTypesOAuthConfig, IDeepCloneableToolTypesAuthenticationTypesOAuthConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
OAuthConfig()
public OAuthConfig()OAuthConfig(OAuthConfig)
public OAuthConfig(Tool.Types.Authentication.Types.OAuthConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ToolTypesAuthenticationTypesOAuthConfig |
Properties
ClientId
public string ClientId { get; set; }Required. The client ID from the OAuth provider.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ClientSecret
public string ClientSecret { get; set; }Optional. The client secret from the OAuth provider. If the
secret_version_for_client_secret field is set, this field will be
ignored.
| Property Value | |
|---|---|
| Type | Description |
string |
|
OauthGrantType
public Tool.Types.Authentication.Types.OAuthConfig.Types.OauthGrantType OauthGrantType { get; set; }Required. OAuth grant types.
| Property Value | |
|---|---|
| Type | Description |
ToolTypesAuthenticationTypesOAuthConfigTypesOauthGrantType |
|
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 in the OAuth provider to exchange for an access token.
| Property Value | |
|---|---|
| Type | Description |
string |
|