public static final class SecurityCenterGrpc.SecurityCenterStub extends AbstractAsyncStub<SecurityCenterGrpc.SecurityCenterStub>
V1 Beta 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
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
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
createSource(CreateSourceRequest request, StreamObserver<Source> responseObserver)
public void createSource(CreateSourceRequest request, StreamObserver<Source> responseObserver)
Parameters
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>
|
getOrganizationSettings(GetOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
public void getOrganizationSettings(GetOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
Gets the settings for an organization.
Parameters
getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)
public void getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)
Parameters
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
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: /v1beta1/organizations/{organization_id}/sources/-/findings
Parameters
listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)
public void listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)
Lists an organization's assets.
Parameters
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: /v1beta1/organizations/{organization_id}/sources/-/findings
Parameters
listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)
public void listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)
Lists all sources belonging to an organization.
Parameters
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
setFindingState(SetFindingStateRequest request, StreamObserver<Finding> responseObserver)
public void setFindingState(SetFindingStateRequest request, StreamObserver<Finding> responseObserver)
Updates the state of a finding.
Parameters
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
updateOrganizationSettings(UpdateOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
public void updateOrganizationSettings(UpdateOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
Updates an organization's settings.
Parameters
updateSecurityMarks(UpdateSecurityMarksRequest request, StreamObserver<SecurityMarks> responseObserver)
public void updateSecurityMarks(UpdateSecurityMarksRequest request, StreamObserver<SecurityMarks> responseObserver)
Parameters
updateSource(UpdateSourceRequest request, StreamObserver<Source> responseObserver)
public void updateSource(UpdateSourceRequest request, StreamObserver<Source> responseObserver)
Parameters