Class SecurityCenterGrpc.SecurityCenterFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<SecurityCenterGrpc.SecurityCenterFutureStub>
-
- com.google.cloud.securitycenter.v1.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 Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected SecurityCenterGrpc.SecurityCenterFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
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.com.google.common.util.concurrent.ListenableFuture<BigQueryExport>
createBigQueryExport(CreateBigQueryExportRequest request)
Creates a BigQuery export.com.google.common.util.concurrent.ListenableFuture<Finding>
createFinding(CreateFindingRequest request)
Creates a finding.com.google.common.util.concurrent.ListenableFuture<MuteConfig>
createMuteConfig(CreateMuteConfigRequest request)
Creates a mute config.com.google.common.util.concurrent.ListenableFuture<NotificationConfig>
createNotificationConfig(CreateNotificationConfigRequest request)
Creates a notification config.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.com.google.common.util.concurrent.ListenableFuture<Source>
createSource(CreateSourceRequest request)
Creates a source.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteBigQueryExport(DeleteBigQueryExportRequest request)
Deletes an existing BigQuery export.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteMuteConfig(DeleteMuteConfigRequest request)
Deletes an existing mute config.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteNotificationConfig(DeleteNotificationConfigRequest request)
Deletes a notification config.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.com.google.common.util.concurrent.ListenableFuture<BigQueryExport>
getBigQueryExport(GetBigQueryExportRequest request)
Gets a BigQuery export.com.google.common.util.concurrent.ListenableFuture<EffectiveSecurityHealthAnalyticsCustomModule>
getEffectiveSecurityHealthAnalyticsCustomModule(GetEffectiveSecurityHealthAnalyticsCustomModuleRequest request)
Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.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.com.google.common.util.concurrent.ListenableFuture<MuteConfig>
getMuteConfig(GetMuteConfigRequest request)
Gets a mute config.com.google.common.util.concurrent.ListenableFuture<NotificationConfig>
getNotificationConfig(GetNotificationConfigRequest request)
Gets a notification config.com.google.common.util.concurrent.ListenableFuture<OrganizationSettings>
getOrganizationSettings(GetOrganizationSettingsRequest request)
Gets the settings for an organization.com.google.common.util.concurrent.ListenableFuture<SecurityHealthAnalyticsCustomModule>
getSecurityHealthAnalyticsCustomModule(GetSecurityHealthAnalyticsCustomModuleRequest request)
Retrieves a SecurityHealthAnalyticsCustomModule.com.google.common.util.concurrent.ListenableFuture<Source>
getSource(GetSourceRequest request)
Gets a source.com.google.common.util.concurrent.ListenableFuture<GroupAssetsResponse>
groupAssets(GroupAssetsRequest request)
Deprecated.com.google.common.util.concurrent.ListenableFuture<GroupFindingsResponse>
groupFindings(GroupFindingsRequest request)
Filters an organization or source's findings and groups them by their specified properties.com.google.common.util.concurrent.ListenableFuture<ListAssetsResponse>
listAssets(ListAssetsRequest request)
Deprecated.com.google.common.util.concurrent.ListenableFuture<ListBigQueryExportsResponse>
listBigQueryExports(ListBigQueryExportsRequest request)
Lists BigQuery exports.com.google.common.util.concurrent.ListenableFuture<ListDescendantSecurityHealthAnalyticsCustomModulesResponse>
listDescendantSecurityHealthAnalyticsCustomModules(ListDescendantSecurityHealthAnalyticsCustomModulesRequest request)
Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.com.google.common.util.concurrent.ListenableFuture<ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>
listEffectiveSecurityHealthAnalyticsCustomModules(ListEffectiveSecurityHealthAnalyticsCustomModulesRequest request)
Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent.com.google.common.util.concurrent.ListenableFuture<ListFindingsResponse>
listFindings(ListFindingsRequest request)
Lists an organization or source's findings.com.google.common.util.concurrent.ListenableFuture<ListMuteConfigsResponse>
listMuteConfigs(ListMuteConfigsRequest request)
Lists mute configs.com.google.common.util.concurrent.ListenableFuture<ListNotificationConfigsResponse>
listNotificationConfigs(ListNotificationConfigsRequest request)
Lists notification configs.com.google.common.util.concurrent.ListenableFuture<ListSecurityHealthAnalyticsCustomModulesResponse>
listSecurityHealthAnalyticsCustomModules(ListSecurityHealthAnalyticsCustomModulesRequest request)
Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent.com.google.common.util.concurrent.ListenableFuture<ListSourcesResponse>
listSources(ListSourcesRequest request)
Lists all sources belonging to an organization.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
runAssetDiscovery(RunAssetDiscoveryRequest request)
Deprecated.com.google.common.util.concurrent.ListenableFuture<Finding>
setFindingState(SetFindingStateRequest request)
Updates the state of a finding.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.com.google.common.util.concurrent.ListenableFuture<Finding>
setMute(SetMuteRequest request)
Updates the mute state of a finding.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.com.google.common.util.concurrent.ListenableFuture<BigQueryExport>
updateBigQueryExport(UpdateBigQueryExportRequest request)
Updates a BigQuery export.com.google.common.util.concurrent.ListenableFuture<ExternalSystem>
updateExternalSystem(UpdateExternalSystemRequest request)
Updates external system.com.google.common.util.concurrent.ListenableFuture<Finding>
updateFinding(UpdateFindingRequest request)
Creates or updates a finding.com.google.common.util.concurrent.ListenableFuture<MuteConfig>
updateMuteConfig(UpdateMuteConfigRequest request)
Updates a mute config.com.google.common.util.concurrent.ListenableFuture<NotificationConfig>
updateNotificationConfig(UpdateNotificationConfigRequest request)
Updates a notification config.com.google.common.util.concurrent.ListenableFuture<OrganizationSettings>
updateOrganizationSettings(UpdateOrganizationSettingsRequest request)
Updates an organization's settings.com.google.common.util.concurrent.ListenableFuture<SecurityHealthAnalyticsCustomModule>
updateSecurityHealthAnalyticsCustomModule(UpdateSecurityHealthAnalyticsCustomModuleRequest request)
Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask.com.google.common.util.concurrent.ListenableFuture<SecurityMarks>
updateSecurityMarks(UpdateSecurityMarksRequest request)
Updates security marks.com.google.common.util.concurrent.ListenableFuture<Source>
updateSource(UpdateSourceRequest request)
Updates a source.
-
-
-
Method Detail
-
build
protected SecurityCenterGrpc.SecurityCenterFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<SecurityCenterGrpc.SecurityCenterFutureStub>
-
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.
-
createNotificationConfig
public com.google.common.util.concurrent.ListenableFuture<NotificationConfig> createNotificationConfig(CreateNotificationConfigRequest request)
Creates a notification 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.
-
getBigQueryExport
public com.google.common.util.concurrent.ListenableFuture<BigQueryExport> getBigQueryExport(GetBigQueryExportRequest request)
Gets a BigQuery export.
-
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.
-
getNotificationConfig
public com.google.common.util.concurrent.ListenableFuture<NotificationConfig> getNotificationConfig(GetNotificationConfigRequest request)
Gets a notification config.
-
getOrganizationSettings
public com.google.common.util.concurrent.ListenableFuture<OrganizationSettings> getOrganizationSettings(GetOrganizationSettingsRequest request)
Gets the settings for an organization.
-
getEffectiveSecurityHealthAnalyticsCustomModule
public com.google.common.util.concurrent.ListenableFuture<EffectiveSecurityHealthAnalyticsCustomModule> getEffectiveSecurityHealthAnalyticsCustomModule(GetEffectiveSecurityHealthAnalyticsCustomModuleRequest request)
Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.
-
getSecurityHealthAnalyticsCustomModule
public com.google.common.util.concurrent.ListenableFuture<SecurityHealthAnalyticsCustomModule> getSecurityHealthAnalyticsCustomModule(GetSecurityHealthAnalyticsCustomModuleRequest request)
Retrieves a SecurityHealthAnalyticsCustomModule.
-
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
-
listAssets
@Deprecated public com.google.common.util.concurrent.ListenableFuture<ListAssetsResponse> listAssets(ListAssetsRequest request)
Deprecated.Lists an organization's assets.
-
listDescendantSecurityHealthAnalyticsCustomModules
public com.google.common.util.concurrent.ListenableFuture<ListDescendantSecurityHealthAnalyticsCustomModulesResponse> listDescendantSecurityHealthAnalyticsCustomModules(ListDescendantSecurityHealthAnalyticsCustomModulesRequest request)
Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.
-
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
-
listMuteConfigs
public com.google.common.util.concurrent.ListenableFuture<ListMuteConfigsResponse> listMuteConfigs(ListMuteConfigsRequest request)
Lists mute configs.
-
listNotificationConfigs
public com.google.common.util.concurrent.ListenableFuture<ListNotificationConfigsResponse> listNotificationConfigs(ListNotificationConfigsRequest request)
Lists notification configs.
-
listEffectiveSecurityHealthAnalyticsCustomModules
public com.google.common.util.concurrent.ListenableFuture<ListEffectiveSecurityHealthAnalyticsCustomModulesResponse> listEffectiveSecurityHealthAnalyticsCustomModules(ListEffectiveSecurityHealthAnalyticsCustomModulesRequest request)
Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.
-
listSecurityHealthAnalyticsCustomModules
public com.google.common.util.concurrent.ListenableFuture<ListSecurityHealthAnalyticsCustomModulesResponse> listSecurityHealthAnalyticsCustomModules(ListSecurityHealthAnalyticsCustomModulesRequest request)
Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.
-
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
-
updateOrganizationSettings
public com.google.common.util.concurrent.ListenableFuture<OrganizationSettings> updateOrganizationSettings(UpdateOrganizationSettingsRequest request)
Updates an organization's settings.
-
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.
-
updateSecurityMarks
public com.google.common.util.concurrent.ListenableFuture<SecurityMarks> updateSecurityMarks(UpdateSecurityMarksRequest request)
Updates security marks.
-
createBigQueryExport
public com.google.common.util.concurrent.ListenableFuture<BigQueryExport> createBigQueryExport(CreateBigQueryExportRequest request)
Creates a BigQuery export.
-
deleteBigQueryExport
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteBigQueryExport(DeleteBigQueryExportRequest request)
Deletes an existing BigQuery export.
-
updateBigQueryExport
public com.google.common.util.concurrent.ListenableFuture<BigQueryExport> updateBigQueryExport(UpdateBigQueryExportRequest request)
Updates a 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.
-
-