Class: A2A::MessageSendConfiguration

Inherits:
ProtocolStruct
  • Object
show all
Defined in:
lib/a2a/types/message_send_configuration.rb

Overview

Defines configuration options for a ‘message/send` or `message/stream` request.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#accepted_output_modesArray<String>?

Returns A list of output MIME types the client is prepared to accept in the response.

Returns:

  • (Array<String>, nil)

    A list of output MIME types the client is prepared to accept in the response.



7
# File 'lib/a2a/types/message_send_configuration.rb', line 7

attribute? :accepted_output_modes, Types::Array.of(Types::String).optional

#blockingBoolean

Returns If true, the client will wait for the task to complete. The server may reject this if the task is long-running.

Returns:

  • (Boolean)

    If true, the client will wait for the task to complete. The server may reject this if the task is long-running.



18
# File 'lib/a2a/types/message_send_configuration.rb', line 18

attribute? :blocking, Types::Bool.default(false)

#history_lengthInteger?

Returns The number of most recent messages from the task’s history to retrieve in the response.

Returns:

  • (Integer, nil)

    The number of most recent messages from the task’s history to retrieve in the response.



10
# File 'lib/a2a/types/message_send_configuration.rb', line 10

attribute? :history_length, Types::Integer.optional

#push_notification_configPushNotificationConfig?

Returns Configuration for the agent to send push notifications for updates after the initial response.

Returns:

  • (PushNotificationConfig, nil)

    Configuration for the agent to send push notifications for updates after the initial response.



14
# File 'lib/a2a/types/message_send_configuration.rb', line 14

attribute? :push_notification_config, Types::Constructor(PushNotificationConfig).optional