Class: A2A::PushNotificationConfig

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

Overview

Defines the configuration for setting up push notifications for task updates.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#authenticationPushNotificationAuthenticationInfo?

Returns Optional authentication details for the agent to use when calling the notification URL.

Returns:



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

attribute? :authentication, Types::Constructor(PushNotificationAuthenticationInfo).optional

#idString?

Returns A unique identifier (e.g. UUID) for the push notification configuration, set by the client to support multiple notification callbacks.

Returns:

  • (String, nil)

    A unique identifier (e.g. UUID) for the push notification configuration, set by the client to support multiple notification callbacks.



8
# File 'lib/a2a/types/push_notification_config.rb', line 8

attribute? :id, Types::String.optional

#tokenString?

Returns A unique token for this task or session to validate incoming push notifications.

Returns:

  • (String, nil)

    A unique token for this task or session to validate incoming push notifications.



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

attribute? :token, Types::String.optional

#urlURI

Returns The callback URL where the agent should send push notifications.

Returns:

  • (URI)

    The callback URL where the agent should send push notifications.



11
# File 'lib/a2a/types/push_notification_config.rb', line 11

attribute :url, Types::URI