Skip to content

Commit

Permalink
Automated SDK update
Browse files Browse the repository at this point in the history
This updates the SDK from internal repo commit segmentio/public-api@e49a12c9.
  • Loading branch information
APIs and Common Services team committed Feb 5, 2025
1 parent e06f128 commit cd32f90
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/DeletionAndSuppressionApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **sourceId** | **String**| | |
| **status** | **String**| The status on which to filter returned regulations. This parameter exists in v1. | [optional] [enum: FAILED, FINISHED, INITIALIZED, INVALID, NOT_SUPPORTED, PARTIAL_SUCCESS, RUNNING] |
| **regulationTypes** | [**List<String>**](String.md)| The regulation types on which to filter returned regulations. This parameter exists in v1. | [optional] [enum: DELETE_INTERNAL, DELETE_ONLY, SUPPRESS_ONLY, SUPPRESS_WITH_DELETE, SUPPRESS_WITH_DELETE_INTERNAL, UNSUPPRESS] |
| **regulationTypes** | [**List<String>**](String.md)| The regulation types on which to filter returned regulations. This parameter exists in v1. | [optional] [enum: DELETE_ARCHIVE_ONLY, DELETE_INTERNAL, DELETE_ONLY, SUPPRESS_ONLY, SUPPRESS_WITH_DELETE, SUPPRESS_WITH_DELETE_INTERNAL, UNSUPPRESS] |
| **pagination** | [**PaginationInput**](.md)| Pagination parameters. This parameter exists in v1. | [optional] |

### Return type
Expand Down Expand Up @@ -587,7 +587,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **status** | **String**| The status on which to filter the returned regulations. This parameter exists in v1. | [optional] [enum: FAILED, FINISHED, INITIALIZED, INVALID, NOT_SUPPORTED, PARTIAL_SUCCESS, RUNNING] |
| **regulationTypes** | [**List<String>**](String.md)| The regulation types on which to filter returned regulations. This parameter exists in v1. | [optional] [enum: DELETE_ARCHIVE_ONLY, DELETE_INTERNAL, DELETE_ONLY, SUPPRESS_ONLY, SUPPRESS_WITH_DELETE, SUPPRESS_WITH_DELETE_INTERNAL, UNSUPPRESS] |
| **regulationTypes** | [**List<String>**](String.md)| The regulation types on which to filter returned regulations. This parameter exists in v1. | [optional] [enum: DELETE_INTERNAL, DELETE_ONLY, SUPPRESS_ONLY, SUPPRESS_WITH_DELETE, SUPPRESS_WITH_DELETE_INTERNAL, UNSUPPRESS] |
| **pagination** | [**PaginationInput**](.md)| Pagination parameters. This parameter exists in v1. | [optional] |

### Return type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ public RegulationTypeEnum read(final JsonReader jsonReader) throws IOException {
@SerializedName(SERIALIZED_NAME_REGULATION_TYPE)
private RegulationTypeEnum regulationType;

/** The subject type. */
/**
* The subject type. Note: `ANONYMOUS_ID` is only supported for limited Workspaces for
* Source-scoped regulations. `ANONYMOUS_ID` is only supported when regulationType is
* `DELETE_ARCHIVE_ONLY`.
*/
@JsonAdapter(SubjectTypeEnum.Adapter.class)
public enum SubjectTypeEnum {
ANONYMOUS_ID("ANONYMOUS_ID"),
Expand Down Expand Up @@ -182,7 +186,9 @@ public CreateSourceRegulationV1Input subjectType(SubjectTypeEnum subjectType) {
}

/**
* The subject type.
* The subject type. Note: `ANONYMOUS_ID` is only supported for limited Workspaces for
* Source-scoped regulations. `ANONYMOUS_ID` is only supported when regulationType is
* `DELETE_ARCHIVE_ONLY`.
*
* @return subjectType
*/
Expand Down Expand Up @@ -210,8 +216,8 @@ public CreateSourceRegulationV1Input addSubjectIdsItem(String subjectIdsItem) {
}

/**
* The list of `userId` or `objectId` values of the subjects to regulate.
* Config API note: equal to `parent` but allows an array.
* The list of `userId` or `objectId` or `anonymousId` values of
* the subjects to regulate. Config API note: equal to `parent` but allows an array.
*
* @return subjectIds
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ public class CreateWorkspaceRegulationV1Input {
/** The regulation type to create. */
@JsonAdapter(RegulationTypeEnum.Adapter.class)
public enum RegulationTypeEnum {
DELETE_ARCHIVE_ONLY("DELETE_ARCHIVE_ONLY"),

DELETE_INTERNAL("DELETE_INTERNAL"),

DELETE_ONLY("DELETE_ONLY"),
Expand Down Expand Up @@ -96,8 +94,6 @@ public RegulationTypeEnum read(final JsonReader jsonReader) throws IOException {
/** The subject type. Use `objectId` for Cloud Source regulations. */
@JsonAdapter(SubjectTypeEnum.Adapter.class)
public enum SubjectTypeEnum {
ANONYMOUS_ID("ANONYMOUS_ID"),

OBJECT_ID("OBJECT_ID"),

USER_ID("USER_ID");
Expand Down

0 comments on commit cd32f90

Please sign in to comment.