Discovery Engine v1beta API - Class Engine (1.0.0-beta12)

public sealed class Engine : IMessage<Engine>, IEquatable<Engine>, IDeepCloneable<Engine>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class Engine.

Metadata that describes the training and serving parameters of an [Engine][google.cloud.discoveryengine.v1beta.Engine].

Inheritance

object > Engine

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

Engine()

public Engine()

Engine(Engine)

public Engine(Engine other)
Parameter
NameDescription
otherEngine

Properties

ChatEngineConfig

public Engine.Types.ChatEngineConfig ChatEngineConfig { get; set; }

Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].

Property Value
TypeDescription
EngineTypesChatEngineConfig

ChatEngineMetadata

public Engine.Types.ChatEngineMetadata ChatEngineMetadata { get; set; }

Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].

Property Value
TypeDescription
EngineTypesChatEngineMetadata

CommonConfig

public Engine.Types.CommonConfig CommonConfig { get; set; }

Common config spec that specifies the metadata of the engine.

Property Value
TypeDescription
EngineTypesCommonConfig

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp the Recommendation Engine was created at.

Property Value
TypeDescription
Timestamp

DataStoreIds

public RepeatedField<string> DataStoreIds { get; }

The data stores associated with this engine.

For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store.

If [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1beta.Collection] can be associated here.

Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1beta.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.

Property Value
TypeDescription
RepeatedFieldstring

DisplayName

public string DisplayName { get; set; }

Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.

Property Value
TypeDescription
string

EngineConfigCase

public Engine.EngineConfigOneofCase EngineConfigCase { get; }
Property Value
TypeDescription
EngineEngineConfigOneofCase

EngineMetadataCase

public Engine.EngineMetadataOneofCase EngineMetadataCase { get; }
Property Value
TypeDescription
EngineEngineMetadataOneofCase

EngineName

public EngineName EngineName { get; set; }

EngineName-typed view over the Name resource name property.

Property Value
TypeDescription
EngineName

IndustryVertical

public IndustryVertical IndustryVertical { get; set; }

The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on [DataStore][google.cloud.discoveryengine.v1beta.DataStore]: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine.

Property Value
TypeDescription
IndustryVertical

Name

public string Name { get; set; }

Immutable. The fully qualified resource name of the engine.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

Format: projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine} engine should be 1-63 characters, and valid characters are /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.

Property Value
TypeDescription
string

SearchEngineConfig

public Engine.Types.SearchEngineConfig SearchEngineConfig { get; set; }

Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].

Property Value
TypeDescription
EngineTypesSearchEngineConfig

SolutionType

public SolutionType SolutionType { get; set; }

Required. The solutions of the engine.

Property Value
TypeDescription
SolutionType

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Timestamp the Recommendation Engine was last updated.

Property Value
TypeDescription
Timestamp