public static interface ConfigGrpc.AsyncServiceConfig Service manages compliance frameworks, cloud controls, and their configurations.
Methods
createCloudControl(CreateCloudControlRequest request, StreamObserver<CloudControl> responseObserver)
public default void createCloudControl(CreateCloudControlRequest request, StreamObserver<CloudControl> responseObserver)Creates a custom cloud control in a given parent resource. You can't create built-in cloud controls because those are managed by Google.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCloudControlRequest |
responseObserver |
io.grpc.stub.StreamObserver<CloudControl> |
createFramework(CreateFrameworkRequest request, StreamObserver<Framework> responseObserver)
public default void createFramework(CreateFrameworkRequest request, StreamObserver<Framework> responseObserver)Creates a custom framework in a given parent resource. You can't create built-in frameworks because those are managed by Google.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFrameworkRequest |
responseObserver |
io.grpc.stub.StreamObserver<Framework> |
deleteCloudControl(DeleteCloudControlRequest request, StreamObserver<Empty> responseObserver)
public default void deleteCloudControl(DeleteCloudControlRequest request, StreamObserver<Empty> responseObserver)Deletes a custom cloud control, including all its major and minor revisions. Consider the following:
- You can't delete built-in cloud controls. You can only delete cloud
controls with type
CUSTOM. - You can't delete cloud controls if any of the versions are referenced by a framework.
- You can't restore a deleted cloud control. This action is permanent.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCloudControlRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
deleteFramework(DeleteFrameworkRequest request, StreamObserver<Empty> responseObserver)
public default void deleteFramework(DeleteFrameworkRequest request, StreamObserver<Empty> responseObserver)Deletes a custom framework, including all its major and minor revisions. Consider the following:
- You can't delete built-in frameworks. You can only delete frameworks
with type
CUSTOM. - You can't delete frameworks that are deployed to a resource.
- You can't restore a deleted framework. This action is permanent.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFrameworkRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
getCloudControl(GetCloudControlRequest request, StreamObserver<CloudControl> responseObserver)
public default void getCloudControl(GetCloudControlRequest request, StreamObserver<CloudControl> responseObserver) Gets details about a cloud control.
This method retrieves the latest major version of a cloud control that
you identify by name.
By default, the latest major version of the cloud control is returned.
To retrieve a specific major version, include major_revision_id in
the request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCloudControlRequest |
responseObserver |
io.grpc.stub.StreamObserver<CloudControl> |
getFramework(GetFrameworkRequest request, StreamObserver<Framework> responseObserver)
public default void getFramework(GetFrameworkRequest request, StreamObserver<Framework> responseObserver) Gets details about a framework.
This method retrieves the latest major version of the framework.
To retrieve a specific major version, include major_revision_id in
the request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFrameworkRequest |
responseObserver |
io.grpc.stub.StreamObserver<Framework> |
listCloudControls(ListCloudControlsRequest request, StreamObserver<ListCloudControlsResponse> responseObserver)
public default void listCloudControls(ListCloudControlsRequest request, StreamObserver<ListCloudControlsResponse> responseObserver)Lists the cloud controls (both built-in and custom) that are available in a given parent resource. The latest major version of each cloud control is returned. This method supports pagination.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCloudControlsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListCloudControlsResponse> |
listFrameworks(ListFrameworksRequest request, StreamObserver<ListFrameworksResponse> responseObserver)
public default void listFrameworks(ListFrameworksRequest request, StreamObserver<ListFrameworksResponse> responseObserver)Lists the frameworks (both built-in and custom) that are available within the parent resource. The latest major version of each framework is returned. This method supports pagination.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFrameworksRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListFrameworksResponse> |
updateCloudControl(UpdateCloudControlRequest request, StreamObserver<CloudControl> responseObserver)
public default void updateCloudControl(UpdateCloudControlRequest request, StreamObserver<CloudControl> responseObserver) Updates a custom cloud control.
This method allows for partial updates of a cloud control. Use the
update_mask to specify which fields to update. Consider the following:
- If you provide an
update_mask, only the fields that are specified in the mask are updated. - If you don't provide an
update_mask, all the fields that are present in the request'scloud_controlbody are used to overwrite the existing resource. You can only update cloud controls with theCUSTOMtype. A successful update creates a new version of the cloud control.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCloudControlRequest |
responseObserver |
io.grpc.stub.StreamObserver<CloudControl> |
updateFramework(UpdateFrameworkRequest request, StreamObserver<Framework> responseObserver)
public default void updateFramework(UpdateFrameworkRequest request, StreamObserver<Framework> responseObserver) Updates a custom framework.
This method allows for partial updates of a framework. Use the
update_mask to specify which fields to update. Consider the following:
- If you provide an
update_mask, only the fields that are specified in the mask are updated. - If you don't provide an
update_mask, all the fields that are present in the request'sframeworkbody are used to overwrite the existing resource. You can only update frameworks with theCUSTOMtype. A successful update creates a new version of the framework.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFrameworkRequest |
responseObserver |
io.grpc.stub.StreamObserver<Framework> |