Class SecurityCenterGrpc.SecurityCenterBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<SecurityCenterGrpc.SecurityCenterBlockingStub>
-
- com.google.cloud.securitycenter.v1.SecurityCenterGrpc.SecurityCenterBlockingStub
-
- Enclosing class:
- SecurityCenterGrpc
public static final class SecurityCenterGrpc.SecurityCenterBlockingStub extends io.grpc.stub.AbstractBlockingStub<SecurityCenterGrpc.SecurityCenterBlockingStub>
A stub to allow clients to do synchronous 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.SecurityCenterBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.longrunning.Operation
bulkMuteFindings(BulkMuteFindingsRequest request)
Kicks off an LRO to bulk mute findings for a parent based on a filter.BigQueryExport
createBigQueryExport(CreateBigQueryExportRequest request)
Creates a BigQuery export.Finding
createFinding(CreateFindingRequest request)
Creates a finding.MuteConfig
createMuteConfig(CreateMuteConfigRequest request)
Creates a mute config.NotificationConfig
createNotificationConfig(CreateNotificationConfigRequest request)
Creates a notification config.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.Source
createSource(CreateSourceRequest request)
Creates a source.com.google.protobuf.Empty
deleteBigQueryExport(DeleteBigQueryExportRequest request)
Deletes an existing BigQuery export.com.google.protobuf.Empty
deleteMuteConfig(DeleteMuteConfigRequest request)
Deletes an existing mute config.com.google.protobuf.Empty
deleteNotificationConfig(DeleteNotificationConfigRequest request)
Deletes a notification config.com.google.protobuf.Empty
deleteSecurityHealthAnalyticsCustomModule(DeleteSecurityHealthAnalyticsCustomModuleRequest request)
Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy.BigQueryExport
getBigQueryExport(GetBigQueryExportRequest request)
Gets a BigQuery export.EffectiveSecurityHealthAnalyticsCustomModule
getEffectiveSecurityHealthAnalyticsCustomModule(GetEffectiveSecurityHealthAnalyticsCustomModuleRequest request)
Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.com.google.iam.v1.Policy
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the access control policy on the specified Source.MuteConfig
getMuteConfig(GetMuteConfigRequest request)
Gets a mute config.NotificationConfig
getNotificationConfig(GetNotificationConfigRequest request)
Gets a notification config.OrganizationSettings
getOrganizationSettings(GetOrganizationSettingsRequest request)
Gets the settings for an organization.SecurityHealthAnalyticsCustomModule
getSecurityHealthAnalyticsCustomModule(GetSecurityHealthAnalyticsCustomModuleRequest request)
Retrieves a SecurityHealthAnalyticsCustomModule.Source
getSource(GetSourceRequest request)
Gets a source.GroupAssetsResponse
groupAssets(GroupAssetsRequest request)
Deprecated.GroupFindingsResponse
groupFindings(GroupFindingsRequest request)
Filters an organization or source's findings and groups them by their specified properties.ListAssetsResponse
listAssets(ListAssetsRequest request)
Deprecated.ListBigQueryExportsResponse
listBigQueryExports(ListBigQueryExportsRequest request)
Lists BigQuery exports.ListDescendantSecurityHealthAnalyticsCustomModulesResponse
listDescendantSecurityHealthAnalyticsCustomModules(ListDescendantSecurityHealthAnalyticsCustomModulesRequest request)
Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
listEffectiveSecurityHealthAnalyticsCustomModules(ListEffectiveSecurityHealthAnalyticsCustomModulesRequest request)
Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent.ListFindingsResponse
listFindings(ListFindingsRequest request)
Lists an organization or source's findings.ListMuteConfigsResponse
listMuteConfigs(ListMuteConfigsRequest request)
Lists mute configs.ListNotificationConfigsResponse
listNotificationConfigs(ListNotificationConfigsRequest request)
Lists notification configs.ListSecurityHealthAnalyticsCustomModulesResponse
listSecurityHealthAnalyticsCustomModules(ListSecurityHealthAnalyticsCustomModulesRequest request)
Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent.ListSourcesResponse
listSources(ListSourcesRequest request)
Lists all sources belonging to an organization.com.google.longrunning.Operation
runAssetDiscovery(RunAssetDiscoveryRequest request)
Deprecated.Finding
setFindingState(SetFindingStateRequest request)
Updates the state of a finding.com.google.iam.v1.Policy
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the access control policy on the specified Source.Finding
setMute(SetMuteRequest request)
Updates the mute state of a finding.com.google.iam.v1.TestIamPermissionsResponse
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns the permissions that a caller has on the specified source.BigQueryExport
updateBigQueryExport(UpdateBigQueryExportRequest request)
Updates a BigQuery export.ExternalSystem
updateExternalSystem(UpdateExternalSystemRequest request)
Updates external system.Finding
updateFinding(UpdateFindingRequest request)
Creates or updates a finding.MuteConfig
updateMuteConfig(UpdateMuteConfigRequest request)
Updates a mute config.NotificationConfig
updateNotificationConfig(UpdateNotificationConfigRequest request)
Updates a notification config.OrganizationSettings
updateOrganizationSettings(UpdateOrganizationSettingsRequest request)
Updates an organization's settings.SecurityHealthAnalyticsCustomModule
updateSecurityHealthAnalyticsCustomModule(UpdateSecurityHealthAnalyticsCustomModuleRequest request)
Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask.SecurityMarks
updateSecurityMarks(UpdateSecurityMarksRequest request)
Updates security marks.Source
updateSource(UpdateSourceRequest request)
Updates a source.
-
-
-
Method Detail
-
build
protected SecurityCenterGrpc.SecurityCenterBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<SecurityCenterGrpc.SecurityCenterBlockingStub>
-
bulkMuteFindings
public 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 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 Source createSource(CreateSourceRequest request)
Creates a source.
-
createFinding
public Finding createFinding(CreateFindingRequest request)
Creates a finding. The corresponding source must exist for finding creation to succeed.
-
createMuteConfig
public MuteConfig createMuteConfig(CreateMuteConfigRequest request)
Creates a mute config.
-
createNotificationConfig
public NotificationConfig createNotificationConfig(CreateNotificationConfigRequest request)
Creates a notification config.
-
deleteMuteConfig
public com.google.protobuf.Empty deleteMuteConfig(DeleteMuteConfigRequest request)
Deletes an existing mute config.
-
deleteNotificationConfig
public com.google.protobuf.Empty deleteNotificationConfig(DeleteNotificationConfigRequest request)
Deletes a notification config.
-
deleteSecurityHealthAnalyticsCustomModule
public 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 BigQueryExport getBigQueryExport(GetBigQueryExportRequest request)
Gets a BigQuery export.
-
getIamPolicy
public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the access control policy on the specified Source.
-
getMuteConfig
public MuteConfig getMuteConfig(GetMuteConfigRequest request)
Gets a mute config.
-
getNotificationConfig
public NotificationConfig getNotificationConfig(GetNotificationConfigRequest request)
Gets a notification config.
-
getOrganizationSettings
public OrganizationSettings getOrganizationSettings(GetOrganizationSettingsRequest request)
Gets the settings for an organization.
-
getEffectiveSecurityHealthAnalyticsCustomModule
public EffectiveSecurityHealthAnalyticsCustomModule getEffectiveSecurityHealthAnalyticsCustomModule(GetEffectiveSecurityHealthAnalyticsCustomModuleRequest request)
Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.
-
getSecurityHealthAnalyticsCustomModule
public SecurityHealthAnalyticsCustomModule getSecurityHealthAnalyticsCustomModule(GetSecurityHealthAnalyticsCustomModuleRequest request)
Retrieves a SecurityHealthAnalyticsCustomModule.
-
getSource
public Source getSource(GetSourceRequest request)
Gets a source.
-
groupAssets
@Deprecated public GroupAssetsResponse groupAssets(GroupAssetsRequest request)
Deprecated.Filters an organization's assets and groups them by their specified properties.
-
groupFindings
public 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 ListAssetsResponse listAssets(ListAssetsRequest request)
Deprecated.Lists an organization's assets.
-
listDescendantSecurityHealthAnalyticsCustomModules
public 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 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 ListMuteConfigsResponse listMuteConfigs(ListMuteConfigsRequest request)
Lists mute configs.
-
listNotificationConfigs
public ListNotificationConfigsResponse listNotificationConfigs(ListNotificationConfigsRequest request)
Lists notification configs.
-
listEffectiveSecurityHealthAnalyticsCustomModules
public 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 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 ListSourcesResponse listSources(ListSourcesRequest request)
Lists all sources belonging to an organization.
-
runAssetDiscovery
@Deprecated public 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 Finding setFindingState(SetFindingStateRequest request)
Updates the state of a finding.
-
setMute
public Finding setMute(SetMuteRequest request)
Updates the mute state of a finding.
-
setIamPolicy
public 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.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns the permissions that a caller has on the specified source.
-
updateExternalSystem
public ExternalSystem updateExternalSystem(UpdateExternalSystemRequest request)
Updates external system. This is for a given finding.
-
updateFinding
public Finding updateFinding(UpdateFindingRequest request)
Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.
-
updateMuteConfig
public MuteConfig updateMuteConfig(UpdateMuteConfigRequest request)
Updates a mute config.
-
updateNotificationConfig
public NotificationConfig updateNotificationConfig(UpdateNotificationConfigRequest request)
Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter
-
updateOrganizationSettings
public OrganizationSettings updateOrganizationSettings(UpdateOrganizationSettingsRequest request)
Updates an organization's settings.
-
updateSecurityHealthAnalyticsCustomModule
public 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 Source updateSource(UpdateSourceRequest request)
Updates a source.
-
updateSecurityMarks
public SecurityMarks updateSecurityMarks(UpdateSecurityMarksRequest request)
Updates security marks.
-
createBigQueryExport
public BigQueryExport createBigQueryExport(CreateBigQueryExportRequest request)
Creates a BigQuery export.
-
deleteBigQueryExport
public com.google.protobuf.Empty deleteBigQueryExport(DeleteBigQueryExportRequest request)
Deletes an existing BigQuery export.
-
updateBigQueryExport
public BigQueryExport updateBigQueryExport(UpdateBigQueryExportRequest request)
Updates a BigQuery export.
-
listBigQueryExports
public 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.
-
-