- 2.62.0 (latest)
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class SecurityCenterGrpc.SecurityCenterStub extends AbstractAsyncStub<SecurityCenterGrpc.SecurityCenterStub>
A stub to allow clients to do asynchronous rpc calls to service SecurityCenter.
V1p1Beta1 APIs for Security Center service.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SecurityCenterGrpc.SecurityCenterStubMethods
build(Channel channel, CallOptions callOptions)
protected SecurityCenterGrpc.SecurityCenterStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
SecurityCenterGrpc.SecurityCenterStub |
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.
Parameters | |
---|---|
Name | Description |
request |
CreateFindingRequest |
responseObserver |
io.grpc.stub.StreamObserver<Finding> |
createNotificationConfig(CreateNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
public void createNotificationConfig(CreateNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
Creates a notification config.
Parameters | |
---|---|
Name | Description |
request |
CreateNotificationConfigRequest |
responseObserver |
io.grpc.stub.StreamObserver<NotificationConfig> |
createSource(CreateSourceRequest request, StreamObserver<Source> responseObserver)
public void createSource(CreateSourceRequest request, StreamObserver<Source> responseObserver)
Creates a source.
Parameters | |
---|---|
Name | Description |
request |
CreateSourceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Source> |
deleteNotificationConfig(DeleteNotificationConfigRequest request, StreamObserver<Empty> responseObserver)
public void deleteNotificationConfig(DeleteNotificationConfigRequest request, StreamObserver<Empty> responseObserver)
Deletes a notification config.
Parameters | |
---|---|
Name | Description |
request |
DeleteNotificationConfigRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
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> |
getNotificationConfig(GetNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
public void getNotificationConfig(GetNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
Gets a notification config.
Parameters | |
---|---|
Name | Description |
request |
GetNotificationConfigRequest |
responseObserver |
io.grpc.stub.StreamObserver<NotificationConfig> |
getOrganizationSettings(GetOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
public void getOrganizationSettings(GetOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
Gets the settings for an organization.
Parameters | |
---|---|
Name | Description |
request |
GetOrganizationSettingsRequest |
responseObserver |
io.grpc.stub.StreamObserver<OrganizationSettings> |
getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)
public void getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)
Gets a source.
Parameters | |
---|---|
Name | Description |
request |
GetSourceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Source> |
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.
Parameters | |
---|---|
Name | Description |
request |
GroupAssetsRequest |
responseObserver |
io.grpc.stub.StreamObserver<GroupAssetsResponse> |
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
Parameters | |
---|---|
Name | Description |
request |
GroupFindingsRequest |
responseObserver |
io.grpc.stub.StreamObserver<GroupFindingsResponse> |
listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)
public void listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)
Lists an organization's assets.
Parameters | |
---|---|
Name | Description |
request |
ListAssetsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListAssetsResponse> |
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: /v1p1beta1/organizations/{organization_id}/sources/-/findings
Parameters | |
---|---|
Name | Description |
request |
ListFindingsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListFindingsResponse> |
listNotificationConfigs(ListNotificationConfigsRequest request, StreamObserver<ListNotificationConfigsResponse> responseObserver)
public void listNotificationConfigs(ListNotificationConfigsRequest request, StreamObserver<ListNotificationConfigsResponse> responseObserver)
Lists notification configs.
Parameters | |
---|---|
Name | Description |
request |
ListNotificationConfigsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListNotificationConfigsResponse> |
listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)
public void listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)
Lists all sources belonging to an organization.
Parameters | |
---|---|
Name | Description |
request |
ListSourcesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListSourcesResponse> |
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.
Parameters | |
---|---|
Name | Description |
request |
RunAssetDiscoveryRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
setFindingState(SetFindingStateRequest request, StreamObserver<Finding> responseObserver)
public void setFindingState(SetFindingStateRequest request, StreamObserver<Finding> responseObserver)
Updates the state of a finding.
Parameters | |
---|---|
Name | Description |
request |
SetFindingStateRequest |
responseObserver |
io.grpc.stub.StreamObserver<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> |
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> |
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.
Parameters | |
---|---|
Name | Description |
request |
UpdateFindingRequest |
responseObserver |
io.grpc.stub.StreamObserver<Finding> |
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
Parameters | |
---|---|
Name | Description |
request |
UpdateNotificationConfigRequest |
responseObserver |
io.grpc.stub.StreamObserver<NotificationConfig> |
updateOrganizationSettings(UpdateOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
public void updateOrganizationSettings(UpdateOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
Updates an organization's settings.
Parameters | |
---|---|
Name | Description |
request |
UpdateOrganizationSettingsRequest |
responseObserver |
io.grpc.stub.StreamObserver<OrganizationSettings> |
updateSecurityMarks(UpdateSecurityMarksRequest request, StreamObserver<SecurityMarks> responseObserver)
public void updateSecurityMarks(UpdateSecurityMarksRequest request, StreamObserver<SecurityMarks> responseObserver)
Updates security marks.
Parameters | |
---|---|
Name | Description |
request |
UpdateSecurityMarksRequest |
responseObserver |
io.grpc.stub.StreamObserver<SecurityMarks> |
updateSource(UpdateSourceRequest request, StreamObserver<Source> responseObserver)
public void updateSource(UpdateSourceRequest request, StreamObserver<Source> responseObserver)
Updates a source.
Parameters | |
---|---|
Name | Description |
request |
UpdateSourceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Source> |