AI-generated Key Takeaways
-
Project settings that are not locale specific are represented by the YAML representation which includes fields like
projectId,defaultLocale, and various boolean flags for API usage and content type. -
Region restrictions for invoking Actions can be defined using either
enabledRegionsordisabledRegions, each using canonical names of Adwords geotargets. -
SurfaceRequirementsdefine the minimum capabilities a client surface must support for an Action to be invoked. -
Account linking settings, using Google sign-in or OAuth, are configured within the
accountLinkingobject.
Represents settings of an Actions project that are not locale specific.
| YAML representation | |
|---|---|
projectId : string defaultLocale : string enabledRegions : - string disabledRegions : - string category : enum ( |
|
| Fields | |
|---|---|
projectId
|
Actions project id. |
defaultLocale
|
Locale which is default for the project. For all files except under |
enabledRegions[]
|
Represents the regions where users can invoke your Actions, which is based on the user's location of presence. Cannot be set if |
disabledRegions[]
|
Represents the regions where your Actions are blocked, based on the user's location of presence. Cannot be set if |
category
|
The category for this Actions project. |
usesTransactionsApi
|
Whether Actions can use transactions (for example, making reservations, taking orders, etc.). If false, then attempts to use the Transactions APIs fail. |
usesDigitalPurchaseApi
|
Whether Actions can perform transactions for digital goods. |
usesInteractiveCanvas
|
Whether Actions use Interactive Canvas. |
usesHomeStorage
|
Whether Actions use the home storage feature. |
designedForFamily
|
Whether Actions content is designed for family (DFF). |
containsAlcoholOrTobaccoContent
|
Whether Actions contains alcohol or tobacco related content. |
keepsMicOpen
|
Whether Actions may leave mic open without an explicit prompt during conversation. |
surfaceRequirements
|
The surface requirements that a client surface must support to invoke Actions in this project. |
testingInstructions
|
Free-form testing instructions for Actions reviewer (for example, account linking instructions). |
localizedSettings
|
Localized settings for the project's default locale. Every additional locale should have its own settings file in its own directory. |
accountLinking
|
Allow users to create or link accounts through Google sign-in and/or your own OAuth service. |
selectedAndroidApps[]
|
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. |
SurfaceRequirements
Contains a set of requirements that the client surface must support to invoke Actions in your project.
| YAML representation | |
|---|---|
minimumRequirements
:
- object (
|
|
| Fields | |
|---|---|
minimumRequirements[]
|
The minimum set of capabilities needed to invoke the Actions in your project. If the surface is missing any of these, the Action will not be triggered. |


