Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::GenerateAppResourceRequest::RefineInstructions (v0.1.0)

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
Returns
  • (::Integer) — Required. The last character (inclusive) of the text to refine.

#end_index=

def end_index=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The last character (inclusive) of the text to refine.
Returns
  • (::Integer) — Required. The last character (inclusive) of the text to refine.

#field_mask

def field_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::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
Parameter
  • 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".
Returns
  • (::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
Returns
  • (::String) — Required. The instructions to refine the resource.

#instructions=

def instructions=(value) -> ::String
Parameter
  • value (::String) — Required. The instructions to refine the resource.
Returns
  • (::String) — Required. The instructions to refine the resource.

#start_index

def start_index() -> ::Integer
Returns
  • (::Integer) — Required. The first character (inclusive) of the text to refine.

#start_index=

def start_index=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The first character (inclusive) of the text to refine.
Returns
  • (::Integer) — Required. The first character (inclusive) of the text to refine.