View Source GoogleApi.ContentWarehouse.V1.Model.VendingConsumerProtoTrustedGenomePolicy (google_api_content_warehouse v0.3.0)

Proto message containing policy related information.

Attributes

  • localizedRegionOverride (type: String.t, default: nil) - Override text for region for special treatment. Override will be used in special cases for example regions are too long to show in UI, the override will be "CA/NV/..." to cut it short. By keeping a region override string we'll have more flexibility to adjust what we show on UI. Optional.
  • policyType (type: list(String.t), default: nil) - Policy type. e.g. Government Endorsed, Apollo Required.
  • targetRegion (type: list(GoogleApi.ContentWarehouse.V1.Model.VendingConsumerProtoTrustedGenomePolicyTargetRegion.t), default: nil) - Contains target region for the current policy. Optional

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.VendingConsumerProtoTrustedGenomePolicy{
    localizedRegionOverride: String.t() | nil,
    policyType: [String.t()] | nil,
    targetRegion:
      [
        GoogleApi.ContentWarehouse.V1.Model.VendingConsumerProtoTrustedGenomePolicyTargetRegion.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.