public sealed class GenerateAppResourceRequest.Types.RefineInstructions : IMessage<GenerateAppResourceRequest.Types.RefineInstructions>, IEquatable<GenerateAppResourceRequest.Types.RefineInstructions>, IDeepCloneable<GenerateAppResourceRequest.Types.RefineInstructions>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class GenerateAppResourceRequest.Types.RefineInstructions.
The instructions to be used to refine a part of the resource. The part of the resource can be specified with a start index, end index and a field mask. For example, if you want to refine a part of the agent instructions you can specify the index of the first character of the instructions, the index of the last character of the instructions and the field mask as "instructions".
Implements
IMessageGenerateAppResourceRequestTypesRefineInstructions, IEquatableGenerateAppResourceRequestTypesRefineInstructions, IDeepCloneableGenerateAppResourceRequestTypesRefineInstructions, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
RefineInstructions()
public RefineInstructions()RefineInstructions(RefineInstructions)
public RefineInstructions(GenerateAppResourceRequest.Types.RefineInstructions other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateAppResourceRequestTypesRefineInstructions |
Properties
EndIndex
public long EndIndex { get; set; }Required. The last character (inclusive) of the text to refine.
| Property Value | |
|---|---|
| Type | Description |
long |
|
FieldMask
public FieldMask FieldMask { get; set; }Required. The field of the resource being refined. Only one field is allowed per RefineInstructions. If refining agent instructions, the field mask should be "instructions".
| Property Value | |
|---|---|
| Type | Description |
FieldMask |
|
Instructions
public string Instructions { get; set; }Required. The instructions to refine the resource.
| Property Value | |
|---|---|
| Type | Description |
string |
|
StartIndex
public long StartIndex { get; set; }Required. The first character (inclusive) of the text to refine.
| Property Value | |
|---|---|
| Type | Description |
long |
|