Content on this page might refer to the legacy Actions SDK. Refer to the main Conversational Actions documentation for guides and procedures that use Actions Builder and the current Actions SDK.

OpenUrlAction

Opens the given url.

JSON representation
{
  "url": string,
  "androidApp": {
    object (AndroidApp)
  },
  "urlTypeHint": enum (UrlTypeHint)
}
Fields
url

string

The url field which could be any of: - http/https urls for opening an App-linked App or a webpage

androidApp

object (AndroidApp)

Information about the Android App if the URL is expected to be fulfilled by an Android App.

urlTypeHint

enum (UrlTypeHint)

Indicates a hint for the url type.

AndroidApp

Specification of the Android App for fulfillment restrictions

JSON representation
{
  "packageName": string,
  "versions": [
    {
      object (VersionFilter)
    }
  ]
}
Fields
packageName

string

Package name Package name must be specified when specifing Android Fulfillment.

versions[]

object (VersionFilter)

When multiple filters are specified, any filter match will trigger the app.

VersionFilter

VersionFilter should be included if specific version/s of the App are required.

JSON representation
{
  "minVersion": integer,
  "maxVersion": integer
}
Fields
minVersion

integer

Min version code or 0, inclusive.

maxVersion

integer

Max version code, inclusive. The range considered is [minVersion:maxVersion]. A null range implies any version. Examples: To specify a single version use: [target_version:target_version]. To specify any version leave minVersion and maxVersion unspecified. To specify all versions until maxVersion, leave minVersion unspecified. To specify all versions from minVersion, leave maxVersion unspecified.