Class GoogleCloudDiscoveryengineV1alphaCannedQuery
Canned query resource of Assistant. It represents a short-cut to a predefined conversation start.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaCannedQuery : IDirectResponseSchema
Properties
DefaultTexts
Required. The default (non-localized) values for the text attributes.
Declaration
[JsonProperty("defaultTexts")]
public virtual GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts DefaultTexts { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts |
DisplayName
The display name of the canned query. It must be a UTF-8 encoded string with a length limit of 128 characters.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { 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 |
Enabled
Whether this canned query is enabled.
Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
GoogleDefined
Output only. Whether this is a Google-defined, read-only canned query.
Declaration
[JsonProperty("googleDefined")]
public virtual bool? GoogleDefined { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
LocalizedTexts
Optional. The translations of the text attributes. The keys should be BCP-47 language codes.
Declaration
[JsonProperty("localizedTexts")]
public virtual IDictionary<string, GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts> LocalizedTexts { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts> |
Name
Immutable. Resource name of the canned query. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}
It must be a UTF-8 encoded string with a length limit of 1024 characters.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RequiredCapabilities
Optional. The capabilities the Assistant needs to have to use this canned query.
Declaration
[JsonProperty("requiredCapabilities")]
public virtual IList<GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability> RequiredCapabilities { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability> |