public static final class SecurityCenterGrpc.SecurityCenterStub extends io.grpc.stub.AbstractAsyncStub<SecurityCenterGrpc.SecurityCenterStub>
V1 Beta APIs for Security Center service.
| Modifier and Type | Method and Description |
|---|---|
protected SecurityCenterGrpc.SecurityCenterStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createFinding(CreateFindingRequest request,
io.grpc.stub.StreamObserver<Finding> responseObserver)
Creates a finding.
|
void |
createSource(CreateSourceRequest request,
io.grpc.stub.StreamObserver<Source> responseObserver)
Creates a source.
|
void |
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Gets the access control policy on the specified Source.
|
void |
getOrganizationSettings(GetOrganizationSettingsRequest request,
io.grpc.stub.StreamObserver<OrganizationSettings> responseObserver)
Gets the settings for an organization.
|
void |
getSource(GetSourceRequest request,
io.grpc.stub.StreamObserver<Source> responseObserver)
Gets a source.
|
void |
groupAssets(GroupAssetsRequest request,
io.grpc.stub.StreamObserver<GroupAssetsResponse> responseObserver)
Filters an organization's assets and groups them by their specified
properties.
|
void |
groupFindings(GroupFindingsRequest request,
io.grpc.stub.StreamObserver<GroupFindingsResponse> responseObserver)
Filters an organization or source's findings and groups them by their
specified properties.
|
void |
listAssets(ListAssetsRequest request,
io.grpc.stub.StreamObserver<ListAssetsResponse> responseObserver)
Lists an organization's assets.
|
void |
listFindings(ListFindingsRequest request,
io.grpc.stub.StreamObserver<ListFindingsResponse> responseObserver)
Lists an organization or source's findings.
|
void |
listSources(ListSourcesRequest request,
io.grpc.stub.StreamObserver<ListSourcesResponse> responseObserver)
Lists all sources belonging to an organization.
|
void |
runAssetDiscovery(RunAssetDiscoveryRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Runs asset discovery.
|
void |
setFindingState(SetFindingStateRequest request,
io.grpc.stub.StreamObserver<Finding> responseObserver)
Updates the state of a finding.
|
void |
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Sets the access control policy on the specified Source.
|
void |
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
Returns the permissions that a caller has on the specified source.
|
void |
updateFinding(UpdateFindingRequest request,
io.grpc.stub.StreamObserver<Finding> responseObserver)
Creates or updates a finding.
|
void |
updateOrganizationSettings(UpdateOrganizationSettingsRequest request,
io.grpc.stub.StreamObserver<OrganizationSettings> responseObserver)
Updates an organization's settings.
|
void |
updateSecurityMarks(UpdateSecurityMarksRequest request,
io.grpc.stub.StreamObserver<SecurityMarks> responseObserver)
Updates security marks.
|
void |
updateSource(UpdateSourceRequest request,
io.grpc.stub.StreamObserver<Source> responseObserver)
Updates a source.
|
protected SecurityCenterGrpc.SecurityCenterStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<SecurityCenterGrpc.SecurityCenterStub>public void createSource(CreateSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
Creates a source.
public void createFinding(CreateFindingRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
Creates a finding. The corresponding source must exist for finding creation to succeed.
public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Gets the access control policy on the specified Source.
public void getOrganizationSettings(GetOrganizationSettingsRequest request, io.grpc.stub.StreamObserver<OrganizationSettings> responseObserver)
Gets the settings for an organization.
public void getSource(GetSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
Gets a source.
public void groupAssets(GroupAssetsRequest request, io.grpc.stub.StreamObserver<GroupAssetsResponse> responseObserver)
Filters an organization's assets and groups them by their specified properties.
public void groupFindings(GroupFindingsRequest request, io.grpc.stub.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: /v1beta1/organizations/{organization_id}/sources/-/findings
public void listAssets(ListAssetsRequest request, io.grpc.stub.StreamObserver<ListAssetsResponse> responseObserver)
Lists an organization's assets.
public void listFindings(ListFindingsRequest request, io.grpc.stub.StreamObserver<ListFindingsResponse> responseObserver)
Lists an organization or source's findings.
To list across all sources provide a `-` as the source id.
Example: /v1beta1/organizations/{organization_id}/sources/-/findings
public void listSources(ListSourcesRequest request, io.grpc.stub.StreamObserver<ListSourcesResponse> responseObserver)
Lists all sources belonging to an organization.
public void runAssetDiscovery(RunAssetDiscoveryRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.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.
public void setFindingState(SetFindingStateRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
Updates the state of a finding.
public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Sets the access control policy on the specified Source.
public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
Returns the permissions that a caller has on the specified source.
public void updateFinding(UpdateFindingRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.
public void updateOrganizationSettings(UpdateOrganizationSettingsRequest request, io.grpc.stub.StreamObserver<OrganizationSettings> responseObserver)
Updates an organization's settings.
public void updateSource(UpdateSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
Updates a source.
public void updateSecurityMarks(UpdateSecurityMarksRequest request, io.grpc.stub.StreamObserver<SecurityMarks> responseObserver)
Updates security marks.
Copyright © 2022 Google LLC. All rights reserved.