public static final class SecurityCenterGrpc.SecurityCenterStub extends AbstractAsyncStub<SecurityCenterGrpc.SecurityCenterStub>
V1 APIs for Security Center service.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
SecurityCenterGrpc.SecurityCenterStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected SecurityCenterGrpc.SecurityCenterStub build(Channel channel, CallOptions callOptions)
Parameters |
---|
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
bulkMuteFindings(BulkMuteFindingsRequest request, StreamObserver<Operation> responseObserver)
public void bulkMuteFindings(BulkMuteFindingsRequest request, StreamObserver<Operation> responseObserver)
Kicks off an LRO to bulk mute findings for a parent based on a filter. The
parent can be either an organization, folder or project. The findings
matched by the filter will be muted after the LRO is done.
createBigQueryExport(CreateBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
public void createBigQueryExport(CreateBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
Creates a BigQuery export.
createFinding(CreateFindingRequest request, StreamObserver<Finding> responseObserver)
public void createFinding(CreateFindingRequest request, StreamObserver<Finding> responseObserver)
Creates a finding. The corresponding source must exist for finding creation
to succeed.
createMuteConfig(CreateMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
public void createMuteConfig(CreateMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
createNotificationConfig(CreateNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
public void createNotificationConfig(CreateNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
Creates a notification config.
createSource(CreateSourceRequest request, StreamObserver<Source> responseObserver)
public void createSource(CreateSourceRequest request, StreamObserver<Source> responseObserver)
deleteBigQueryExport(DeleteBigQueryExportRequest request, StreamObserver<Empty> responseObserver)
public void deleteBigQueryExport(DeleteBigQueryExportRequest request, StreamObserver<Empty> responseObserver)
Deletes an existing BigQuery export.
deleteMuteConfig(DeleteMuteConfigRequest request, StreamObserver<Empty> responseObserver)
public void deleteMuteConfig(DeleteMuteConfigRequest request, StreamObserver<Empty> responseObserver)
Deletes an existing mute config.
deleteNotificationConfig(DeleteNotificationConfigRequest request, StreamObserver<Empty> responseObserver)
public void deleteNotificationConfig(DeleteNotificationConfigRequest request, StreamObserver<Empty> responseObserver)
Deletes a notification config.
getBigQueryExport(GetBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
public void getBigQueryExport(GetBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
public void getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
Gets the access control policy on the specified Source.
Parameters |
---|
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>
|
getMuteConfig(GetMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
public void getMuteConfig(GetMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
getNotificationConfig(GetNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
public void getNotificationConfig(GetNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
Gets a notification config.
getOrganizationSettings(GetOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
public void getOrganizationSettings(GetOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
Gets the settings for an organization.
getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)
public void getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)
groupAssets(GroupAssetsRequest request, StreamObserver<GroupAssetsResponse> responseObserver)
public void groupAssets(GroupAssetsRequest request, StreamObserver<GroupAssetsResponse> responseObserver)
Filters an organization's assets and groups them by their specified
properties.
groupFindings(GroupFindingsRequest request, StreamObserver<GroupFindingsResponse> responseObserver)
public void groupFindings(GroupFindingsRequest request, StreamObserver<GroupFindingsResponse> responseObserver)
Filters an organization or source's findings and groups them by their
specified properties.
To group across all sources provide a -
as the source id.
Example: /v1/organizations/{organization_id}/sources/-/findings,
/v1/folders/{folder_id}/sources/-/findings,
/v1/projects/{project_id}/sources/-/findings
listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)
public void listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)
Lists an organization's assets.
listBigQueryExports(ListBigQueryExportsRequest request, StreamObserver<ListBigQueryExportsResponse> responseObserver)
public void listBigQueryExports(ListBigQueryExportsRequest request, StreamObserver<ListBigQueryExportsResponse> responseObserver)
Lists BigQuery exports. Note that when requesting BigQuery exports at a
given level all exports under that level are also returned e.g. if
requesting BigQuery exports under a folder, then all BigQuery exports
immediately under the folder plus the ones created under the projects
within the folder are returned.
listFindings(ListFindingsRequest request, StreamObserver<ListFindingsResponse> responseObserver)
public void listFindings(ListFindingsRequest request, StreamObserver<ListFindingsResponse> responseObserver)
Lists an organization or source's findings.
To list across all sources provide a -
as the source id.
Example: /v1/organizations/{organization_id}/sources/-/findings
listMuteConfigs(ListMuteConfigsRequest request, StreamObserver<ListMuteConfigsResponse> responseObserver)
public void listMuteConfigs(ListMuteConfigsRequest request, StreamObserver<ListMuteConfigsResponse> responseObserver)
listNotificationConfigs(ListNotificationConfigsRequest request, StreamObserver<ListNotificationConfigsResponse> responseObserver)
public void listNotificationConfigs(ListNotificationConfigsRequest request, StreamObserver<ListNotificationConfigsResponse> responseObserver)
Lists notification configs.
listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)
public void listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)
Lists all sources belonging to an organization.
runAssetDiscovery(RunAssetDiscoveryRequest request, StreamObserver<Operation> responseObserver)
public void runAssetDiscovery(RunAssetDiscoveryRequest request, StreamObserver<Operation> responseObserver)
Runs asset discovery. The discovery is tracked with a long-running
operation.
This API can only be called with limited frequency for an organization. If
it is called too frequently the caller will receive a TOO_MANY_REQUESTS
error.
setFindingState(SetFindingStateRequest request, StreamObserver<Finding> responseObserver)
public void setFindingState(SetFindingStateRequest request, StreamObserver<Finding> responseObserver)
Updates the state of a finding.
setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
public void setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
Sets the access control policy on the specified Source.
Parameters |
---|
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>
|
setMute(SetMuteRequest request, StreamObserver<Finding> responseObserver)
public void setMute(SetMuteRequest request, StreamObserver<Finding> responseObserver)
Updates the mute state of a finding.
testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)
public void testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)
Returns the permissions that a caller has on the specified source.
Parameters |
---|
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>
|
updateBigQueryExport(UpdateBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
public void updateBigQueryExport(UpdateBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
Updates a BigQuery export.
updateExternalSystem(UpdateExternalSystemRequest request, StreamObserver<ExternalSystem> responseObserver)
public void updateExternalSystem(UpdateExternalSystemRequest request, StreamObserver<ExternalSystem> responseObserver)
Updates external system. This is for a given finding.
updateFinding(UpdateFindingRequest request, StreamObserver<Finding> responseObserver)
public void updateFinding(UpdateFindingRequest request, StreamObserver<Finding> responseObserver)
Creates or updates a finding. The corresponding source must exist for a
finding creation to succeed.
updateMuteConfig(UpdateMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
public void updateMuteConfig(UpdateMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
updateNotificationConfig(UpdateNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
public void updateNotificationConfig(UpdateNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
Updates a notification config. The following update
fields are allowed: description, pubsub_topic, streaming_config.filter
updateOrganizationSettings(UpdateOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
public void updateOrganizationSettings(UpdateOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
Updates an organization's settings.
updateSecurityMarks(UpdateSecurityMarksRequest request, StreamObserver<SecurityMarks> responseObserver)
public void updateSecurityMarks(UpdateSecurityMarksRequest request, StreamObserver<SecurityMarks> responseObserver)
updateSource(UpdateSourceRequest request, StreamObserver<Source> responseObserver)
public void updateSource(UpdateSourceRequest request, StreamObserver<Source> responseObserver)