NAME

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

SYNOPSIS

use Google::Actions::Sdk::V2::Settings;

my $msg = Google::Actions::Sdk::V2::Settings::Settings->new({
    project_id => $project_id,
    default_locale => $default_locale,
    enabled_regions => $enabled_regions,
    disabled_regions => $disabled_regions,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/settings.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::Settings::Settings

Represents settings of an Actions project that are not locale specific.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Actions project id.

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

    Type: String

    Locale which is default for the project. For all files except under `resources/` with no locale in the path, the localized data is attributed to this `default_locale`. For files under `resources/` no locale means that the resource is applicable to all locales.

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

    Type: String

    Represents the regions where users can invoke your Actions, which is based on the user's location of presence. Cannot be set if `disabled_regions` is set. If both `enabled_regions` and `disabled_regions` are not specified, users can invoke your Actions in all regions. Each region is represented using the Canonical Name of Adwords geotargets. See https://developers.google.com/adwords/api/docs/appendix/geotargeting Examples include: - "Germany" - "Ghana" - "Greece" - "Grenada" - "United Kingdom" - "United States" - "United States Minor Outlying Islands" - "Uruguay"

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

    Type: String

    Represents the regions where your Actions are blocked, based on the user's location of presence. Cannot be set if `enabled_regions` is set. Each region is represented using the Canonical Name of Adwords geotargets. See https://developers.google.com/adwords/api/docs/appendix/geotargeting Examples include: - "Germany" - "Ghana" - "Greece" - "Grenada" - "United Kingdom" - "United States" - "United States Minor Outlying Islands" - "Uruguay"

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

    Type: Enum (Google::Actions::Sdk::V2::Settings::Category)

    The category for this Actions project.

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

    Type: Bool

    Whether Actions can use transactions (for example, making reservations, taking orders, etc.). If false, then attempts to use the Transactions APIs fail.

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

    Type: Bool

    Whether Actions can perform transactions for digital goods.

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

    Type: Bool

    Whether Actions use Interactive Canvas.

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

    Type: Bool

    Whether Actions use the home storage feature.

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

    Type: Bool

    Whether Actions content is designed for family (DFF).

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

    Type: Bool

    Whether Actions contains alcohol or tobacco related content.

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

    Type: Bool

    Whether Actions may leave mic open without an explicit prompt during conversation.

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

    Type: Message (Google::Actions::Sdk::V2::Surface::SurfaceRequirements)

    The surface requirements that a client surface must support to invoke Actions in this project.

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

    Type: String

    Free-form testing instructions for Actions reviewer (for example, account linking instructions).

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

    Type: Message (Google::Actions::Sdk::V2::LocalizedSettings::LocalizedSettings)

    Localized settings for the project's default locale. Every additional locale should have its own settings file in its own directory.

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

    Type: Message (Google::Actions::Sdk::V2::AccountLinking::AccountLinking)

    Allow users to create or link accounts through Google sign-in and/or your own OAuth service.

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

    Type: String

    Android apps selected to acccess Google Play purchases for transactions. This is a selection from the Android apps connected to the actions project to verify brand ownership and enable additional features. See https://developers.google.com/assistant/console/brand-verification for more information.

Enum: Settings::Category

  • CATEGORY_UNSPECIFIED => 0

  • BUSINESS_AND_FINANCE => 2

  • EDUCATION_AND_REFERENCE => 3

  • FOOD_AND_DRINK => 4

  • GAMES_AND_TRIVIA => 5

  • HEALTH_AND_FITNESS => 6

  • KIDS_AND_FAMILY => 20

  • LIFESTYLE => 7

  • LOCAL => 8

  • MOVIES_AND_TV => 9

  • MUSIC_AND_AUDIO => 10

  • NEWS => 1

  • NOVELTY_AND_HUMOR => 11

  • PRODUCTIVITY => 12

  • SHOPPING => 13

  • SOCIAL => 14

  • SPORTS => 15

  • TRAVEL_AND_TRANSPORTATION => 16

  • UTILITIES => 17

  • WEATHER => 18

  • HOME_CONTROL => 19

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.