Class GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig
Config for authentication with OAuth.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1.Data
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig : 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 |
ClientSecret
Optional. The client secret from the OAuth provider. If the secret_version_for_client_secret
field is set,
this field will be ignored.
Declaration
[JsonProperty("clientSecret")]
public virtual string ClientSecret { 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> |
SecretVersionForClientSecret
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}
Declaration
[JsonProperty("secretVersionForClientSecret")]
public virtual string SecretVersionForClientSecret { get; set; }
Property Value
Type | Description |
---|---|
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 |