AssistantApiOutputRestrictions

AI Overview😉

  • The potential purpose of this module is to control and restrict the type of content that can be displayed or outputted by a device or assistant, such as Google Photos, YouTube videos, or personal data. This module ensures that the device only provides access to content that is allowed or configured by the user.
  • This module could impact search results by filtering out content that is not allowed to be displayed or outputted by the device. For example, if a user has restricted YouTube autoplay, the search results may not include YouTube videos that require autoplay. This could lead to a more personalized and controlled search experience for the user.
  • A website may change things to be more favorable for this function by ensuring that their content is compatible with the restrictions set by the user. For example, a website may provide alternative content that does not require YouTube autoplay or may ensure that their content is accessible on devices with restricted personal data output. Additionally, websites may need to provide metadata or tags to indicate the type of content they provide, allowing the device to make informed decisions about what content to display or output.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.AssistantApiOutputRestrictions (google_api_content_warehouse v0.4.0)

These are user configurable permissions representing what the device is allowed to output. Next ID: 11

Attributes

  • googlePhotoContent (type: String.t, default: nil) - The type of Google Photo content which the device can output.
  • guestAccessOutput (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiGuestAccessOutput.t, default: nil) - Access settings for guests.
  • personalData (type: String.t, default: nil) - The level of personal data which the device can output. See go/personal-readout for detail.
  • proactiveNotificationOutput (type: String.t, default: nil) - This controls if the server can proactively send notification to users, and it does not affect scenarios that users ask for information. The notification may include TTS and lights. It could be only lights for chirp.
  • proactiveOutput (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiProactiveOutput.t, default: nil) - Restrictions on displaying and interacting with content on proactive surfaces (e.g. Dragonglass home screen). Note: NEVER access this field of OutputRestrictions directly, use the code in assistant/assistant_server/settings/device/device_settings_util.h instead.
  • youtubeAutoplayRestriction (type: String.t, default: nil) - Whether YouTube autoplay is allowed for queries from the user to this device. See go/assistant-youtube-settings for details.
  • youtubeContent (type: String.t, default: nil) - The type of YouTube content which the device can output.
  • youtubeTvContent (type: String.t, default: nil) - The type of YouTube TV content which the device can output.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiOutputRestrictions{
  googlePhotoContent: String.t() | nil,
  guestAccessOutput:
    GoogleApi.ContentWarehouse.V1.Model.AssistantApiGuestAccessOutput.t() | nil,
  personalData: String.t() | nil,
  proactiveNotificationOutput: String.t() | nil,
  proactiveOutput:
    GoogleApi.ContentWarehouse.V1.Model.AssistantApiProactiveOutput.t() | nil,
  youtubeAutoplayRestriction: String.t() | nil,
  youtubeContent: String.t() | nil,
  youtubeTvContent: String.t() | nil
}

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.