Class SecurityCenterGrpc.SecurityCenterFutureStub

  • Enclosing class:
    SecurityCenterGrpc

    public static final class SecurityCenterGrpc.SecurityCenterFutureStub
    extends io.grpc.stub.AbstractFutureStub<SecurityCenterGrpc.SecurityCenterFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service SecurityCenter.
     V1 APIs for Security Center service.
     
    • Method Detail

      • bulkMuteFindings

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> bulkMuteFindings​(BulkMuteFindingsRequest request)
         Kicks off an LRO to bulk mute findings for a parent based on a filter. The
         parent can be either an organization, folder or project. The findings
         matched by the filter will be muted after the LRO is done.
         
      • createSecurityHealthAnalyticsCustomModule

        public com.google.common.util.concurrent.ListenableFuture<SecurityHealthAnalyticsCustomModule> createSecurityHealthAnalyticsCustomModule​(CreateSecurityHealthAnalyticsCustomModuleRequest request)
         Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the
         given CRM parent, and also creates inherited
         SecurityHealthAnalyticsCustomModules for all CRM descendants of the given
         parent. These modules are enabled by default.
         
      • createSource

        public com.google.common.util.concurrent.ListenableFuture<Source> createSource​(CreateSourceRequest request)
         Creates a source.
         
      • createFinding

        public com.google.common.util.concurrent.ListenableFuture<Finding> createFinding​(CreateFindingRequest request)
         Creates a finding. The corresponding source must exist for finding creation
         to succeed.
         
      • createMuteConfig

        public com.google.common.util.concurrent.ListenableFuture<MuteConfig> createMuteConfig​(CreateMuteConfigRequest request)
         Creates a mute config.
         
      • deleteMuteConfig

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteMuteConfig​(DeleteMuteConfigRequest request)
         Deletes an existing mute config.
         
      • deleteNotificationConfig

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteNotificationConfig​(DeleteNotificationConfigRequest request)
         Deletes a notification config.
         
      • deleteSecurityHealthAnalyticsCustomModule

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteSecurityHealthAnalyticsCustomModule​(DeleteSecurityHealthAnalyticsCustomModuleRequest request)
         Deletes the specified SecurityHealthAnalyticsCustomModule and all of its
         descendants in the CRM hierarchy. This method is only supported for
         resident custom modules.
         
      • getIamPolicy

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request)
         Gets the access control policy on the specified Source.
         
      • getMuteConfig

        public com.google.common.util.concurrent.ListenableFuture<MuteConfig> getMuteConfig​(GetMuteConfigRequest request)
         Gets a mute config.
         
      • getSource

        public com.google.common.util.concurrent.ListenableFuture<Source> getSource​(GetSourceRequest request)
         Gets a source.
         
      • groupAssets

        @Deprecated
        public com.google.common.util.concurrent.ListenableFuture<GroupAssetsResponse> groupAssets​(GroupAssetsRequest request)
        Deprecated.
         Filters an organization's assets and  groups them by their specified
         properties.
         
      • groupFindings

        public com.google.common.util.concurrent.ListenableFuture<GroupFindingsResponse> groupFindings​(GroupFindingsRequest request)
         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
         
      • listFindings

        public com.google.common.util.concurrent.ListenableFuture<ListFindingsResponse> listFindings​(ListFindingsRequest request)
         Lists an organization or source's findings.
         To list across all sources provide a `-` as the source id.
         Example: /v1/organizations/{organization_id}/sources/-/findings
         
      • listSources

        public com.google.common.util.concurrent.ListenableFuture<ListSourcesResponse> listSources​(ListSourcesRequest request)
         Lists all sources belonging to an organization.
         
      • runAssetDiscovery

        @Deprecated
        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> runAssetDiscovery​(RunAssetDiscoveryRequest request)
        Deprecated.
         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

        public com.google.common.util.concurrent.ListenableFuture<Finding> setFindingState​(SetFindingStateRequest request)
         Updates the state of a finding.
         
      • setMute

        public com.google.common.util.concurrent.ListenableFuture<Finding> setMute​(SetMuteRequest request)
         Updates the mute state of a finding.
         
      • setIamPolicy

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request)
         Sets the access control policy on the specified Source.
         
      • testIamPermissions

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request)
         Returns the permissions that a caller has on the specified source.
         
      • updateExternalSystem

        public com.google.common.util.concurrent.ListenableFuture<ExternalSystem> updateExternalSystem​(UpdateExternalSystemRequest request)
         Updates external system. This is for a given finding.
         
      • updateFinding

        public com.google.common.util.concurrent.ListenableFuture<Finding> updateFinding​(UpdateFindingRequest request)
         Creates or updates a finding. The corresponding source must exist for a
         finding creation to succeed.
         
      • updateMuteConfig

        public com.google.common.util.concurrent.ListenableFuture<MuteConfig> updateMuteConfig​(UpdateMuteConfigRequest request)
         Updates a mute config.
         
      • updateNotificationConfig

        public com.google.common.util.concurrent.ListenableFuture<NotificationConfig> updateNotificationConfig​(UpdateNotificationConfigRequest request)
         Updates a notification config. The following update
         fields are allowed: description, pubsub_topic, streaming_config.filter
         
      • updateSecurityHealthAnalyticsCustomModule

        public com.google.common.util.concurrent.ListenableFuture<SecurityHealthAnalyticsCustomModule> updateSecurityHealthAnalyticsCustomModule​(UpdateSecurityHealthAnalyticsCustomModuleRequest request)
         Updates the SecurityHealthAnalyticsCustomModule under the given name based
         on the given update mask. Updating the enablement state is supported on
         both resident and inherited modules (though resident modules cannot have an
         enablement state of "inherited"). Updating the display name and custom
         config of a module is supported on resident modules only.
         
      • updateSource

        public com.google.common.util.concurrent.ListenableFuture<Source> updateSource​(UpdateSourceRequest request)
         Updates a source.
         
      • deleteBigQueryExport

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteBigQueryExport​(DeleteBigQueryExportRequest request)
         Deletes an existing BigQuery export.
         
      • listBigQueryExports

        public com.google.common.util.concurrent.ListenableFuture<ListBigQueryExportsResponse> listBigQueryExports​(ListBigQueryExportsRequest request)
         Lists BigQuery exports. Note that when requesting BigQuery exports at a
         given level all exports under that level are also returned e.g. if
         requesting BigQuery exports under a folder, then all BigQuery exports
         immediately under the folder plus the ones created under the projects
         within the folder are returned.