Package com.symphony.bdk.gen.api
Class DlpPoliciesAndDictionaryManagementApi
java.lang.Object
com.symphony.bdk.gen.api.DlpPoliciesAndDictionaryManagementApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-21T12:31:55.143247962Z[Etc/UTC]")
public class DlpPoliciesAndDictionaryManagementApi
extends Object
-
Constructor Summary
ConstructorDescriptionDlpPoliciesAndDictionaryManagementApi
(com.symphony.bdk.http.api.ApiClient apiClient) -
Method Summary
Modifier and TypeMethodDescriptioncom.symphony.bdk.http.api.ApiClient
Get the API cilentvoid
setApiClient
(com.symphony.bdk.http.api.ApiClient apiClient) Set the API cilentbyte[]
v1DlpDictionariesDictIdDataDownloadGet
(String sessionToken, String keyManagerToken, String dictId, String dictVersion) Downloads Base 64 encoded dictionary content.com.symphony.bdk.http.api.ApiResponse<byte[]>
v1DlpDictionariesDictIdDataDownloadGetWithHttpInfo
(String sessionToken, String keyManagerToken, String dictId, String dictVersion) Downloads Base 64 encoded dictionary content.v1DlpDictionariesDictIdDataUploadPost
(String sessionToken, String keyManagerToken, String dictId, File data) Override dictionary content with provided content.com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataResponse>
v1DlpDictionariesDictIdDataUploadPostWithHttpInfo
(String sessionToken, String keyManagerToken, String dictId, File data) Override dictionary content with provided content.v1DlpDictionariesDictIdDelete
(String sessionToken, String keyManagerToken, String dictId) Delete a dictionary Deletes a dictionary.com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataResponse>
v1DlpDictionariesDictIdDeleteWithHttpInfo
(String sessionToken, String keyManagerToken, String dictId) Delete a dictionary Deletes a dictionary.v1DlpDictionariesDictIdGet
(String sessionToken, String keyManagerToken, String dictId, String dictVersion) Get dictionary metadata Get basic information for a dictionary.com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataResponse>
v1DlpDictionariesDictIdGetWithHttpInfo
(String sessionToken, String keyManagerToken, String dictId, String dictVersion) Get dictionary metadata Get basic information for a dictionary.v1DlpDictionariesDictIdPut
(String sessionToken, String keyManagerToken, String dictId, V1DLPDictionaryMetadataUpdateRequest body) Updates a dictionary Updates the dictionary's basic metadata without content.com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataResponse>
v1DlpDictionariesDictIdPutWithHttpInfo
(String sessionToken, String keyManagerToken, String dictId, V1DLPDictionaryMetadataUpdateRequest body) Updates a dictionary Updates the dictionary's basic metadata without content.v1DlpDictionariesGet
(String sessionToken, String keyManagerToken, Integer page, Integer limit) Get all dictionary metadatas Get all dictionary metadatas with the latest version.com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataCollectionResponse>
v1DlpDictionariesGetWithHttpInfo
(String sessionToken, String keyManagerToken, Integer page, Integer limit) Get all dictionary metadatas Get all dictionary metadatas with the latest version.v1DlpDictionariesPost
(String sessionToken, String keyManagerToken, V1DLPDictionaryMetadataCreateRequest body) Create a dictionary Creates a dictionary with basic metadata and no content.com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataResponse>
v1DlpDictionariesPostWithHttpInfo
(String sessionToken, String keyManagerToken, V1DLPDictionaryMetadataCreateRequest body) Create a dictionary Creates a dictionary with basic metadata and no content.v1DlpPoliciesGet
(String sessionToken, String keyManagerToken, Integer page, Integer limit) Get all policies Get all policiescom.symphony.bdk.http.api.ApiResponse<V1DLPPoliciesCollectionResponse>
v1DlpPoliciesGetWithHttpInfo
(String sessionToken, String keyManagerToken, Integer page, Integer limit) Get all policies Get all policiesv1DlpPoliciesPolicyIdDelete
(String sessionToken, String keyManagerToken, String policyId) Delete a policy Delete a policy.com.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse>
v1DlpPoliciesPolicyIdDeleteWithHttpInfo
(String sessionToken, String keyManagerToken, String policyId) Delete a policy Delete a policy.v1DlpPoliciesPolicyIdDisablePost
(String sessionToken, String keyManagerToken, String policyId) Disables a policy.com.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse>
v1DlpPoliciesPolicyIdDisablePostWithHttpInfo
(String sessionToken, String keyManagerToken, String policyId) Disables a policy.v1DlpPoliciesPolicyIdEnablePost
(String sessionToken, String keyManagerToken, String policyId) Enables a policy.com.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse>
v1DlpPoliciesPolicyIdEnablePostWithHttpInfo
(String sessionToken, String keyManagerToken, String policyId) Enables a policy.v1DlpPoliciesPolicyIdGet
(String sessionToken, String keyManagerToken, String policyId, String policyVersion) Get a policy Get a policycom.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse>
v1DlpPoliciesPolicyIdGetWithHttpInfo
(String sessionToken, String keyManagerToken, String policyId, String policyVersion) Get a policy Get a policyv1DlpPoliciesPolicyIdPut
(String sessionToken, String keyManagerToken, String policyId, V1DLPPolicyRequest body) Updates a policy.com.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse>
v1DlpPoliciesPolicyIdPutWithHttpInfo
(String sessionToken, String keyManagerToken, String policyId, V1DLPPolicyRequest body) Updates a policy.v1DlpPoliciesPost
(String sessionToken, String keyManagerToken, V1DLPPolicyRequest body) Creates a policy Creates a new policy with dictionary references.com.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse>
v1DlpPoliciesPostWithHttpInfo
(String sessionToken, String keyManagerToken, V1DLPPolicyRequest body) Creates a policy Creates a new policy with dictionary references.v3DlpPoliciesGet
(String sessionToken, String keyManagerToken, Integer page, Integer limit) Get all policies Get all policiescom.symphony.bdk.http.api.ApiResponse<V3DLPPoliciesCollectionResponse>
v3DlpPoliciesGetWithHttpInfo
(String sessionToken, String keyManagerToken, Integer page, Integer limit) Get all policies Get all policiesv3DlpPoliciesPolicyIdDeletePost
(String sessionToken, String keyManagerToken, String policyId) Delete a policy Delete a policy.com.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse>
v3DlpPoliciesPolicyIdDeletePostWithHttpInfo
(String sessionToken, String keyManagerToken, String policyId) Delete a policy Delete a policy.v3DlpPoliciesPolicyIdDisablePost
(String sessionToken, String keyManagerToken, String policyId) Disables a policy.com.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse>
v3DlpPoliciesPolicyIdDisablePostWithHttpInfo
(String sessionToken, String keyManagerToken, String policyId) Disables a policy.v3DlpPoliciesPolicyIdEnablePost
(String sessionToken, String keyManagerToken, String policyId) Enables a policy.com.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse>
v3DlpPoliciesPolicyIdEnablePostWithHttpInfo
(String sessionToken, String keyManagerToken, String policyId) Enables a policy.v3DlpPoliciesPolicyIdGet
(String sessionToken, String keyManagerToken, String policyId, String policyVersion) Get a policy Get a policycom.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse>
v3DlpPoliciesPolicyIdGetWithHttpInfo
(String sessionToken, String keyManagerToken, String policyId, String policyVersion) Get a policy Get a policyv3DlpPoliciesPolicyIdUpdatePost
(String sessionToken, String keyManagerToken, String policyId, V3DLPPolicyRequest body) Updates a policy.com.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse>
v3DlpPoliciesPolicyIdUpdatePostWithHttpInfo
(String sessionToken, String keyManagerToken, String policyId, V3DLPPolicyRequest body) Updates a policy.v3DlpPoliciesPost
(String sessionToken, String keyManagerToken, V3DLPPolicyRequest body) Creates a policy Creates a new policy with dictionary references.com.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse>
v3DlpPoliciesPostWithHttpInfo
(String sessionToken, String keyManagerToken, V3DLPPolicyRequest body) Creates a policy Creates a new policy with dictionary references.
-
Constructor Details
-
DlpPoliciesAndDictionaryManagementApi
public DlpPoliciesAndDictionaryManagementApi(com.symphony.bdk.http.api.ApiClient apiClient)
-
-
Method Details
-
getApiClient
public com.symphony.bdk.http.api.ApiClient getApiClient()Get the API cilent- Returns:
- API client
-
setApiClient
public void setApiClient(com.symphony.bdk.http.api.ApiClient apiClient) Set the API cilent- Parameters:
apiClient
- an instance of API client
-
v1DlpDictionariesDictIdDataDownloadGet
public byte[] v1DlpDictionariesDictIdDataDownloadGet(String sessionToken, String keyManagerToken, String dictId, String dictVersion) throws com.symphony.bdk.http.api.ApiException Downloads Base 64 encoded dictionary content. Downloads Base 64 encoded dictionary content.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)dictId
- Unique dictionary identifier (required)dictVersion
- If set to be valid dictionary version number, will return dictionary with specified version. Otherwise, return the latest dictionary. (optional)- Returns:
- byte[]
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesDictIdDataDownloadGetWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<byte[]> v1DlpDictionariesDictIdDataDownloadGetWithHttpInfo(String sessionToken, String keyManagerToken, String dictId, String dictVersion) throws com.symphony.bdk.http.api.ApiException Downloads Base 64 encoded dictionary content. Downloads Base 64 encoded dictionary content.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)dictId
- Unique dictionary identifier (required)dictVersion
- If set to be valid dictionary version number, will return dictionary with specified version. Otherwise, return the latest dictionary. (optional)- Returns:
- ApiResponse<byte[]>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesDictIdDataUploadPost
public V1DLPDictionaryMetadataResponse v1DlpDictionariesDictIdDataUploadPost(String sessionToken, String keyManagerToken, String dictId, File data) throws com.symphony.bdk.http.api.ApiException Override dictionary content with provided content. Override dictionary content with provided content.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)dictId
- Unique dictionary identifier (required)data
- (required)- Returns:
- V1DLPDictionaryMetadataResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesDictIdDataUploadPostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataResponse> v1DlpDictionariesDictIdDataUploadPostWithHttpInfo(String sessionToken, String keyManagerToken, String dictId, File data) throws com.symphony.bdk.http.api.ApiException Override dictionary content with provided content. Override dictionary content with provided content.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)dictId
- Unique dictionary identifier (required)data
- (required)- Returns:
- ApiResponse<V1DLPDictionaryMetadataResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesDictIdDelete
public V1DLPDictionaryMetadataResponse v1DlpDictionariesDictIdDelete(String sessionToken, String keyManagerToken, String dictId) throws com.symphony.bdk.http.api.ApiException Delete a dictionary Deletes a dictionary. Note: All related policies will be affected.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)dictId
- Unique dictionary identifier (required)- Returns:
- V1DLPDictionaryMetadataResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesDictIdDeleteWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataResponse> v1DlpDictionariesDictIdDeleteWithHttpInfo(String sessionToken, String keyManagerToken, String dictId) throws com.symphony.bdk.http.api.ApiException Delete a dictionary Deletes a dictionary. Note: All related policies will be affected.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)dictId
- Unique dictionary identifier (required)- Returns:
- ApiResponse<V1DLPDictionaryMetadataResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesDictIdGet
public V1DLPDictionaryMetadataResponse v1DlpDictionariesDictIdGet(String sessionToken, String keyManagerToken, String dictId, String dictVersion) throws com.symphony.bdk.http.api.ApiException Get dictionary metadata Get basic information for a dictionary.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)dictId
- Unique dictionary identifier (required)dictVersion
- If set to be valid dictionary version number, will return dictionary metadata with specified version. Otherwise, return the latest dictionary metadata. (optional)- Returns:
- V1DLPDictionaryMetadataResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesDictIdGetWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataResponse> v1DlpDictionariesDictIdGetWithHttpInfo(String sessionToken, String keyManagerToken, String dictId, String dictVersion) throws com.symphony.bdk.http.api.ApiException Get dictionary metadata Get basic information for a dictionary.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)dictId
- Unique dictionary identifier (required)dictVersion
- If set to be valid dictionary version number, will return dictionary metadata with specified version. Otherwise, return the latest dictionary metadata. (optional)- Returns:
- ApiResponse<V1DLPDictionaryMetadataResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesDictIdPut
public V1DLPDictionaryMetadataResponse v1DlpDictionariesDictIdPut(String sessionToken, String keyManagerToken, String dictId, V1DLPDictionaryMetadataUpdateRequest body) throws com.symphony.bdk.http.api.ApiException Updates a dictionary Updates the dictionary's basic metadata without content. This API cannot be used for creating a new dictionary. In case of update only \"name\" can be changed. Note: All related policies will also have versions updated.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)dictId
- Unique dictionary identifier (required)body
- (required)- Returns:
- V1DLPDictionaryMetadataResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesDictIdPutWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataResponse> v1DlpDictionariesDictIdPutWithHttpInfo(String sessionToken, String keyManagerToken, String dictId, V1DLPDictionaryMetadataUpdateRequest body) throws com.symphony.bdk.http.api.ApiException Updates a dictionary Updates the dictionary's basic metadata without content. This API cannot be used for creating a new dictionary. In case of update only \"name\" can be changed. Note: All related policies will also have versions updated.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)dictId
- Unique dictionary identifier (required)body
- (required)- Returns:
- ApiResponse<V1DLPDictionaryMetadataResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesGet
public V1DLPDictionaryMetadataCollectionResponse v1DlpDictionariesGet(String sessionToken, String keyManagerToken, Integer page, Integer limit) throws com.symphony.bdk.http.api.ApiException Get all dictionary metadatas Get all dictionary metadatas with the latest version. Each dictionary object will only contain meta data of the content.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)page
- Optional parameter to specify which page to return (default is 0) (optional)limit
- Optional parameter to specify the number of result to return per page, default is 50. Maximum is 50. (optional)- Returns:
- V1DLPDictionaryMetadataCollectionResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesGetWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataCollectionResponse> v1DlpDictionariesGetWithHttpInfo(String sessionToken, String keyManagerToken, Integer page, Integer limit) throws com.symphony.bdk.http.api.ApiException Get all dictionary metadatas Get all dictionary metadatas with the latest version. Each dictionary object will only contain meta data of the content.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)page
- Optional parameter to specify which page to return (default is 0) (optional)limit
- Optional parameter to specify the number of result to return per page, default is 50. Maximum is 50. (optional)- Returns:
- ApiResponse<V1DLPDictionaryMetadataCollectionResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesPost
public V1DLPDictionaryMetadataResponse v1DlpDictionariesPost(String sessionToken, String keyManagerToken, V1DLPDictionaryMetadataCreateRequest body) throws com.symphony.bdk.http.api.ApiException Create a dictionary Creates a dictionary with basic metadata and no content. Only \"name\" and \"type\" field is used to create a new dictionary entry.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)body
- (required)- Returns:
- V1DLPDictionaryMetadataResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpDictionariesPostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPDictionaryMetadataResponse> v1DlpDictionariesPostWithHttpInfo(String sessionToken, String keyManagerToken, V1DLPDictionaryMetadataCreateRequest body) throws com.symphony.bdk.http.api.ApiException Create a dictionary Creates a dictionary with basic metadata and no content. Only \"name\" and \"type\" field is used to create a new dictionary entry.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)body
- (required)- Returns:
- ApiResponse<V1DLPDictionaryMetadataResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesGet
public V1DLPPoliciesCollectionResponse v1DlpPoliciesGet(String sessionToken, String keyManagerToken, Integer page, Integer limit) throws com.symphony.bdk.http.api.ApiException Get all policies Get all policies- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)page
- Optional parameter to specify which page to return (default is 0) (optional)limit
- Optional parameter to specify the number of result to return per page, default is 50. Maximum is 50. (optional)- Returns:
- V1DLPPoliciesCollectionResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesGetWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPPoliciesCollectionResponse> v1DlpPoliciesGetWithHttpInfo(String sessionToken, String keyManagerToken, Integer page, Integer limit) throws com.symphony.bdk.http.api.ApiException Get all policies Get all policies- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)page
- Optional parameter to specify which page to return (default is 0) (optional)limit
- Optional parameter to specify the number of result to return per page, default is 50. Maximum is 50. (optional)- Returns:
- ApiResponse<V1DLPPoliciesCollectionResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPolicyIdDelete
public V1DLPPolicyResponse v1DlpPoliciesPolicyIdDelete(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Delete a policy Delete a policy. Note: Only disabled policy can be deleted- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)- Returns:
- V1DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPolicyIdDeleteWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse> v1DlpPoliciesPolicyIdDeleteWithHttpInfo(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Delete a policy Delete a policy. Note: Only disabled policy can be deleted- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)- Returns:
- ApiResponse<V1DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPolicyIdDisablePost
public V1DLPPolicyResponse v1DlpPoliciesPolicyIdDisablePost(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Disables a policy. Disables a policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- (required)- Returns:
- V1DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPolicyIdDisablePostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse> v1DlpPoliciesPolicyIdDisablePostWithHttpInfo(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Disables a policy. Disables a policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- (required)- Returns:
- ApiResponse<V1DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPolicyIdEnablePost
public V1DLPPolicyResponse v1DlpPoliciesPolicyIdEnablePost(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Enables a policy. Enables a policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- (required)- Returns:
- V1DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPolicyIdEnablePostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse> v1DlpPoliciesPolicyIdEnablePostWithHttpInfo(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Enables a policy. Enables a policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- (required)- Returns:
- ApiResponse<V1DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPolicyIdGet
public V1DLPPolicyResponse v1DlpPoliciesPolicyIdGet(String sessionToken, String keyManagerToken, String policyId, String policyVersion) throws com.symphony.bdk.http.api.ApiException Get a policy Get a policy- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)policyVersion
- Optional parameter, if set to be valid policy version number, will return policy with specified policyVersion. Otherwise, return the latest policy. (optional)- Returns:
- V1DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPolicyIdGetWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse> v1DlpPoliciesPolicyIdGetWithHttpInfo(String sessionToken, String keyManagerToken, String policyId, String policyVersion) throws com.symphony.bdk.http.api.ApiException Get a policy Get a policy- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)policyVersion
- Optional parameter, if set to be valid policy version number, will return policy with specified policyVersion. Otherwise, return the latest policy. (optional)- Returns:
- ApiResponse<V1DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPolicyIdPut
public V1DLPPolicyResponse v1DlpPoliciesPolicyIdPut(String sessionToken, String keyManagerToken, String policyId, V1DLPPolicyRequest body) throws com.symphony.bdk.http.api.ApiException Updates a policy. Cannot be used for creation. Update the policy (name, type, contentTypes, scopes) and also the dictionaries for a policy. Warning: If you send empty list of dictionaries during the update operation, then all the dictionaries for this policy are deleted and policy is automatically disabled. Note: The policy should already exist.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)body
- (required)- Returns:
- V1DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPolicyIdPutWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse> v1DlpPoliciesPolicyIdPutWithHttpInfo(String sessionToken, String keyManagerToken, String policyId, V1DLPPolicyRequest body) throws com.symphony.bdk.http.api.ApiException Updates a policy. Cannot be used for creation. Update the policy (name, type, contentTypes, scopes) and also the dictionaries for a policy. Warning: If you send empty list of dictionaries during the update operation, then all the dictionaries for this policy are deleted and policy is automatically disabled. Note: The policy should already exist.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)body
- (required)- Returns:
- ApiResponse<V1DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPost
public V1DLPPolicyResponse v1DlpPoliciesPost(String sessionToken, String keyManagerToken, V1DLPPolicyRequest body) throws com.symphony.bdk.http.api.ApiException Creates a policy Creates a new policy with dictionary references. At the time of policy creation, the caller should only provide - contentTypes, name, scopes and type. The rest of the information is populated automatically. Note - You need to enable the policy after creation to start enforcing the policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)body
- Details about the policy that should be created. (required)- Returns:
- V1DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1DlpPoliciesPostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V1DLPPolicyResponse> v1DlpPoliciesPostWithHttpInfo(String sessionToken, String keyManagerToken, V1DLPPolicyRequest body) throws com.symphony.bdk.http.api.ApiException Creates a policy Creates a new policy with dictionary references. At the time of policy creation, the caller should only provide - contentTypes, name, scopes and type. The rest of the information is populated automatically. Note - You need to enable the policy after creation to start enforcing the policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)body
- Details about the policy that should be created. (required)- Returns:
- ApiResponse<V1DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesGet
public V3DLPPoliciesCollectionResponse v3DlpPoliciesGet(String sessionToken, String keyManagerToken, Integer page, Integer limit) throws com.symphony.bdk.http.api.ApiException Get all policies Get all policies- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)page
- Optional parameter to specify which page to return (default is 0) (optional)limit
- Optional parameter to specify the number of result to return per page, default is 50. Maximum is 50. (optional)- Returns:
- V3DLPPoliciesCollectionResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesGetWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V3DLPPoliciesCollectionResponse> v3DlpPoliciesGetWithHttpInfo(String sessionToken, String keyManagerToken, Integer page, Integer limit) throws com.symphony.bdk.http.api.ApiException Get all policies Get all policies- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)page
- Optional parameter to specify which page to return (default is 0) (optional)limit
- Optional parameter to specify the number of result to return per page, default is 50. Maximum is 50. (optional)- Returns:
- ApiResponse<V3DLPPoliciesCollectionResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPolicyIdDeletePost
public V3DLPPolicyResponse v3DlpPoliciesPolicyIdDeletePost(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Delete a policy Delete a policy. Note: Only disabled policy can be deleted- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)- Returns:
- V3DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPolicyIdDeletePostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse> v3DlpPoliciesPolicyIdDeletePostWithHttpInfo(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Delete a policy Delete a policy. Note: Only disabled policy can be deleted- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)- Returns:
- ApiResponse<V3DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPolicyIdDisablePost
public V3DLPPolicyResponse v3DlpPoliciesPolicyIdDisablePost(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Disables a policy. Disables a policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- (required)- Returns:
- V3DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPolicyIdDisablePostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse> v3DlpPoliciesPolicyIdDisablePostWithHttpInfo(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Disables a policy. Disables a policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- (required)- Returns:
- ApiResponse<V3DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPolicyIdEnablePost
public V3DLPPolicyResponse v3DlpPoliciesPolicyIdEnablePost(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Enables a policy. Enables a policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- (required)- Returns:
- V3DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPolicyIdEnablePostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse> v3DlpPoliciesPolicyIdEnablePostWithHttpInfo(String sessionToken, String keyManagerToken, String policyId) throws com.symphony.bdk.http.api.ApiException Enables a policy. Enables a policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- (required)- Returns:
- ApiResponse<V3DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPolicyIdGet
public V3DLPPolicyResponse v3DlpPoliciesPolicyIdGet(String sessionToken, String keyManagerToken, String policyId, String policyVersion) throws com.symphony.bdk.http.api.ApiException Get a policy Get a policy- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)policyVersion
- Optional parameter, if set to be valid policy version number, will return policy with specified policyVersion. Otherwise, return the latest policy. (optional)- Returns:
- V3DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPolicyIdGetWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse> v3DlpPoliciesPolicyIdGetWithHttpInfo(String sessionToken, String keyManagerToken, String policyId, String policyVersion) throws com.symphony.bdk.http.api.ApiException Get a policy Get a policy- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)policyVersion
- Optional parameter, if set to be valid policy version number, will return policy with specified policyVersion. Otherwise, return the latest policy. (optional)- Returns:
- ApiResponse<V3DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPolicyIdUpdatePost
public V3DLPPolicyResponse v3DlpPoliciesPolicyIdUpdatePost(String sessionToken, String keyManagerToken, String policyId, V3DLPPolicyRequest body) throws com.symphony.bdk.http.api.ApiException Updates a policy. Cannot be used for creation. Update the policy (name, type, contentTypes, scopes) and also the dictionaries for a policy. Warning: If you send empty list of dictionaries during the update operation, then all the dictionaries for this policy are deleted and policy is automatically disabled. Note: The policy should already exist.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)body
- (required)- Returns:
- V3DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPolicyIdUpdatePostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse> v3DlpPoliciesPolicyIdUpdatePostWithHttpInfo(String sessionToken, String keyManagerToken, String policyId, V3DLPPolicyRequest body) throws com.symphony.bdk.http.api.ApiException Updates a policy. Cannot be used for creation. Update the policy (name, type, contentTypes, scopes) and also the dictionaries for a policy. Warning: If you send empty list of dictionaries during the update operation, then all the dictionaries for this policy are deleted and policy is automatically disabled. Note: The policy should already exist.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)policyId
- Unique dictionary identifier. (required)body
- (required)- Returns:
- ApiResponse<V3DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPost
public V3DLPPolicyResponse v3DlpPoliciesPost(String sessionToken, String keyManagerToken, V3DLPPolicyRequest body) throws com.symphony.bdk.http.api.ApiException Creates a policy Creates a new policy with dictionary references. At the time of policy creation, the caller should only provide - contentTypes, name, scopes and type. The rest of the information is populated automatically. Note - You need to enable the policy after creation to start enforcing the policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)body
- Details about the policy that should be created. (required)- Returns:
- V3DLPPolicyResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v3DlpPoliciesPostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<V3DLPPolicyResponse> v3DlpPoliciesPostWithHttpInfo(String sessionToken, String keyManagerToken, V3DLPPolicyRequest body) throws com.symphony.bdk.http.api.ApiException Creates a policy Creates a new policy with dictionary references. At the time of policy creation, the caller should only provide - contentTypes, name, scopes and type. The rest of the information is populated automatically. Note - You need to enable the policy after creation to start enforcing the policy.- Parameters:
sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)body
- Details about the policy that should be created. (required)- Returns:
- ApiResponse<V3DLPPolicyResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-