@Generated public class CspEnablementAPI extends Object
This settings can NOT be disabled once it is enabled.
| Constructor and Description |
|---|
CspEnablementAPI(ApiClient apiClient)
Regular-use constructor
|
CspEnablementAPI(CspEnablementService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
CspEnablementSetting |
get(GetCspEnablementRequest request)
Get the compliance security profile setting.
|
CspEnablementService |
impl() |
CspEnablementSetting |
update(boolean allowMissing,
CspEnablementSetting setting,
String fieldMask) |
CspEnablementSetting |
update(UpdateCspEnablementSettingRequest request)
Update the compliance security profile setting.
|
public CspEnablementAPI(ApiClient apiClient)
public CspEnablementAPI(CspEnablementService mock)
public CspEnablementSetting get(GetCspEnablementRequest request)
Gets the compliance security profile setting.
public CspEnablementSetting update(boolean allowMissing, CspEnablementSetting setting, String fieldMask)
public CspEnablementSetting update(UpdateCspEnablementSettingRequest request)
Updates the compliance security profile setting for the workspace. A fresh etag needs to be provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by making a `GET` request before the `PATCH` request. If the setting is updated concurrently, `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 response.
public CspEnablementService impl()
Copyright © 2024. All rights reserved.