View Source GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDeviceFeatureFilters (google_api_content_warehouse v0.4.0)

Defines a set of restrictions on particular device features for a certain set of users. Design: go/home-ft-settings-storage PRD: go/home-family-tools-prd

Attributes

  • enabled (type: boolean(), default: nil) - Enables/disables all the filters at the same time. For new devices or non-Cast devices this is always false.
  • featureFilters (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsFeatureFilters.t, default: nil) - The filters (feature restrictions) to apply when enabled is true.
  • targets (type: list(String.t), default: nil) - The set of users of this device that will have these settings applied. Must have at least one element.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDeviceFeatureFilters{
    enabled: boolean() | nil,
    featureFilters:
      GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsFeatureFilters.t()
      | nil,
    targets: [String.t()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.