Interface SecurityCenterGrpc.AsyncService

All Known Implementing Classes:
SecurityCenterGrpc.SecurityCenterImplBase
Enclosing class:
SecurityCenterGrpc

public static interface SecurityCenterGrpc.AsyncService
 V1p1Beta1 APIs for Security Center service.
 
  • Method Details

    • createSource

      default void createSource(CreateSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
       Creates a source.
       
    • createFinding

      default void createFinding(CreateFindingRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
       Creates a finding. The corresponding source must exist for finding
       creation to succeed.
       
    • createNotificationConfig

      default void createNotificationConfig(CreateNotificationConfigRequest request, io.grpc.stub.StreamObserver<NotificationConfig> responseObserver)
       Creates a notification config.
       
    • deleteNotificationConfig

      default void deleteNotificationConfig(DeleteNotificationConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes a notification config.
       
    • getIamPolicy

      default void getIamPolicy(GetIamPolicyRequest request, io.grpc.stub.StreamObserver<Policy> responseObserver)
       Gets the access control policy on the specified Source.
       
    • getNotificationConfig

      default void getNotificationConfig(GetNotificationConfigRequest request, io.grpc.stub.StreamObserver<NotificationConfig> responseObserver)
       Gets a notification config.
       
    • getOrganizationSettings

      default void getOrganizationSettings(GetOrganizationSettingsRequest request, io.grpc.stub.StreamObserver<OrganizationSettings> responseObserver)
       Gets the settings for an organization.
       
    • getSource

      default void getSource(GetSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
       Gets a source.
       
    • groupAssets

      default void groupAssets(GroupAssetsRequest request, io.grpc.stub.StreamObserver<GroupAssetsResponse> responseObserver)
       Filters an organization's assets and  groups them by their specified
       properties.
       
    • groupFindings

      default 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: /v1/organizations/{organization_id}/sources/-/findings,
       /v1/folders/{folder_id}/sources/-/findings,
       /v1/projects/{project_id}/sources/-/findings
       
    • listAssets

      default void listAssets(ListAssetsRequest request, io.grpc.stub.StreamObserver<ListAssetsResponse> responseObserver)
       Lists an organization's assets.
       
    • listFindings

      default 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: /v1p1beta1/organizations/{organization_id}/sources/-/findings
       
    • listNotificationConfigs

      default void listNotificationConfigs(ListNotificationConfigsRequest request, io.grpc.stub.StreamObserver<ListNotificationConfigsResponse> responseObserver)
       Lists notification configs.
       
    • listSources

      default void listSources(ListSourcesRequest request, io.grpc.stub.StreamObserver<ListSourcesResponse> responseObserver)
       Lists all sources belonging to an organization.
       
    • runAssetDiscovery

      default void runAssetDiscovery(RunAssetDiscoveryRequest request, io.grpc.stub.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

      default void setFindingState(SetFindingStateRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
       Updates the state of a finding.
       
    • setIamPolicy

      default void setIamPolicy(SetIamPolicyRequest request, io.grpc.stub.StreamObserver<Policy> responseObserver)
       Sets the access control policy on the specified Source.
       
    • testIamPermissions

      default void testIamPermissions(TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<TestIamPermissionsResponse> responseObserver)
       Returns the permissions that a caller has on the specified source.
       
    • updateFinding

      default 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.
       
    • updateNotificationConfig

      default void updateNotificationConfig(UpdateNotificationConfigRequest request, io.grpc.stub.StreamObserver<NotificationConfig> responseObserver)
       Updates a notification config. The following update
       fields are allowed: description, pubsub_topic, streaming_config.filter
       
    • updateOrganizationSettings

      default void updateOrganizationSettings(UpdateOrganizationSettingsRequest request, io.grpc.stub.StreamObserver<OrganizationSettings> responseObserver)
       Updates an organization's settings.
       
    • updateSource

      default void updateSource(UpdateSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
       Updates a source.
       
    • updateSecurityMarks

      default void updateSecurityMarks(UpdateSecurityMarksRequest request, io.grpc.stub.StreamObserver<SecurityMarks> responseObserver)
       Updates security marks.