Service Client: Google::Actions::Sdk::V2::ActionsTesting::ActionsTestingClient

Client stub representing the remote ActionsTesting gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to actions.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Actions::Sdk::V2::ActionsTesting - Compiled Protocol Buffers messages for google/actions/sdk/v2/actions_testing.proto

SYNOPSIS

use Google::Actions::Sdk::V2::ActionsTesting;

my $msg = Google::Actions::Sdk::V2::ActionsTesting::SendInteractionRequest->new({
    project => $project,
    input => $input,
    device_properties => $device_properties,
    conversation_token => $conversation_token,
});

# Read or update a field
my $val = $msg->project();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::ActionsTesting::SendInteractionRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/actions_testing.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Actions::Sdk::V2::ActionsTesting::SendInteractionRequest

Request for playing a round of the conversation.

Inherits from Protobuf::Message.

Accessors

  • $msg->project() / $msg->project($value)

    Type: String

    Required. The project being tested, indicated by the Project ID. Format: projects/{project}

  • $msg->input() / $msg->input($value)

    Type: Message (Google::Actions::Sdk::V2::ActionsTesting::UserInput)

    Required. Input provided by the user.

  • $msg->device_properties() / $msg->device_properties($value)

    Type: Message (Google::Actions::Sdk::V2::ActionsTesting::DeviceProperties)

    Required. Properties of the device used for interacting with the Action.

  • $msg->conversation_token() / $msg->conversation_token($value)

    Type: String

    Opaque token that must be passed as received from SendInteractionResponse on the previous interaction. This can be left unset in order to start a new conversation, either as the first interaction of a testing session or to abandon a previous conversation and start a new one.

Google::Actions::Sdk::V2::ActionsTesting::UserInput

User input provided on a conversation round.

Inherits from Protobuf::Message.

Accessors

Enum: UserInput::InputType

  • INPUT_TYPE_UNSPECIFIED => 0

  • TOUCH => 1

  • VOICE => 2

  • KEYBOARD => 3

  • URL => 4

Google::Actions::Sdk::V2::ActionsTesting::DeviceProperties

Properties of device relevant to a conversation round.

Inherits from Protobuf::Message.

Accessors

  • $msg->surface() / $msg->surface($value)

    Type: Enum (Google::Actions::Sdk::V2::DeviceProperties::Surface)

    Surface used for interacting with the Action.

  • $msg->location() / $msg->location($value)

    Type: Message (Google::Actions::Sdk::V2::ActionsTesting::Location)

    Device location such as latitude, longitude, and formatted address.

  • $msg->locale() / $msg->locale($value)

    Type: String

    Locale as set on the device. The format should follow BCP 47: https://tools.ietf.org/html/bcp47 Examples: en, en-US, es-419 (more examples at https://tools.ietf.org/html/bcp47#appendix-A).

  • $msg->time_zone() / $msg->time_zone($value)

    Type: String

    Time zone as set on the device. The format should follow the IANA Time Zone Database, e.g. "America/New_York": https://www.iana.org/time-zones

Enum: DeviceProperties::Surface

  • SURFACE_UNSPECIFIED => 0

  • SPEAKER => 1

  • PHONE => 2

  • ALLO => 3

  • SMART_DISPLAY => 4

  • KAI_OS => 5

Google::Actions::Sdk::V2::ActionsTesting::Location

Container that represents a location.

Inherits from Protobuf::Message.

Accessors

  • $msg->coordinates() / $msg->coordinates($value)

    Type: Message (Google::Type::Latlng::LatLng)

    Geo coordinates. Requires the [DEVICE_PRECISE_LOCATION] [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] permission.

  • $msg->formatted_address() / $msg->formatted_address($value)

    Type: String

    Display address, e.g., "1600 Amphitheatre Pkwy, Mountain View, CA 94043". Requires the [DEVICE_PRECISE_LOCATION] [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] permission.

  • $msg->zip_code() / $msg->zip_code($value)

    Type: String

    Zip code. Requires the [DEVICE_PRECISE_LOCATION] [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] or [DEVICE_COARSE_LOCATION] [google.actions.v2.Permission.DEVICE_COARSE_LOCATION] permission.

  • $msg->city() / $msg->city($value)

    Type: String

    City. Requires the [DEVICE_PRECISE_LOCATION] [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] or [DEVICE_COARSE_LOCATION] [google.actions.v2.Permission.DEVICE_COARSE_LOCATION] permission.

Google::Actions::Sdk::V2::ActionsTesting::SendInteractionResponse

Response to a round of the conversation.

Inherits from Protobuf::Message.

Accessors

  • $msg->output() / $msg->output($value)

    Type: Message (Google::Actions::Sdk::V2::ActionsTesting::Output)

    Output provided to the user.

  • $msg->diagnostics() / $msg->diagnostics($value)

    Type: Message (Google::Actions::Sdk::V2::ActionsTesting::Diagnostics)

    Diagnostics information that explains how the request was handled.

  • $msg->conversation_token() / $msg->conversation_token($value)

    Type: String

    Opaque token to be set on SendInteractionRequest on the next RPC call in order to continue the same conversation.

Google::Actions::Sdk::V2::ActionsTesting::Output

User-visible output to the conversation round.

Inherits from Protobuf::Message.

Accessors

  • $msg->text() / $msg->text($value)

    Type: String

    Spoken response sent to user as a plain string.

  • $msg->speech() / $msg->speech($value)

    Type: String

    Speech content produced by the Action. This may include markup elements such as SSML.

  • $msg->canvas() / $msg->canvas($value)

    Type: Message (Google::Actions::Sdk::V2::Conversation::Canvas::Canvas)

    Interactive Canvas content.

  • $msg->actions_builder_prompt() / $msg->actions_builder_prompt($value)

    Type: Message (Google::Actions::Sdk::V2::Conversation::Prompt::Prompt)

    State of the prompt at the end of the conversation round. More information about the prompt: https://developers.google.com/assistant/conversational/prompts

Google::Actions::Sdk::V2::ActionsTesting::Diagnostics

Diagnostics information related to the conversation round.

Inherits from Protobuf::Message.

Accessors

  • $msg->actions_builder_events() / $msg->actions_builder_events($value)

    Type: Message (Google::Actions::Sdk::V2::EventLogs::ExecutionEvent)

    List of events with details about processing of the conversation round throughout the stages of the Actions Builder interaction model. Populated for Actions Builder & Actions SDK apps only.

Google::Actions::Sdk::V2::ActionsTesting::MatchIntentsRequest

Request for finding matching intents.

Inherits from Protobuf::Message.

Accessors

  • $msg->project() / $msg->project($value)

    Type: String

    Required. The project being tested, indicated by the Project ID. Format: projects/{project}

  • $msg->query() / $msg->query($value)

    Type: String

    Required. User query as plain text.

  • $msg->locale() / $msg->locale($value)

    Type: String

    Required. Locale to use to evaluate the query, such as "en". The format should follow BCP 47: https://tools.ietf.org/html/bcp47 See the list of supported languages in https://developers.google.com/assistant/console/languages-locales

Google::Actions::Sdk::V2::ActionsTesting::MatchIntentsResponse

Response for finding matching intents.

Inherits from Protobuf::Message.

Accessors

Google::Actions::Sdk::V2::ActionsTesting::SetWebAndAppActivityControlRequest

Request for setting Web & App Activity preferences.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the setting should be set to an enabled or disabled state.

SEE ALSO

Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::ActionsTesting::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.