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

Metadata about data governance policies. For more context, see go/ke-triple-dg-policy-and-metadata. If any attribute is not set, then there's no specific restrictions associated with the missing attribute. For example, if availability_start_timestamp is not set, the data won't be embargoed automatically; if availability_end_timestamp is not set, they won't expire automatically. LINT.IfChange

Attributes

  • availabilityEndTimestamp (type: DateTime.t, default: nil) - Timestamp after which data with this policy cannot be used. This value must be strictly larger/later than availability_start_time, if both are set.
  • availabilityStartTimestamp (type: DateTime.t, default: nil) - Timestamp before which data with this policy cannot be used. This value must be strictly smaller/earlier than availability_end_time, if both are set.
  • legalAllowedRegions (type: list(GoogleApi.ContentWarehouse.V1.Model.KeGovernanceTypedRegions.t), default: nil) - List of regions in which the data with this policy is allowed to be used, while the data need to be removed in all regions outside this list according to legal request. This field should be used when the data is only allowed in a few regions and it is inconvenient to enumerate all of the regions in legal_removal_regions field. legal_allowed_regions and legal_removal_region together should include all possible regions, setting one field implies the other. Please set only one of them so the other field's values are implied. See details: http://go/ke-allowed-countries-policy-1p WARNING: This field is for legal purposes only. Please do not populate it without consulting ke-data-governance@.
  • legalRemovalRegions (type: list(GoogleApi.ContentWarehouse.V1.Model.KeGovernanceTypedRegions.t), default: nil) - List of regions in which the data with this policy need to be removed according to legal request. WARNING: This field is for legal purposes only. Please do not populate it without consulting ke-data-governance@.
  • lmsPolicyMetadata (type: GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgLmsPolicyMetadata.t, default: nil) - Policy metadata fields for LMS data. Only expected to be used by LMS providers -- please consult ke-data-governance@ before populating this field.
  • policyDataScopeKeys (type: list(integer()), default: nil) - This triple is protected by the policies with PolicyDataScope identified by these global unique ids.
  • policySourceType (type: String.t, default: nil) - Policy metadata are VERTICAL by default. Vertical policy makers / providers does not need to set this field explicitly.
  • rwjPolicyMetadata (type: GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgRwjPolicyMetadata.t, default: nil) - Policy metadata fields for Real World Journey (RWJ) data. Only expected to be used by RWJ providers -- please consult ke-data-governance@ before populating this field.
  • umpPolicyMetadata (type: GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgUmpPolicyMetadata.t, default: nil) - Policy metadata fields for UMP data. Only expected to be used by UMP providers -- please consult ke-data-governance@ before populating this field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgPolicyMetadata{
  availabilityEndTimestamp: DateTime.t() | nil,
  availabilityStartTimestamp: DateTime.t() | nil,
  legalAllowedRegions:
    [GoogleApi.ContentWarehouse.V1.Model.KeGovernanceTypedRegions.t()] | nil,
  legalRemovalRegions:
    [GoogleApi.ContentWarehouse.V1.Model.KeGovernanceTypedRegions.t()] | nil,
  lmsPolicyMetadata:
    GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgLmsPolicyMetadata.t()
    | nil,
  policyDataScopeKeys: [integer()] | nil,
  policySourceType: String.t() | nil,
  rwjPolicyMetadata:
    GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgRwjPolicyMetadata.t()
    | nil,
  umpPolicyMetadata:
    GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgUmpPolicyMetadata.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.