Interface ComplianceSettingServiceAsync
-
- All Implemented Interfaces:
public interface ComplianceSettingServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceComplianceSettingServiceAsync.WithRawResponseA view of ComplianceSettingServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ComplianceSettingServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ComplianceSettingServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<OrganizationComplianceSettings> retrieve()
Retrieve your organization's Compliance Settings.
Compliance Settings is a singleton resource: there is exactly one per organization, addressed without an identifier. The
statefield reflects whether the Compliance API is enabled. An organization with a parent organization reads the state inherited from the parent's configuration.
-
retrieve
abstract CompletableFuture<OrganizationComplianceSettings> retrieve(ComplianceSettingRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<OrganizationComplianceSettings> retrieve(ComplianceSettingRetrieveParams params)
-
retrieve
CompletableFuture<OrganizationComplianceSettings> retrieve(RequestOptions requestOptions)
-
update
CompletableFuture<OrganizationComplianceSettings> update(ComplianceSettingUpdateParams params)
Update your organization's Compliance Settings.
Setting
statetoenabledturns on the Compliance API and begins capturing organization activity events. Setting it todisabledturns both off. Access Transparency events are an exception: they are still captured while the Compliance API is disabled, and the Compliance API activity feed returns them once it is enabled again.statereflects whether the Compliance API is enabled.A request that sets
stateto its current value succeeds and leaves the resource unchanged. Adisabledrequest stays in effect until a laterenabledrequest or the organization's next provisioning action that enables Access Transparency: enabling Access Transparency also enables the Compliance API, which serves its activity events, so such provisioning (including re-runs) re-enables the Compliance API even after adisabledrequest. Automated provisioning never disables compliance settings.
-
update
abstract CompletableFuture<OrganizationComplianceSettings> update(ComplianceSettingUpdateParams params, RequestOptions requestOptions)
-
-
-
-