Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::GenerateAppResourceRequest::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".
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_index
def end_index() -> ::Integer- (::Integer) — Required. The last character (inclusive) of the text to refine.
#end_index=
def end_index=(value) -> ::Integer- value (::Integer) — Required. The last character (inclusive) of the text to refine.
- (::Integer) — Required. The last character (inclusive) of the text to refine.
#field_mask
def field_mask() -> ::Google::Protobuf::FieldMask- (::Google::Protobuf::FieldMask) — 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".
#field_mask=
def field_mask=(value) -> ::Google::Protobuf::FieldMask- value (::Google::Protobuf::FieldMask) — 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".
- (::Google::Protobuf::FieldMask) — 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".
#instructions
def instructions() -> ::String- (::String) — Required. The instructions to refine the resource.
#instructions=
def instructions=(value) -> ::String- value (::String) — Required. The instructions to refine the resource.
- (::String) — Required. The instructions to refine the resource.
#start_index
def start_index() -> ::Integer- (::Integer) — Required. The first character (inclusive) of the text to refine.
#start_index=
def start_index=(value) -> ::Integer- value (::Integer) — Required. The first character (inclusive) of the text to refine.
- (::Integer) — Required. The first character (inclusive) of the text to refine.