<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Google Assistant Developer on Medium]]></title>
        <description><![CDATA[Stories by Google Assistant Developer on Medium]]></description>
        <link>https://medium.com/@AssistantX?source=rss-ac74c204d16a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*N3G0suhyghNqfZZamPox9A.jpeg</url>
            <title>Stories by Google Assistant Developer on Medium</title>
            <link>https://medium.com/@AssistantX?source=rss-ac74c204d16a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 16:04:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@AssistantX/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Google Silently Releases its Assistant’s “App Store”]]></title>
            <link>https://medium.com/google-actions/google-silently-releases-its-assistants-app-store-75b23555e15c?source=rss-ac74c204d16a------2</link>
            <guid isPermaLink="false">https://medium.com/p/75b23555e15c</guid>
            <category><![CDATA[google-allo]]></category>
            <category><![CDATA[apiai]]></category>
            <category><![CDATA[voice-assistant]]></category>
            <category><![CDATA[google-assistant]]></category>
            <category><![CDATA[google-home]]></category>
            <dc:creator><![CDATA[Google Assistant Developer]]></dc:creator>
            <pubDate>Sun, 17 Sep 2017 23:44:45 GMT</pubDate>
            <atom:updated>2017-09-21T19:10:30.320Z</atom:updated>
            <content:encoded><![CDATA[<p>Until the list of Google Assistant Apps becomes published, a new website offers the list of published applications in its store.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DVWF8Hf8UI6YP-mdlWBE0Q.jpeg" /></figure><p><a href="https://www.gactions.com/">GACTIONS.COM</a> as found on /r/GoogleHome and /r/GoogleAssitant provides a classified directory of Google Assistant applications that have been approved by Google and who are available to everyone on Google Home, Mobile Assistant and Allo and Android Wearables:</p><p><em>Source: </em><a href="https://www.reddit.com/r/googlehome/comments/6u4pp5/gactionscom_assistant_apps_directory/"><em>reddit.com/r/googlehome &gt; Assistant Apps Directory</em></a></p><p>Worth using as Google’s alternative remains minimal:</p><blockquote>Google Assistant released a searchable list of “features” labelled as “what the Assistant can do” under a polished marketing story about <a href="https://blog.google/products/assistant/your-google-assistant-weekends-golden/">“Saint-Patrick’s Day, yourself, and your Google Assistant”</a> in which they dropped the bomb with the following text:</blockquote><blockquote>For more things to try, check this out. Sláinte!</blockquote><blockquote><a href="https://assistant.google.com/discover/#discover-filter">https://assistant.google.com/discover/#discover-filter</a></blockquote><p>Source: <a href="https://blog.google/products/assistant/your-google-assistant-weekends-golden/">blog.google &gt; your-google-assistant-weekends-golden</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75b23555e15c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-actions/google-silently-releases-its-assistants-app-store-75b23555e15c">Google Silently Releases its Assistant’s “App Store”</a> was originally published in <a href="https://medium.com/google-actions">Google Actions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Submitting Action Package for Review]]></title>
            <link>https://medium.com/google-actions/submitting-action-package-for-review-2a6fc2f909bb?source=rss-ac74c204d16a------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a6fc2f909bb</guid>
            <category><![CDATA[google-home]]></category>
            <category><![CDATA[google-actions]]></category>
            <category><![CDATA[google-actions-package]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[google-assistant]]></category>
            <dc:creator><![CDATA[Google Assistant Developer]]></dc:creator>
            <pubDate>Wed, 01 Mar 2017 14:16:30 GMT</pubDate>
            <atom:updated>2017-03-01T14:16:30.213Z</atom:updated>
            <content:encoded><![CDATA[<p>Creating a submission for review will be easy with the Assistant API v1. The main entry point for developer’s submission will be the Unique ID for their Action Package which can be requested by calling `GetActionPackageID`.</p><p>Action Packages of <strong>3P </strong>developers (<a href="https://books.google.ca/books?id=lL25BQAAQBAJ">Third Person Perspective</a>) must specify the voice type for the application by defining <strong>voiceName</strong> when creating the package.</p><p>Source:</p><pre>&gt;&gt;&gt; print(submissions.create.__doc__)</pre><pre>Creates a submission for review.<br><br>Args:<br>  body: object, The request body. (required)<br>    The object takes the form of:<br><br>{ # The main entry point for developer&#39;s submission.<br>    &quot;actionPackageId&quot;: &quot;A String&quot;, # Unique ID for this Action Package, developer invokes GetActionPackageID to<br>        # request this ID.<br>    &quot;applicationInfo&quot;: { # Global application info for this agent. # Metadata for the application, like app name, ACL.<br>      &quot;voiceName&quot;: &quot;A String&quot;, # Used to define voice type for current application. Must be set for 3p<br>          # developers.<br>      &quot;appName&quot;: &quot;A String&quot;, # The unique App name for the Application, developer submits an gets approval<br>          # from Pantheon front-end, the name can&#39;t include space, e.g., &quot;com.uber&quot;.<br>      &quot;voiceType&quot;: &quot;A String&quot;, # Used to define voice type for current application. Must be set for 3p<br>          # actions.<br>      &quot;displayName&quot;: &quot;A String&quot;, # Developer friendly name for this agent.<br>    },<br>    &quot;customType&quot;: [ # Developer defined custom types, e.g., Uber type from uber.<br>      { # Tye defined by Developer such as list of colors, or list of uber types.<br>        &quot;isDynamicDefined&quot;: True or False, # Indicates the type is runtime defined. Prefer is_user_defined instead. This<br>            # field will be deprecated.<br>        &quot;name&quot;: &quot;A String&quot;, # Name of the custom type, in the format of &quot;$Type&quot;.<br>        &quot;isUserDefined&quot;: True or False, # Whether the values are user-defined (different for every user).<br>        &quot;entityCategory&quot;: &quot;A String&quot;, # Semantic built-in type that is a hypernym of the entity type. Must be a<br>            # built-in type.<br>        &quot;items&quot;: [ # List of items for this type. Each includes a key and list of synonyms.<br>          { # Each Item corresponds a unique entity for this type, it has a unique key<br>              # and list of synonyms which are used to trigger.<br>            &quot;synonyms&quot;: [ # List of synonyms which can be used to refer to this item.<br>              &quot;A String&quot;,<br>            ],<br>            &quot;key&quot;: &quot;A String&quot;, # Unique key for this item.<br>          },<br>        ],<br>      },<br>    ],<br>    &quot;action&quot;: [ # Each AP has list of actions, each could be an one-shot action, or a<br>        # multiturn conversation.<br>      { # Action is an instance for a single-shot action or a multi-turn action.<br>        &quot;initialTrigger&quot;: { # Trigger indicates whether it&#39;s initial trigger or follow-on trigger. # Trigger phrases to activate developer&#39;s backend when user is not in any<br>            # dialog, e.g., [OK Google, book a cab].<br>          &quot;intent&quot;: &quot;A String&quot;, # Intent captured by the grammar match, e.g., BOOK_A_CAB.<br>          &quot;example&quot;: [ # List of trigger query pattern.<br>            { # Example captures an instance of annotated query example.<br>              &quot;queryPattern&quot;: &quot;A String&quot;, # Grammar pattern developer requests, in the form of [token|Type:name]+ such<br>                  # as &quot;book a cab to $SchemaOrg_Location:destination&quot;.<br>            },<br>          ],<br>        },<br>        &quot;language&quot;: &quot;A String&quot;,<br>        &quot;description&quot;: &quot;A String&quot;, # Describes what the action is doing.<br>        &quot;signInRequired&quot;: True or False, # Indicates whether to require user to sign-in before using the feature. This<br>            # is set to true by default for APs requiring account linking such as Uber.<br>        &quot;inDialogTrigger&quot;: [ # Trigger phrases used to match user&#39;s queries only when user is in the<br>            # middle of a dialog, e.g., [take me to $SchemaOrg_Location:dest].<br>          { # Trigger indicates whether it&#39;s initial trigger or follow-on trigger.<br>            &quot;intent&quot;: &quot;A String&quot;, # Intent captured by the grammar match, e.g., BOOK_A_CAB.<br>            &quot;example&quot;: [ # List of trigger query pattern.<br>              { # Example captures an instance of annotated query example.<br>                &quot;queryPattern&quot;: &quot;A String&quot;, # Grammar pattern developer requests, in the form of [token|Type:name]+ such<br>                    # as &quot;book a cab to $SchemaOrg_Location:destination&quot;.<br>              },<br>            ],<br>          },<br>        ],<br>        &quot;execution&quot;: { # Execution indicates how to execute the Action, as of Nov 2016, only HTTP is # Indicates the cloud endpoint which manages the actual dialog.<br>            # allowed.<br>          &quot;httpMethod&quot;: &quot;A String&quot;, # The HTTP method to execute the HTTP endpoint.<br>          &quot;url&quot;: &quot;A String&quot;, # Cloud endpoint, could be Google Cloud Function or self-hosting endpoint.<br>        },<br>      },<br>    ],<br>  }<br><br>  x__xgafv: string, V1 error format.<br>    Allowed values<br>      1 - v1 error format<br>      2 - v2 error format<br><br>Returns:<br>  An object of the form:<br><br>    { # Submission encapsualates which to be submitted, mainly action package.<br>    &quot;actionPackage&quot;: { # The main entry point for developer&#39;s submission. # The original Action Package for this submission.<br>        &quot;actionPackageId&quot;: &quot;A String&quot;, # Unique ID for this Action Package, developer invokes GetActionPackageID to<br>            # request this ID.<br>        &quot;applicationInfo&quot;: { # Global application info for this agent. # Metadata for the application, like app name, ACL.<br>          &quot;voiceName&quot;: &quot;A String&quot;, # Used to define voice type for current application. Must be set for 3p<br>              # developers.<br>          &quot;appName&quot;: &quot;A String&quot;, # The unique App name for the Application, developer submits an gets approval<br>              # from Pantheon front-end, the name can&#39;t include space, e.g., &quot;com.uber&quot;.<br>          &quot;voiceType&quot;: &quot;A String&quot;, # Used to define voice type for current application. Must be set for 3p<br>              # actions.<br>          &quot;displayName&quot;: &quot;A String&quot;, # Developer friendly name for this agent.<br>        },<br>        &quot;customType&quot;: [ # Developer defined custom types, e.g., Uber type from uber.<br>          { # Tye defined by Developer such as list of colors, or list of uber types.<br>            &quot;isDynamicDefined&quot;: True or False, # Indicates the type is runtime defined. Prefer is_user_defined instead. This<br>                # field will be deprecated.<br>            &quot;name&quot;: &quot;A String&quot;, # Name of the custom type, in the format of &quot;$Type&quot;.<br>            &quot;isUserDefined&quot;: True or False, # Whether the values are user-defined (different for every user).<br>            &quot;entityCategory&quot;: &quot;A String&quot;, # Semantic built-in type that is a hypernym of the entity type. Must be a<br>                # built-in type.<br>            &quot;items&quot;: [ # List of items for this type. Each includes a key and list of synonyms.<br>              { # Each Item corresponds a unique entity for this type, it has a unique key<br>                  # and list of synonyms which are used to trigger.<br>                &quot;synonyms&quot;: [ # List of synonyms which can be used to refer to this item.<br>                  &quot;A String&quot;,<br>                ],<br>                &quot;key&quot;: &quot;A String&quot;, # Unique key for this item.<br>              },<br>            ],<br>          },<br>        ],<br>        &quot;action&quot;: [ # Each AP has list of actions, each could be an one-shot action, or a<br>            # multiturn conversation.<br>          { # Action is an instance for a single-shot action or a multi-turn action.<br>            &quot;initialTrigger&quot;: { # Trigger indicates whether it&#39;s initial trigger or follow-on trigger. # Trigger phrases to activate developer&#39;s backend when user is not in any<br>                # dialog, e.g., [OK Google, book a cab].<br>              &quot;intent&quot;: &quot;A String&quot;, # Intent captured by the grammar match, e.g., BOOK_A_CAB.<br>              &quot;example&quot;: [ # List of trigger query pattern.<br>                { # Example captures an instance of annotated query example.<br>                  &quot;queryPattern&quot;: &quot;A String&quot;, # Grammar pattern developer requests, in the form of [token|Type:name]+ such<br>                      # as &quot;book a cab to $SchemaOrg_Location:destination&quot;.<br>                },<br>              ],<br>            },<br>            &quot;language&quot;: &quot;A String&quot;,<br>            &quot;description&quot;: &quot;A String&quot;, # Describes what the action is doing.<br>            &quot;signInRequired&quot;: True or False, # Indicates whether to require user to sign-in before using the feature. This<br>                # is set to true by default for APs requiring account linking such as Uber.<br>            &quot;inDialogTrigger&quot;: [ # Trigger phrases used to match user&#39;s queries only when user is in the<br>                # middle of a dialog, e.g., [take me to $SchemaOrg_Location:dest].<br>              { # Trigger indicates whether it&#39;s initial trigger or follow-on trigger.<br>                &quot;intent&quot;: &quot;A String&quot;, # Intent captured by the grammar match, e.g., BOOK_A_CAB.<br>                &quot;example&quot;: [ # List of trigger query pattern.<br>                  { # Example captures an instance of annotated query example.<br>                    &quot;queryPattern&quot;: &quot;A String&quot;, # Grammar pattern developer requests, in the form of [token|Type:name]+ such<br>                        # as &quot;book a cab to $SchemaOrg_Location:destination&quot;.<br>                  },<br>                ],<br>              },<br>            ],<br>            &quot;execution&quot;: { # Execution indicates how to execute the Action, as of Nov 2016, only HTTP is # Indicates the cloud endpoint which manages the actual dialog.<br>                # allowed.<br>              &quot;httpMethod&quot;: &quot;A String&quot;, # The HTTP method to execute the HTTP endpoint.<br>              &quot;url&quot;: &quot;A String&quot;, # Cloud endpoint, could be Google Cloud Function or self-hosting endpoint.<br>            },<br>          },<br>        ],<br>      },<br>    &quot;createTime&quot;: &quot;A String&quot;, # The timestamp when the submission is made.<br>    &quot;submissionStatus&quot;: &quot;A String&quot;, # The latest status of this submission.<br>    &quot;submissionId&quot;: &quot;A String&quot;, # Unique ID assigned by Google after an action package is submitted.<br>  }</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a6fc2f909bb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-actions/submitting-action-package-for-review-2a6fc2f909bb">Submitting Action Package for Review</a> was originally published in <a href="https://medium.com/google-actions">Google Actions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Conversing with the Action Package]]></title>
            <link>https://medium.com/google-actions/conversing-with-the-action-package-b45d9a5f577f?source=rss-ac74c204d16a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b45d9a5f577f</guid>
            <category><![CDATA[google-actions]]></category>
            <category><![CDATA[google-home]]></category>
            <category><![CDATA[google-assistant]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[golang]]></category>
            <dc:creator><![CDATA[Google Assistant Developer]]></dc:creator>
            <pubDate>Wed, 01 Mar 2017 14:03:36 GMT</pubDate>
            <atom:updated>2017-03-01T14:03:36.468Z</atom:updated>
            <content:encoded><![CDATA[<p>Conversation using the Action Package under preview as well as<br>all deployed action packages including Google Assistant core features should be the same experience than that of a real user of Assistant products like Google Home devices.</p><p>Source:</p><pre>&gt;&gt;&gt; print(assistant.converse.__doc__)</pre><pre>Invokes a conversation using the Action Package under preview as well as all deployed action packages including Google Assistant core features. This would be the same experience user has for the real Assistant surfaces like Google Home devices.<br><br>Args:<br>  body: object, The request body. (required)<br>    The object takes the form of:<br><br>{ # Request for Converse.<br>    &quot;query&quot;: &quot;A String&quot;, # Recognized query for user&#39;s spoken / text input.<br>    &quot;conversationToken&quot;: &quot;A String&quot;, # Opaque token server passed back in previous system turn.<br>    &quot;debugLevel&quot;: 42, # Indicates what kind of debug info developer wants. Debug info is available<br>        # when debug_level is &gt; 0.<br>  }<br><br>  x__xgafv: string, V1 error format.<br>    Allowed values<br>      1 - v1 error format<br>      2 - v2 error format<br><br>Returns:<br>  An object of the form:<br><br>    { # Response for Converse.<br>    &quot;response&quot;: &quot;A String&quot;, # Spoken response sent to user.<br>    &quot;debugInfo&quot;: { # Debug info Assistant shares to 3P agent to help debugging. # Debug info for this interaction. It&#39;s populated only iff debug_level &gt; 0.<br>      &quot;assistantToAgentDebug&quot;: { # Container to hold debug info: Assistant --&gt; Agent # Debug info for Assistant --&gt; Agent.<br>        &quot;curlCommand&quot;: &quot;A String&quot;, # CURL command used for developer to replay the request.<br>        &quot;assistantToAgentJson&quot;: &quot;A String&quot;, # JSON request Assistant sends to Agent.<br>      },<br>      &quot;agentToAssistantDebug&quot;: { # Container to hold debug info: Assistant &lt;-- Agent # Debug info for Asistant &lt;-- Agent.<br>        &quot;agentToAssistantJson&quot;: &quot;A String&quot;, # JSON response sent from agent to assistant.<br>      },<br>      &quot;sharedDebugInfo&quot;: [ # The debug info Google provides which can be shared to developer, sth like:<br>          # [Your query is handled by Google’s system actions], or<br>          # [Your query did not match to your Action Package]<br>        { # One specific entry corresponds to a specific debug info reported from 3P / 1P<br>            # developer via Assistant SDK, or an internal debug for the server state.<br>          &quot;debugInfo&quot;: &quot;A String&quot;, # Actual debug info for this  entry, can be a value or a tree.<br>          &quot;name&quot;: &quot;A String&quot;, # Name of this entry.<br>          &quot;subDebugEntry&quot;: [ # Child debug entries that semantically belong to the current debug entry,<br>              # but have their own name, content and children.<br>            # Object with schema name: GoogleAssistantV1DebugEntry<br>          ],<br>        },<br>      ],<br>    },<br>    &quot;expectUserResponse&quot;: True or False, # Indicates whether user&#39;s response is needed.<br>    &quot;conversationToken&quot;: &quot;A String&quot;, # Opaque token passed to client which needs to be passed back once user<br>        # responds.<br>    &quot;audioResponse&quot;: &quot;A String&quot;, # The spoken_response which is synthetized speech from response.<br>  }</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b45d9a5f577f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-actions/conversing-with-the-action-package-b45d9a5f577f">Conversing with the Action Package</a> was originally published in <a href="https://medium.com/google-actions">Google Actions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Action Previews]]></title>
            <link>https://medium.com/google-actions/google-action-previews-7ba0972b80c4?source=rss-ac74c204d16a------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ba0972b80c4</guid>
            <category><![CDATA[google-actions]]></category>
            <category><![CDATA[google-assistant]]></category>
            <category><![CDATA[account-linking]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Google Assistant Developer]]></dc:creator>
            <pubDate>Wed, 01 Mar 2017 13:57:33 GMT</pubDate>
            <atom:updated>2017-03-07T10:35:38.842Z</atom:updated>
            <content:encoded><![CDATA[<p>Google Action Previews</p><p>Action preview is the mechanism for developer to start a trial on Google Assistant even before the agent is registered or approved.</p><p>It is the main entry point for developers’ submissions is the action package.</p><p>Each action preview has a list of actions and each one can be a one-shot action, or a multi-turn conversation, so an action instance refers to a single-shot action or a multi-turn action.</p><p>Uber has been using developing their Google Assistant using <strong>account linking</strong>, which requires users are signed-in using their own OAuth2 provider.</p><blockquote>They have been using a set of “trigger phrases” used to match user’s queries only when the user is in the middle of a dialog.</blockquote><p><em>— “Take me to $SchemaOrg_Location:dest” —</em></p><p>Triggers indicates whether it’s an initial trigger or a follow-up trigger while the intent is captured by the grammar match:</p><p><em>— BOOK_A_CAB —</em></p><p>Grammar patterns developed for requests are in the form of: <strong>[token|Type:name]+</strong>.</p><p>This allows phrases such as “book a cab to $SchemaOrg_Location:destination” to provide parsing needed to establish which action(s) are desired as its result.</p><pre>source: actionPreviews.create.__doc__</pre><pre>Creates an Action Preview. Given a timeout and an Action Package w/o action_package_id provided, we assign a UUID for the action_package_id, insert it into the Action Package and return the Action Preview object.<br><br>Args:<br>  body: object, The request body. (required)<br>    The object takes the form of:<br><br>{ # The main entry point for developer&#39;s submission.<br>    &quot;actionPackageId&quot;: &quot;A String&quot;, # Unique ID for this Action Package, developer invokes GetActionPackageID to<br>        # request this ID.<br>    &quot;applicationInfo&quot;: { # Global application info for this agent. # Metadata for the application, like app name, ACL.<br>      &quot;voiceName&quot;: &quot;A String&quot;, # Used to define voice type for current application. Must be set for 3p<br>          # developers.<br>      &quot;appName&quot;: &quot;A String&quot;, # The unique App name for the Application, developer submits an gets approval<br>          # from Pantheon front-end, the name can&#39;t include space, e.g., &quot;com.uber&quot;.<br>      &quot;voiceType&quot;: &quot;A String&quot;, # Used to define voice type for current application. Must be set for 3p<br>          # actions.<br>      &quot;displayName&quot;: &quot;A String&quot;, # Developer friendly name for this agent.<br>    },<br>    &quot;customType&quot;: [ # Developer defined custom types, e.g., Uber type from uber.<br>      { # Tye defined by Developer such as list of colors, or list of uber types.<br>        &quot;isDynamicDefined&quot;: True or False, # Indicates the type is runtime defined. Prefer is_user_defined instead. This<br>            # field will be deprecated.<br>        &quot;name&quot;: &quot;A String&quot;, # Name of the custom type, in the format of &quot;$Type&quot;.<br>        &quot;isUserDefined&quot;: True or False, # Whether the values are user-defined (different for every user).<br>        &quot;entityCategory&quot;: &quot;A String&quot;, # Semantic built-in type that is a hypernym of the entity type. Must be a<br>            # built-in type.<br>        &quot;items&quot;: [ # List of items for this type. Each includes a key and list of synonyms.<br>          { # Each Item corresponds a unique entity for this type, it has a unique key<br>              # and list of synonyms which are used to trigger.<br>            &quot;synonyms&quot;: [ # List of synonyms which can be used to refer to this item.<br>              &quot;A String&quot;,<br>            ],<br>            &quot;key&quot;: &quot;A String&quot;, # Unique key for this item.<br>          },<br>        ],<br>      },<br>    ],<br>    &quot;action&quot;: [ # Each AP has list of actions, each could be an one-shot action, or a<br>        # multiturn conversation.<br>      { # Action is an instance for a single-shot action or a multi-turn action.<br>        &quot;initialTrigger&quot;: { # Trigger indicates whether it&#39;s initial trigger or follow-on trigger. # Trigger phrases to activate developer&#39;s backend when user is not in any<br>            # dialog, e.g., [OK Google, book a cab].<br>          &quot;intent&quot;: &quot;A String&quot;, # Intent captured by the grammar match, e.g., BOOK_A_CAB.<br>          &quot;example&quot;: [ # List of trigger query pattern.<br>            { # Example captures an instance of annotated query example.<br>              &quot;queryPattern&quot;: &quot;A String&quot;, # Grammar pattern developer requests, in the form of [token|Type:name]+ such<br>                  # as &quot;book a cab to $SchemaOrg_Location:destination&quot;.<br>            },<br>          ],<br>        },<br>        &quot;language&quot;: &quot;A String&quot;,<br>        &quot;description&quot;: &quot;A String&quot;, # Describes what the action is doing.<br>        &quot;signInRequired&quot;: True or False, # Indicates whether to require user to sign-in before using the feature. This<br>            # is set to true by default for APs requiring account linking such as Uber.<br>        &quot;inDialogTrigger&quot;: [ # Trigger phrases used to match user&#39;s queries only when user is in the<br>            # middle of a dialog, e.g., [take me to $SchemaOrg_Location:dest].<br>          { # Trigger indicates whether it&#39;s initial trigger or follow-on trigger.<br>            &quot;intent&quot;: &quot;A String&quot;, # Intent captured by the grammar match, e.g., BOOK_A_CAB.<br>            &quot;example&quot;: [ # List of trigger query pattern.<br>              { # Example captures an instance of annotated query example.<br>                &quot;queryPattern&quot;: &quot;A String&quot;, # Grammar pattern developer requests, in the form of [token|Type:name]+ such<br>                    # as &quot;book a cab to $SchemaOrg_Location:destination&quot;.             },<br>            ],<br>          },<br>        ],<br>        &quot;execution&quot;: { # Execution indicates how to execute the Action, as of Nov 2016, only HTTP is # Indicates the cloud endpoint which manages the actual dialog.<br>            # allowed.<br>          &quot;httpMethod&quot;: &quot;A String&quot;, # The HTTP method to execute the HTTP endpoint.<br>          &quot;url&quot;: &quot;A String&quot;, # Cloud endpoint, could be Google Cloud Function or self-hosting endpoint.<br>        },<br>      },<br>    ],<br>  }<br><br>  timeoutInMins: string, How long developer wants to make this preview valid. If unspecified, a<br>default timeout 10 mins will be used.<br>  x__xgafv: string, V1 error format.<br>    Allowed values<br>      1 - v1 error format<br>      2 - v2 error format<br><br>Returns:<br>  An object of the form:<br><br>    { # Action Preview is the mechanism for developer to start a tial on Gooogle<br>      # Assistant even before the agent is registered or approved.<br>    &quot;createTime&quot;: &quot;A String&quot;, # Creation time of an Action Preview.<br>    &quot;expireTime&quot;: &quot;A String&quot;, # Expiration time of an Action Preview, it will be removed automatically.<br>    &quot;actionPackage&quot;: { # The main entry point for developer&#39;s submission. # The actual Action Package developer wants to preview. When she creates the<br>        # preview, initially she does not have the action_package_id which will be<br>        # assigned in CreateActionPreview request.<br>        &quot;actionPackageId&quot;: &quot;A String&quot;, # Unique ID for this Action Package, developer invokes GetActionPackageID to<br>            # request this ID.<br>        &quot;applicationInfo&quot;: { # Global application info for this agent. # Metadata for the application, like app name, ACL.<br>          &quot;voiceName&quot;: &quot;A String&quot;, # Used to define voice type for current application. Must be set for 3p<br>              # developers.<br>          &quot;appName&quot;: &quot;A String&quot;, # The unique App name for the Application, developer submits an gets approval<br>              # from Pantheon front-end, the name can&#39;t include space, e.g., &quot;com.uber&quot;.<br>          &quot;voiceType&quot;: &quot;A String&quot;, # Used to define voice type for current application. Must be set for 3p<br>              # actions.<br>          &quot;displayName&quot;: &quot;A String&quot;, # Developer friendly name for this agent.<br>        },<br>        &quot;customType&quot;: [ # Developer defined custom types, e.g., Uber type from uber.<br>          { # Tye defined by Developer such as list of colors, or list of uber types.<br>            &quot;isDynamicDefined&quot;: True or False, # Indicates the type is runtime defined. Prefer is_user_defined instead. This<br>                # field will be deprecated.<br>            &quot;name&quot;: &quot;A String&quot;, # Name of the custom type, in the format of &quot;$Type&quot;.<br>            &quot;isUserDefined&quot;: True or False, # Whether the values are user-defined (different for every user).<br>            &quot;entityCategory&quot;: &quot;A String&quot;, # Semantic built-in type that is a hypernym of the entity type. Must be a<br>                # built-in type.<br>            &quot;items&quot;: [ # List of items for this type. Each includes a key and list of synonyms.<br>              { # Each Item corresponds a unique entity for this type, it has a unique key<br>                  # and list of synonyms which are used to trigger.<br>                &quot;synonyms&quot;: [ # List of synonyms which can be used to refer to this item.<br>                  &quot;A String&quot;,<br>                ],<br>                &quot;key&quot;: &quot;A String&quot;, # Unique key for this item.<br>              },<br>            ],<br>          },<br>        ],<br>        &quot;action&quot;: [ # Each AP has list of actions, each could be an one-shot action, or a<br>            # multiturn conversation.<br>          { # Action is an instance for a single-shot action or a multi-turn action.<br>            &quot;initialTrigger&quot;: { # Trigger indicates whether it&#39;s initial trigger or follow-on trigger. # Trigger phrases to activate developer&#39;s backend when user is not in any<br>                # dialog, e.g., [OK Google, book a cab].<br>              &quot;intent&quot;: &quot;A String&quot;, # Intent captured by the grammar match, e.g., BOOK_A_CAB.<br>              &quot;example&quot;: [ # List of trigger query pattern.<br>                { # Example captures an instance of annotated query example.<br>                  &quot;queryPattern&quot;: &quot;A String&quot;, # Grammar pattern developer requests, in the form of [token|Type:name]+ such<br>                      # as &quot;book a cab to $SchemaOrg_Location:destination&quot;.<br>                },<br>              ],<br>            },<br>            &quot;language&quot;: &quot;A String&quot;,<br>            &quot;description&quot;: &quot;A String&quot;, # Describes what the action is doing.<br>            &quot;signInRequired&quot;: True or False, # Indicates whether to require user to sign-in before using the feature. This<br>                # is set to true by default for APs requiring account linking such as Uber.<br>            &quot;inDialogTrigger&quot;: [ # Trigger phrases used to match user&#39;s queries only when user is in the<br>                # middle of a dialog, e.g., [take me to $SchemaOrg_Location:dest].<br>              { # Trigger indicates whether it&#39;s initial trigger or follow-on trigger.<br>                &quot;intent&quot;: &quot;A String&quot;, # Intent captured by the grammar match, e.g., BOOK_A_CAB.<br>                &quot;example&quot;: [ # List of trigger query pattern.<br>                  { # Example captures an instance of annotated query example.<br>                    &quot;queryPattern&quot;: &quot;A String&quot;, # Grammar pattern developer requests, in the form of [token|Type:name]+ such<br>                        # as &quot;book a cab to $SchemaOrg_Location:destination&quot;.<br>                  },<br>                ],<br>              },<br>            ],<br>            &quot;execution&quot;: { # Execution indicates how to execute the Action, as of Nov 2016, only HTTP is # Indicates the cloud endpoint which manages the actual dialog.<br>                # allowed.<br>              &quot;httpMethod&quot;: &quot;A String&quot;, # The HTTP method to execute the HTTP endpoint.<br>              &quot;url&quot;: &quot;A String&quot;, # Cloud endpoint, could be Google Cloud Function or self-hosting endpoint.<br>            },<br>          },<br>        ],<br>      },<br>  }</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ba0972b80c4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-actions/google-action-previews-7ba0972b80c4">Google Action Previews</a> was originally published in <a href="https://medium.com/google-actions">Google Actions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Direct Actions Packages]]></title>
            <link>https://medium.com/google-actions/google-direct-actions-packages-a56aa458d1e2?source=rss-ac74c204d16a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a56aa458d1e2</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[account-linking]]></category>
            <category><![CDATA[google-actions]]></category>
            <category><![CDATA[google-assistant]]></category>
            <category><![CDATA[oauth]]></category>
            <dc:creator><![CDATA[Google Assistant Developer]]></dc:creator>
            <pubDate>Wed, 01 Mar 2017 13:34:48 GMT</pubDate>
            <atom:updated>2017-03-01T13:34:48.732Z</atom:updated>
            <content:encoded><![CDATA[<p>Direct Action packages are persistent and developer can only have one Preview for an Action Package.<br> <br>The ActionPackage is the main operation unit developer works on, it’s the home of list of actions,<a href="https://books.google.ca/books?id=lL25BQAAQBAJ&amp;lpg=PR1&amp;pg=PR1#v=onepage&amp;q&amp;f=false"> 3P agents</a> want to support to extend Google Assistant capabilities. It mainly includes triggering grammars, authentication info, cloud endpoint and other application level metadata such as access control.</p><p>The list of actions the agent is able to handle represents what a specific conversation agent supports, it can be a single shot action, or a multi-step conversation.</p><p>An “initialTrigger” is used to define an intent and is associated to query patterns which are used to indicate the query patterns used to invoke this agent, something like:</p><blockquote>“order a coffee”</blockquote><p>Note that for Assistant V1 to trigger the agent user needs to include agent invocation name too:</p><blockquote>“order a coffee with Starbucks”</blockquote><p>matches user’s queries. It can be used for both initial trigger, and follow-on queries.</p><p>The programmable queries list all patterns used to identify the specified intent. A <em>QueryPattern</em> is an annotated instance of a developer provided example, or a query pattern. As of August 2016, only query patterns are supported.</p><p>The query pattern is a string, it represents the instance that would be used to match to user’s phrases, e.g.,</p><blockquote>“book a table at $Restaurant:restaurant”</blockquote><p>The intent indicates the intent of this query match:</p><blockquote>“BOOK_A_TABLE”</blockquote><p>The HTTP endpoint for the 3P agent, can be a Google Cloud Function endpoint or a self-hosting HTTP endpoint. Assistant sends a POST request to exchange data with 3P.</p><p><em>“signInRequired”</em> Indicates whether sign-in is required for this action. Note this is valid only when agent has AccountLinking specified inside AgentInfo.</p><p><em>“description”</em> is the English description of what the action does. This is mainly used for Google to review the action or debugging purpose. It won’t be surfaced to users. It must be less than 100 ASCII letters.</p><p><em>“inDialogTriggers”</em> triggers after the user is interacting with the agent.</p><p>Specifying these in the action is optional — they can be referred to from speech.</p><p>Source:</p><pre>&gt;&gt;&gt; print(build(serviceName=&#39;assistant&#39;, version=&#39;v1&#39;, http=GoogleUser.objects.first().credential.authorize(httplib2.Http()), developerKey=&#39;notasecret&#39;).actionPackages().create.__doc__)</pre><pre>The created Action Package will be persistent. Developer can only have one Preview for an Action Package.</pre><pre>Args:<br>  body: object, The request body. (required)<br>    The object takes the form of:</pre><pre>{ # ActionPackage is the main operation unit developer works on, it&#39;s the home<br>    # for list of actions 3P agent wants to support to extend Google Assistant<br>    # capabilities. It mainly includes triggering grammars, authentication info,<br>    # cloud endpoint and other application level metadata such as access control.<br>  &quot;actions&quot;: [ # List of actions the agent is able to handle.<br>    { # Next Id: 8<br>        # Action represents a specific conversation agent supports, it can be a single<br>        # shot action, or a multi-step conversation.<br>      &quot;initialTrigger&quot;: { # Trigger is an intent and its associated query patterns which are used to # Indicates the query patterns used to invoke this agent, e.g., [order a<br>          # coffee] for starbucks. Note that for Assistant V1 API, to trigger the agent<br>          # user needs to include agent invocation name too, something like [order a<br>          # coffee with starbucks].<br>          # match user&#39;s queries. Used for both initial trigger, and follow-on queries.<br>        &quot;queryPatterns&quot;: [ # List of patterns used to identify the specified intent.<br>          { # QueryPattern is an annotated instance of a developer provided example, or a<br>              # query pattern. As of Aug, we only support query pattern.<br>            &quot;queryPattern&quot;: &quot;A String&quot;, # The instance would be used to match to user&#39;s phrases, e.g.,<br>                # [book a table at $Restaurant:restaurant].<br>          },<br>        ],<br>        &quot;intent&quot;: &quot;A String&quot;, # Indicates the intent of this query match, e.g., &quot;BOOK_A_TABLE&quot;.<br>      },<br>      &quot;httpExecution&quot;: { # Indicates the Execution is based on HTTP API. # The cloud endpoint where Assistant sends the HTTP request to. The request<br>          # response will follow assistant conversation API.<br>        &quot;url&quot;: &quot;A String&quot;, # The HTTP endpoint for the 3P agent, can be a Google Cloud Function endpoint<br>            # or a self-hosting HTTP endpoint. Assistant sends a POST request to exchange<br>            # data with 3P. Note that as of Nov 2016, only SSL is supported.<br>      },<br>      &quot;arguments&quot;: [ # List of arguments for the action.<br>        { # Argument of the action.<br>          &quot;name&quot;: &quot;A String&quot;, # Name of the argument.<br>          &quot;entityType&quot;: &quot;A String&quot;, # Entity type. Could be built-in or custom.<br>        },<br>      ],<br>      &quot;signInRequired&quot;: True or False, # Indicates whether sign-in is required for this action. Note this is valid<br>          # only when agent has AccountLinking specified inside AgentInfo.<br>      &quot;description&quot;: &quot;A String&quot;, # English description what the action does. This is mainly used for Google to<br>          # review the action or debugging purpose. It won&#39;t be surfaced to users. It<br>          # must be less than 100 ASCII letters.<br>      &quot;inDialogTriggers&quot;: [ # In-dialog triggers after the user is interacting with the agent. Specifying<br>          # these in the action is optional. They can be referred to from speech<br>          # biasing based on the dialog state.<br>        { # Trigger is an intent and its associated query patterns which are used to<br>            # match user&#39;s queries. Used for both initial trigger, and follow-on queries.<br>          &quot;queryPatterns&quot;: [ # List of patterns used to identify the specified intent.<br>            { # QueryPattern is an annotated instance of a developer provided example, or a<br>                # query pattern. As of Aug, we only support query pattern.<br>              &quot;queryPattern&quot;: &quot;A String&quot;, # The instance would be used to match to user&#39;s phrases, e.g.,<br>                  # [book a table at $Restaurant:restaurant].<br>            },<br>          ],<br>          &quot;intent&quot;: &quot;A String&quot;, # Indicates the intent of this query match, e.g., &quot;BOOK_A_TABLE&quot;.<br>        },<br>      ],<br>    },<br>  ],<br>  &quot;deploymentStatus&quot;: { # Indicates the status of the Action Package. # Describes the deployment status of the Action Package, e.g., how long it<br>      # will be valid for Action Preview, what&#39;s the overall status of the Action<br>      # Package for all users. When the Action Package is created, it&#39;s set to<br>      # NEW.<br>    &quot;state&quot;: &quot;A String&quot;, # Detailed status for the Action Package in question.<br>    &quot;previewEndTime&quot;: &quot;A String&quot;, # End time for action preview, it only make sense when state is IN_PREVIEW.<br>  },<br>  &quot;versionLabel&quot;: &quot;A String&quot;, # Indicates the developer friendly label for this action package.<br>  &quot;customTypes&quot;: [ # List of customized types defined by developer.<br>    { # Tye defined by Developer such as list of colors, or list of uber types.<br>      &quot;entityCategory&quot;: &quot;A String&quot;, # Semantic built-in type that is a hypernym of the entity type. Must be a<br>          # built-in type.<br>      &quot;items&quot;: [ # List of items for this type. Each includes a key and list of synonyms.<br>        { # Each Item corresponds a unique entity for this type, it has a unique key<br>            # and list of synonyms which are used to trigger.<br>          &quot;key&quot;: &quot;A String&quot;, # Unique key for this item.<br>          &quot;synonyms&quot;: [ # List of synonyms which can be used to refer to this item.<br>            &quot;A String&quot;,<br>          ],<br>        },<br>      ],<br>      &quot;isDynamicDefined&quot;: True or False, # Indicates the type is runtime defined. Prefer is_user_defined instead. This<br>          # field will be deprecated.<br>      &quot;name&quot;: &quot;A String&quot;, # Name of the custom type, in the format of &quot;$Type&quot;.<br>      &quot;isUserDefined&quot;: True or False, # Whether the values are user-defined (different for every user).<br>    },<br>  ],<br>  &quot;name&quot;: &quot;A String&quot;, # Unique ID for this Action Package, assigned by CreateActionPackage API.<br>  &quot;agentInfo&quot;: { # AgentInfo is mutable before agents submits the ActionPackage for review. It # Metadata for this agent like the agent name.<br>      # becomes immutable once she submits for review.<br>    &quot;accountLinking&quot;: { # AccountLinking is used for 3P agent to allow Google Assistant to guide user # Metadata used to link user&#39;s Google account with 3P account.<br>        # to sign-in 3P web services.<br>      &quot;accessTokenUrl&quot;: &quot;A String&quot;, # The url to fetch access token given an authentication, e.g.,<br>          # <a href="https://login.uber.com/oauth/v2/token">https://login.uber.com/oauth/v2/token</a> .<br>      &quot;scopes&quot;: [ # List of scopes user needs to grant permission for, &lt;= 10 scopes are<br>          # supported.<br>        &quot;A String&quot;,<br>      ],<br>      &quot;clientId&quot;: &quot;A String&quot;, # Unique public string used to identify client requesting for authentication.<br>      &quot;grantType&quot;: &quot;A String&quot;, # Indicate type of authentication.<br>      &quot;authenticationUrl&quot;: &quot;A String&quot;, # The url where customers will be redirected in the companion app to enter<br>          # login credentials, e.g., <a href="https://login.uber.com/oauth/v2/authorize">https://login.uber.com/oauth/v2/authorize</a><br>      &quot;privacyUrl&quot;: &quot;A String&quot;, # Link to the Privacy Policy for this skill. This is mandatory for account<br>          # linking.<br>      &quot;clientSecret&quot;: &quot;A String&quot;, # Client secret maintained by developer.<br>    },<br>    &quot;languageCode&quot;: &quot;A String&quot;, # The BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. As of Aug 2016, we<br>        # only support en-US. Note for agents with multiple languages, we recommend<br>        # developer to split Action Package by language.<br>    &quot;privateKey&quot;: &quot;A String&quot;, # Private key provided by 3P agent, it&#39;s used for 3P to verify request from<br>        # Assistant. In the runtime, Assistant computes a HMAC-SHA256 signature and<br>        # populates an HTTP header, 3P needs to use HMAC-SHA256 to calculate the<br>        # signature again to verify the request comes from Assistant, e.g., lets<br>        # say FunBrain provides a private key &quot;fun_brain_private_key&quot;, the header<br>        # sent by Assistant looks like:<br>        # Google-Assistant-Signature: 2b9c2afbf67e1aca90e05f191036f257daf88f4dde4c5722d060a8d958b18833  // NOLINT<br>        # where the signature is SHA256(private_key:post_body).<br>    &quot;logoUrl&quot;: &quot;A String&quot;, # Logo image for the application<br>        # This is required when account linking is enabled<br>    &quot;invocationNames&quot;: [ # List of invocation names for this agent, they are used for users to refer<br>        # to the agent, e.g., user can say [talk to uber], or [book a cab using uber]<br>        # if she wants to talk directly to uber agent.<br>        # Note as of Sep 2016, we only allow one invocation name for an agent.<br>      &quot;A String&quot;,<br>    ],<br>    &quot;projectId&quot;: &quot;A String&quot;, # The Pantheon project ID associated with this agent.<br>    &quot;voiceName&quot;: &quot;A String&quot;, # 3P agent needs to specify a specific voice name from 10 options. Note those<br>        # options will be available around 09/10/2016.<br>  },<br>  &quot;versionId&quot;: &quot;A String&quot;, # Indicates the version ID for this action package that is populated<br>      # by the Google Assistant platform for action packages that have been<br>      # submitted. This ID will match the one given in the developer console.<br>}</pre><pre>x__xgafv: string, V1 error format.<br>    Allowed values<br>      1 - v1 error format<br>      2 - v2 error format</pre><pre>Returns:<br>  An object of the form:</pre><pre>{ # ActionPackage is the main operation unit developer works on, it&#39;s the home<br>      # for list of actions 3P agent wants to support to extend Google Assistant<br>      # capabilities. It mainly includes triggering grammars, authentication info,<br>      # cloud endpoint and other application level metadata such as access control.<br>    &quot;actions&quot;: [ # List of actions the agent is able to handle.<br>      { # Next Id: 8<br>          # Action represents a specific conversation agent supports, it can be a single<br>          # shot action, or a multi-step conversation.<br>        &quot;initialTrigger&quot;: { # Trigger is an intent and its associated query patterns which are used to # Indicates the query patterns used to invoke this agent, e.g., [order a<br>            # coffee] for starbucks. Note that for Assistant V1 API, to trigger the agent<br>            # user needs to include agent invocation name too, something like [order a<br>            # coffee with starbucks].<br>            # match user&#39;s queries. Used for both initial trigger, and follow-on queries.<br>          &quot;queryPatterns&quot;: [ # List of patterns used to identify the specified intent.<br>            { # QueryPattern is an annotated instance of a developer provided example, or a<br>                # query pattern. As of Aug, we only support query pattern.<br>              &quot;queryPattern&quot;: &quot;A String&quot;, # The instance would be used to match to user&#39;s phrases, e.g.,<br>                  # [book a table at $Restaurant:restaurant].<br>            },<br>          ],<br>          &quot;intent&quot;: &quot;A String&quot;, # Indicates the intent of this query match, e.g., &quot;BOOK_A_TABLE&quot;.<br>        },<br>        &quot;httpExecution&quot;: { # Indicates the Execution is based on HTTP API. # The cloud endpoint where Assistant sends the HTTP request to. The request<br>            # response will follow assistant conversation API.<br>          &quot;url&quot;: &quot;A String&quot;, # The HTTP endpoint for the 3P agent, can be a Google Cloud Function endpoint<br>              # or a self-hosting HTTP endpoint. Assistant sends a POST request to exchange<br>              # data with 3P. Note that as of Nov 2016, only SSL is supported.<br>        },<br>        &quot;arguments&quot;: [ # List of arguments for the action.<br>          { # Argument of the action.<br>            &quot;name&quot;: &quot;A String&quot;, # Name of the argument.<br>            &quot;entityType&quot;: &quot;A String&quot;, # Entity type. Could be built-in or custom.<br>          },<br>        ],<br>        &quot;signInRequired&quot;: True or False, # Indicates whether sign-in is required for this action. Note this is valid<br>            # only when agent has AccountLinking specified inside AgentInfo.<br>        &quot;description&quot;: &quot;A String&quot;, # English description what the action does. This is mainly used for Google to<br>            # review the action or debugging purpose. It won&#39;t be surfaced to users. It<br>            # must be less than 100 ASCII letters.<br>        &quot;inDialogTriggers&quot;: [ # In-dialog triggers after the user is interacting with the agent. Specifying<br>            # these in the action is optional. They can be referred to from speech<br>            # biasing based on the dialog state.<br>          { # Trigger is an intent and its associated query patterns which are used to<br>              # match user&#39;s queries. Used for both initial trigger, and follow-on queries.<br>            &quot;queryPatterns&quot;: [ # List of patterns used to identify the specified intent.<br>              { # QueryPattern is an annotated instance of a developer provided example, or a<br>                  # query pattern. As of Aug, we only support query pattern.<br>                &quot;queryPattern&quot;: &quot;A String&quot;, # The instance would be used to match to user&#39;s phrases, e.g.,<br>                    # [book a table at $Restaurant:restaurant].<br>              },<br>            ],<br>            &quot;intent&quot;: &quot;A String&quot;, # Indicates the intent of this query match, e.g., &quot;BOOK_A_TABLE&quot;.<br>          },<br>        ],<br>      },<br>    ],<br>    &quot;deploymentStatus&quot;: { # Indicates the status of the Action Package. # Describes the deployment status of the Action Package, e.g., how long it<br>        # will be valid for Action Preview, what&#39;s the overall status of the Action<br>        # Package for all users. When the Action Package is created, it&#39;s set to<br>        # NEW.<br>      &quot;state&quot;: &quot;A String&quot;, # Detailed status for the Action Package in question.<br>      &quot;previewEndTime&quot;: &quot;A String&quot;, # End time for action preview, it only make sense when state is IN_PREVIEW.<br>    },<br>    &quot;versionLabel&quot;: &quot;A String&quot;, # Indicates the developer friendly label for this action package.<br>    &quot;customTypes&quot;: [ # List of customized types defined by developer.<br>      { # Tye defined by Developer such as list of colors, or list of uber types.<br>        &quot;entityCategory&quot;: &quot;A String&quot;, # Semantic built-in type that is a hypernym of the entity type. Must be a<br>            # built-in type.<br>        &quot;items&quot;: [ # List of items for this type. Each includes a key and list of synonyms.<br>          { # Each Item corresponds a unique entity for this type, it has a unique key<br>              # and list of synonyms which are used to trigger.<br>            &quot;key&quot;: &quot;A String&quot;, # Unique key for this item.<br>            &quot;synonyms&quot;: [ # List of synonyms which can be used to refer to this item.<br>              &quot;A String&quot;,<br>            ],<br>          },<br>        ],<br>        &quot;isDynamicDefined&quot;: True or False, # Indicates the type is runtime defined. Prefer is_user_defined instead. This<br>            # field will be deprecated.<br>        &quot;name&quot;: &quot;A String&quot;, # Name of the custom type, in the format of &quot;$Type&quot;.<br>        &quot;isUserDefined&quot;: True or False, # Whether the values are user-defined (different for every user).<br>      },<br>    ],<br>    &quot;name&quot;: &quot;A String&quot;, # Unique ID for this Action Package, assigned by CreateActionPackage API.<br>    &quot;agentInfo&quot;: { # AgentInfo is mutable before agents submits the ActionPackage for review. It # Metadata for this agent like the agent name.<br>        # becomes immutable once she submits for review.<br>      &quot;accountLinking&quot;: { # AccountLinking is used for 3P agent to allow Google Assistant to guide user # Metadata used to link user&#39;s Google account with 3P account.<br>          # to sign-in 3P web services.<br>        &quot;accessTokenUrl&quot;: &quot;A String&quot;, # The url to fetch access token given an authentication, e.g.,<br>            # <a href="https://login.uber.com/oauth/v2/token">https://login.uber.com/oauth/v2/token</a> .<br>        &quot;scopes&quot;: [ # List of scopes user needs to grant permission for, &lt;= 10 scopes are<br>            # supported.<br>          &quot;A String&quot;,<br>        ],<br>        &quot;clientId&quot;: &quot;A String&quot;, # Unique public string used to identify client requesting for authentication.<br>        &quot;grantType&quot;: &quot;A String&quot;, # Indicate type of authentication.<br>        &quot;authenticationUrl&quot;: &quot;A String&quot;, # The url where customers will be redirected in the companion app to enter<br>            # login credentials, e.g., <a href="https://login.uber.com/oauth/v2/authorize">https://login.uber.com/oauth/v2/authorize</a><br>        &quot;privacyUrl&quot;: &quot;A String&quot;, # Link to the Privacy Policy for this skill. This is mandatory for account<br>            # linking.<br>        &quot;clientSecret&quot;: &quot;A String&quot;, # Client secret maintained by developer.<br>      },<br>      &quot;languageCode&quot;: &quot;A String&quot;, # The BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. As of Aug 2016, we<br>          # only support en-US. Note for agents with multiple languages, we recommend<br>          # developer to split Action Package by language.<br>      &quot;privateKey&quot;: &quot;A String&quot;, # Private key provided by 3P agent, it&#39;s used for 3P to verify request from<br>          # Assistant. In the runtime, Assistant computes a HMAC-SHA256 signature and<br>          # populates an HTTP header, 3P needs to use HMAC-SHA256 to calculate the<br>          # signature again to verify the request comes from Assistant, e.g., lets<br>          # say FunBrain provides a private key &quot;fun_brain_private_key&quot;, the header<br>          # sent by Assistant looks like:<br>          # Google-Assistant-Signature: 2b9c2afbf67e1aca90e05f191036f257daf88f4dde4c5722d060a8d958b18833  // NOLINT<br>          # where the signature is SHA256(private_key:post_body).<br>      &quot;logoUrl&quot;: &quot;A String&quot;, # Logo image for the application<br>          # This is required when account linking is enabled<br>      &quot;invocationNames&quot;: [ # List of invocation names for this agent, they are used for users to refer<br>          # to the agent, e.g., user can say [talk to uber], or [book a cab using uber]<br>          # if she wants to talk directly to uber agent.<br>          # Note as of Sep 2016, we only allow one invocation name for an agent.<br>        &quot;A String&quot;,<br>      ],<br>      &quot;projectId&quot;: &quot;A String&quot;, # The Pantheon project ID associated with this agent.<br>      &quot;voiceName&quot;: &quot;A String&quot;, # 3P agent needs to specify a specific voice name from 10 options. Note those<br>          # options will be available around 09/10/2016.<br>    },<br>    &quot;versionId&quot;: &quot;A String&quot;, # Indicates the version ID for this action package that is populated<br>        # by the Google Assistant platform for action packages that have been<br>        # submitted. This ID will match the one given in the developer console.<br>  }</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a56aa458d1e2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-actions/google-direct-actions-packages-a56aa458d1e2">Google Direct Actions Packages</a> was originally published in <a href="https://medium.com/google-actions">Google Actions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>