Class V1DLPPolicyRequest


  • public class V1DLPPolicyRequest
    extends Object
    The policy object to use for creating/updating a policy.
    • Constructor Detail

      • V1DLPPolicyRequest

        public V1DLPPolicyRequest()
    • Method Detail

      • getContentTypes

        public List<String> getContentTypes()
        The list of content types that policy should apply to. Cannot be empty. Policy content types could be either of \"Messages\", \"RoomMeta\", \"SignalMeta\". Default is set to [\"Messages\"] if not specified.
        Returns:
        contentTypes
      • setContentTypes

        public void setContentTypes​(List<String> contentTypes)
      • getDictionaryIds

        public List<String> getDictionaryIds()
        List of dictionaries Ids for the policy.
        Returns:
        dictionaryIds
      • setDictionaryIds

        public void setDictionaryIds​(List<String> dictionaryIds)
      • getName

        public String getName()
        Unique name of a policy, max 30 characters. Cannot be empty. All the leading and trailing blank spaces are trimmed.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getScopes

        public List<String> getScopes()
        List of communication scopes. Possible values are \"Internal\" (for Internal conversations) or \"External\" (for External conversations). You can apply both scopes if you set it to [\"Internal\", \"External\"].
        Returns:
        scopes
      • setScopes

        public void setScopes​(List<String> scopes)
      • getType

        public String getType()
        Type of policy. Possible values \"Block\" or \"Warn\".
        Returns:
        type
      • setType

        public void setType​(String type)