@Generated public class RestrictWorkspaceAdminsAPI extends Object
Constructor and Description |
---|
RestrictWorkspaceAdminsAPI(ApiClient apiClient)
Regular-use constructor
|
RestrictWorkspaceAdminsAPI(RestrictWorkspaceAdminsService mock)
Constructor for mocks
|
Modifier and Type | Method and Description |
---|---|
DeleteRestrictWorkspaceAdminsSettingResponse |
delete(DeleteRestrictWorkspaceAdminsSettingRequest request)
Delete the restrict workspace admins setting.
|
RestrictWorkspaceAdminsSetting |
get(GetRestrictWorkspaceAdminsSettingRequest request)
Get the restrict workspace admins setting.
|
RestrictWorkspaceAdminsService |
impl() |
RestrictWorkspaceAdminsSetting |
update(boolean allowMissing,
RestrictWorkspaceAdminsSetting setting,
String fieldMask) |
RestrictWorkspaceAdminsSetting |
update(UpdateRestrictWorkspaceAdminsSettingRequest request)
Update the restrict workspace admins setting.
|
public RestrictWorkspaceAdminsAPI(ApiClient apiClient)
public RestrictWorkspaceAdminsAPI(RestrictWorkspaceAdminsService mock)
public DeleteRestrictWorkspaceAdminsSettingResponse delete(DeleteRestrictWorkspaceAdminsSettingRequest request)
Reverts the restrict workspace admins setting status for the workspace. A fresh etag needs to be provided in `DELETE` requests (as a query parameter). The etag can be retrieved by making a `GET` request before the DELETE request. If the setting is updated/deleted concurrently, `DELETE` fails with 409 and the request must be retried by using the fresh etag in the 409 response.
public RestrictWorkspaceAdminsSetting get(GetRestrictWorkspaceAdminsSettingRequest request)
Gets the restrict workspace admins setting.
public RestrictWorkspaceAdminsSetting update(boolean allowMissing, RestrictWorkspaceAdminsSetting setting, String fieldMask)
public RestrictWorkspaceAdminsSetting update(UpdateRestrictWorkspaceAdminsSettingRequest request)
Updates the restrict workspace admins 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 RestrictWorkspaceAdminsService impl()
Copyright © 2024. All rights reserved.