Class GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2
OAuth2 configuration.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2 : IDirectResponseSchema
Properties
AuthorizationUri
Required. The URI the user is directed to when they need to authorize. Should include everything required
for a successful authorization: OAuth ID, extra flags, etc. Example:
https://accounts.google.com/o/oauth2/v2/auth?client_id=OAUTH_ID&scope=https://www.googleapis.com/auth/calendar.events&response_type=code&access_type=offline&prompt=consent
The redirect_uri parameter will be overwritten by the Vertex AI Search frontend.
Declaration
[JsonProperty("authorizationUri")]
public virtual string AuthorizationUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ClientId
Required. The OAuth2 client ID.
Declaration
[JsonProperty("clientId")]
public virtual string ClientId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ClientSecret
Required. The OAuth2 client secret. Encrypted at rest.
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 |
Scopes
Required. The scopes to request. Example: https://www.googleapis.com/auth/calendar.events
Declaration
[JsonProperty("scopes")]
public virtual IList<string> Scopes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
TokenUri
Required. The HTTP endpoint that exchanges a client authorization for an access token.
Declaration
[JsonProperty("tokenUri")]
public virtual string TokenUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |