Class SecurityCenterGrpc.SecurityCenterBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SecurityCenterGrpc.SecurityCenterBlockingV2Stub>
com.google.cloud.securitycenter.v1p1beta1.SecurityCenterGrpc.SecurityCenterBlockingV2Stub
- Enclosing class:
- SecurityCenterGrpc
public static final class SecurityCenterGrpc.SecurityCenterBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<SecurityCenterGrpc.SecurityCenterBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service SecurityCenter.
V1p1Beta1 APIs for Security Center service.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createFinding(CreateFindingRequest request) Creates a finding.Creates a notification config.createSource(CreateSourceRequest request) Creates a source.com.google.protobuf.EmptyDeletes a notification config.getIamPolicy(GetIamPolicyRequest request) Gets the access control policy on the specified Source.Gets a notification config.Gets the settings for an organization.getSource(GetSourceRequest request) Gets a source.groupAssets(GroupAssetsRequest request) Filters an organization's assets and groups them by their specified properties.groupFindings(GroupFindingsRequest request) Filters an organization or source's findings and groups them by their specified properties.listAssets(ListAssetsRequest request) Lists an organization's assets.listFindings(ListFindingsRequest request) Lists an organization or source's findings.Lists notification configs.listSources(ListSourcesRequest request) Lists all sources belonging to an organization.Runs asset discovery.setFindingState(SetFindingStateRequest request) Updates the state of a finding.setIamPolicy(SetIamPolicyRequest request) Sets the access control policy on the specified Source.Returns the permissions that a caller has on the specified source.updateFinding(UpdateFindingRequest request) Creates or updates a finding.Updates a notification config.Updates an organization's settings.Updates security marks.updateSource(UpdateSourceRequest request) Updates a source.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SecurityCenterGrpc.SecurityCenterBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SecurityCenterGrpc.SecurityCenterBlockingV2Stub>
-
createSource
Creates a source.
- Throws:
io.grpc.StatusException
-
createFinding
Creates a finding. The corresponding source must exist for finding creation to succeed.
- Throws:
io.grpc.StatusException
-
createNotificationConfig
public NotificationConfig createNotificationConfig(CreateNotificationConfigRequest request) throws io.grpc.StatusException Creates a notification config.
- Throws:
io.grpc.StatusException
-
deleteNotificationConfig
public com.google.protobuf.Empty deleteNotificationConfig(DeleteNotificationConfigRequest request) throws io.grpc.StatusException Deletes a notification config.
- Throws:
io.grpc.StatusException
-
getIamPolicy
Gets the access control policy on the specified Source.
- Throws:
io.grpc.StatusException
-
getNotificationConfig
public NotificationConfig getNotificationConfig(GetNotificationConfigRequest request) throws io.grpc.StatusException Gets a notification config.
- Throws:
io.grpc.StatusException
-
getOrganizationSettings
public OrganizationSettings getOrganizationSettings(GetOrganizationSettingsRequest request) throws io.grpc.StatusException Gets the settings for an organization.
- Throws:
io.grpc.StatusException
-
getSource
Gets a source.
- Throws:
io.grpc.StatusException
-
groupAssets
Filters an organization's assets and groups them by their specified properties.
- Throws:
io.grpc.StatusException
-
groupFindings
public GroupFindingsResponse groupFindings(GroupFindingsRequest request) throws io.grpc.StatusException 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- Throws:
io.grpc.StatusException
-
listAssets
Lists an organization's assets.
- Throws:
io.grpc.StatusException
-
listFindings
public ListFindingsResponse listFindings(ListFindingsRequest request) throws io.grpc.StatusException 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- Throws:
io.grpc.StatusException
-
listNotificationConfigs
public ListNotificationConfigsResponse listNotificationConfigs(ListNotificationConfigsRequest request) throws io.grpc.StatusException Lists notification configs.
- Throws:
io.grpc.StatusException
-
listSources
Lists all sources belonging to an organization.
- Throws:
io.grpc.StatusException
-
runAssetDiscovery
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.
- Throws:
io.grpc.StatusException
-
setFindingState
Updates the state of a finding.
- Throws:
io.grpc.StatusException
-
setIamPolicy
Sets the access control policy on the specified Source.
- Throws:
io.grpc.StatusException
-
testIamPermissions
public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) throws io.grpc.StatusException Returns the permissions that a caller has on the specified source.
- Throws:
io.grpc.StatusException
-
updateFinding
Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.
- Throws:
io.grpc.StatusException
-
updateNotificationConfig
public NotificationConfig updateNotificationConfig(UpdateNotificationConfigRequest request) throws io.grpc.StatusException Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter
- Throws:
io.grpc.StatusException
-
updateOrganizationSettings
public OrganizationSettings updateOrganizationSettings(UpdateOrganizationSettingsRequest request) throws io.grpc.StatusException Updates an organization's settings.
- Throws:
io.grpc.StatusException
-
updateSource
Updates a source.
- Throws:
io.grpc.StatusException
-
updateSecurityMarks
public SecurityMarks updateSecurityMarks(UpdateSecurityMarksRequest request) throws io.grpc.StatusException Updates security marks.
- Throws:
io.grpc.StatusException
-