Class GrpcSecurityCenterStub
- java.lang.Object
-
- com.google.cloud.securitycenter.v1.stub.SecurityCenterStub
-
- com.google.cloud.securitycenter.v1.stub.GrpcSecurityCenterStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") public class GrpcSecurityCenterStub extends SecurityCenterStub
gRPC stub implementation for the SecurityCenter service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GrpcSecurityCenterStub(SecurityCenterStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSecurityCenterStub, using the given settings.protected
GrpcSecurityCenterStub(SecurityCenterStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSecurityCenterStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.securitycenter.v1.stub.SecurityCenterStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcSecurityCenterStub
protected GrpcSecurityCenterStub(SecurityCenterStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcSecurityCenterStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcSecurityCenterStub
protected GrpcSecurityCenterStub(SecurityCenterStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcSecurityCenterStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcSecurityCenterStub create(SecurityCenterStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcSecurityCenterStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcSecurityCenterStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStub
in classSecurityCenterStub
-
bulkMuteFindingsCallable
public com.google.api.gax.rpc.UnaryCallable<BulkMuteFindingsRequest,com.google.longrunning.Operation> bulkMuteFindingsCallable()
- Overrides:
bulkMuteFindingsCallable
in classSecurityCenterStub
-
bulkMuteFindingsOperationCallable
public com.google.api.gax.rpc.OperationCallable<BulkMuteFindingsRequest,BulkMuteFindingsResponse,com.google.protobuf.Empty> bulkMuteFindingsOperationCallable()
- Overrides:
bulkMuteFindingsOperationCallable
in classSecurityCenterStub
-
createSecurityHealthAnalyticsCustomModuleCallable
public com.google.api.gax.rpc.UnaryCallable<CreateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> createSecurityHealthAnalyticsCustomModuleCallable()
- Overrides:
createSecurityHealthAnalyticsCustomModuleCallable
in classSecurityCenterStub
-
createSourceCallable
public com.google.api.gax.rpc.UnaryCallable<CreateSourceRequest,Source> createSourceCallable()
- Overrides:
createSourceCallable
in classSecurityCenterStub
-
createFindingCallable
public com.google.api.gax.rpc.UnaryCallable<CreateFindingRequest,Finding> createFindingCallable()
- Overrides:
createFindingCallable
in classSecurityCenterStub
-
createMuteConfigCallable
public com.google.api.gax.rpc.UnaryCallable<CreateMuteConfigRequest,MuteConfig> createMuteConfigCallable()
- Overrides:
createMuteConfigCallable
in classSecurityCenterStub
-
createNotificationConfigCallable
public com.google.api.gax.rpc.UnaryCallable<CreateNotificationConfigRequest,NotificationConfig> createNotificationConfigCallable()
- Overrides:
createNotificationConfigCallable
in classSecurityCenterStub
-
deleteMuteConfigCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteMuteConfigRequest,com.google.protobuf.Empty> deleteMuteConfigCallable()
- Overrides:
deleteMuteConfigCallable
in classSecurityCenterStub
-
deleteNotificationConfigCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteNotificationConfigRequest,com.google.protobuf.Empty> deleteNotificationConfigCallable()
- Overrides:
deleteNotificationConfigCallable
in classSecurityCenterStub
-
deleteSecurityHealthAnalyticsCustomModuleCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSecurityHealthAnalyticsCustomModuleRequest,com.google.protobuf.Empty> deleteSecurityHealthAnalyticsCustomModuleCallable()
- Overrides:
deleteSecurityHealthAnalyticsCustomModuleCallable
in classSecurityCenterStub
-
getBigQueryExportCallable
public com.google.api.gax.rpc.UnaryCallable<GetBigQueryExportRequest,BigQueryExport> getBigQueryExportCallable()
- Overrides:
getBigQueryExportCallable
in classSecurityCenterStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classSecurityCenterStub
-
getMuteConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetMuteConfigRequest,MuteConfig> getMuteConfigCallable()
- Overrides:
getMuteConfigCallable
in classSecurityCenterStub
-
getNotificationConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetNotificationConfigRequest,NotificationConfig> getNotificationConfigCallable()
- Overrides:
getNotificationConfigCallable
in classSecurityCenterStub
-
getOrganizationSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<GetOrganizationSettingsRequest,OrganizationSettings> getOrganizationSettingsCallable()
- Overrides:
getOrganizationSettingsCallable
in classSecurityCenterStub
-
getEffectiveSecurityHealthAnalyticsCustomModuleCallable
public com.google.api.gax.rpc.UnaryCallable<GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,EffectiveSecurityHealthAnalyticsCustomModule> getEffectiveSecurityHealthAnalyticsCustomModuleCallable()
- Overrides:
getEffectiveSecurityHealthAnalyticsCustomModuleCallable
in classSecurityCenterStub
-
getSecurityHealthAnalyticsCustomModuleCallable
public com.google.api.gax.rpc.UnaryCallable<GetSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> getSecurityHealthAnalyticsCustomModuleCallable()
- Overrides:
getSecurityHealthAnalyticsCustomModuleCallable
in classSecurityCenterStub
-
getSourceCallable
public com.google.api.gax.rpc.UnaryCallable<GetSourceRequest,Source> getSourceCallable()
- Overrides:
getSourceCallable
in classSecurityCenterStub
-
groupAssetsCallable
public com.google.api.gax.rpc.UnaryCallable<GroupAssetsRequest,GroupAssetsResponse> groupAssetsCallable()
- Overrides:
groupAssetsCallable
in classSecurityCenterStub
-
groupAssetsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<GroupAssetsRequest,SecurityCenterClient.GroupAssetsPagedResponse> groupAssetsPagedCallable()
- Overrides:
groupAssetsPagedCallable
in classSecurityCenterStub
-
groupFindingsCallable
public com.google.api.gax.rpc.UnaryCallable<GroupFindingsRequest,GroupFindingsResponse> groupFindingsCallable()
- Overrides:
groupFindingsCallable
in classSecurityCenterStub
-
groupFindingsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<GroupFindingsRequest,SecurityCenterClient.GroupFindingsPagedResponse> groupFindingsPagedCallable()
- Overrides:
groupFindingsPagedCallable
in classSecurityCenterStub
-
listAssetsCallable
public com.google.api.gax.rpc.UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
- Overrides:
listAssetsCallable
in classSecurityCenterStub
-
listAssetsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAssetsRequest,SecurityCenterClient.ListAssetsPagedResponse> listAssetsPagedCallable()
- Overrides:
listAssetsPagedCallable
in classSecurityCenterStub
-
listDescendantSecurityHealthAnalyticsCustomModulesCallable
public com.google.api.gax.rpc.UnaryCallable<ListDescendantSecurityHealthAnalyticsCustomModulesRequest,ListDescendantSecurityHealthAnalyticsCustomModulesResponse> listDescendantSecurityHealthAnalyticsCustomModulesCallable()
- Overrides:
listDescendantSecurityHealthAnalyticsCustomModulesCallable
in classSecurityCenterStub
-
listDescendantSecurityHealthAnalyticsCustomModulesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDescendantSecurityHealthAnalyticsCustomModulesRequest,SecurityCenterClient.ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse> listDescendantSecurityHealthAnalyticsCustomModulesPagedCallable()
- Overrides:
listDescendantSecurityHealthAnalyticsCustomModulesPagedCallable
in classSecurityCenterStub
-
listFindingsCallable
public com.google.api.gax.rpc.UnaryCallable<ListFindingsRequest,ListFindingsResponse> listFindingsCallable()
- Overrides:
listFindingsCallable
in classSecurityCenterStub
-
listFindingsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListFindingsRequest,SecurityCenterClient.ListFindingsPagedResponse> listFindingsPagedCallable()
- Overrides:
listFindingsPagedCallable
in classSecurityCenterStub
-
listMuteConfigsCallable
public com.google.api.gax.rpc.UnaryCallable<ListMuteConfigsRequest,ListMuteConfigsResponse> listMuteConfigsCallable()
- Overrides:
listMuteConfigsCallable
in classSecurityCenterStub
-
listMuteConfigsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListMuteConfigsRequest,SecurityCenterClient.ListMuteConfigsPagedResponse> listMuteConfigsPagedCallable()
- Overrides:
listMuteConfigsPagedCallable
in classSecurityCenterStub
-
listNotificationConfigsCallable
public com.google.api.gax.rpc.UnaryCallable<ListNotificationConfigsRequest,ListNotificationConfigsResponse> listNotificationConfigsCallable()
- Overrides:
listNotificationConfigsCallable
in classSecurityCenterStub
-
listNotificationConfigsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNotificationConfigsRequest,SecurityCenterClient.ListNotificationConfigsPagedResponse> listNotificationConfigsPagedCallable()
- Overrides:
listNotificationConfigsPagedCallable
in classSecurityCenterStub
-
listEffectiveSecurityHealthAnalyticsCustomModulesCallable
public com.google.api.gax.rpc.UnaryCallable<ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,ListEffectiveSecurityHealthAnalyticsCustomModulesResponse> listEffectiveSecurityHealthAnalyticsCustomModulesCallable()
- Overrides:
listEffectiveSecurityHealthAnalyticsCustomModulesCallable
in classSecurityCenterStub
-
listEffectiveSecurityHealthAnalyticsCustomModulesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,SecurityCenterClient.ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse> listEffectiveSecurityHealthAnalyticsCustomModulesPagedCallable()
- Overrides:
listEffectiveSecurityHealthAnalyticsCustomModulesPagedCallable
in classSecurityCenterStub
-
listSecurityHealthAnalyticsCustomModulesCallable
public com.google.api.gax.rpc.UnaryCallable<ListSecurityHealthAnalyticsCustomModulesRequest,ListSecurityHealthAnalyticsCustomModulesResponse> listSecurityHealthAnalyticsCustomModulesCallable()
- Overrides:
listSecurityHealthAnalyticsCustomModulesCallable
in classSecurityCenterStub
-
listSecurityHealthAnalyticsCustomModulesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSecurityHealthAnalyticsCustomModulesRequest,SecurityCenterClient.ListSecurityHealthAnalyticsCustomModulesPagedResponse> listSecurityHealthAnalyticsCustomModulesPagedCallable()
- Overrides:
listSecurityHealthAnalyticsCustomModulesPagedCallable
in classSecurityCenterStub
-
listSourcesCallable
public com.google.api.gax.rpc.UnaryCallable<ListSourcesRequest,ListSourcesResponse> listSourcesCallable()
- Overrides:
listSourcesCallable
in classSecurityCenterStub
-
listSourcesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSourcesRequest,SecurityCenterClient.ListSourcesPagedResponse> listSourcesPagedCallable()
- Overrides:
listSourcesPagedCallable
in classSecurityCenterStub
-
runAssetDiscoveryCallable
public com.google.api.gax.rpc.UnaryCallable<RunAssetDiscoveryRequest,com.google.longrunning.Operation> runAssetDiscoveryCallable()
- Overrides:
runAssetDiscoveryCallable
in classSecurityCenterStub
-
runAssetDiscoveryOperationCallable
public com.google.api.gax.rpc.OperationCallable<RunAssetDiscoveryRequest,RunAssetDiscoveryResponse,com.google.protobuf.Empty> runAssetDiscoveryOperationCallable()
- Overrides:
runAssetDiscoveryOperationCallable
in classSecurityCenterStub
-
setFindingStateCallable
public com.google.api.gax.rpc.UnaryCallable<SetFindingStateRequest,Finding> setFindingStateCallable()
- Overrides:
setFindingStateCallable
in classSecurityCenterStub
-
setMuteCallable
public com.google.api.gax.rpc.UnaryCallable<SetMuteRequest,Finding> setMuteCallable()
- Overrides:
setMuteCallable
in classSecurityCenterStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classSecurityCenterStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classSecurityCenterStub
-
updateExternalSystemCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateExternalSystemRequest,ExternalSystem> updateExternalSystemCallable()
- Overrides:
updateExternalSystemCallable
in classSecurityCenterStub
-
updateFindingCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateFindingRequest,Finding> updateFindingCallable()
- Overrides:
updateFindingCallable
in classSecurityCenterStub
-
updateMuteConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateMuteConfigRequest,MuteConfig> updateMuteConfigCallable()
- Overrides:
updateMuteConfigCallable
in classSecurityCenterStub
-
updateNotificationConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateNotificationConfigRequest,NotificationConfig> updateNotificationConfigCallable()
- Overrides:
updateNotificationConfigCallable
in classSecurityCenterStub
-
updateOrganizationSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateOrganizationSettingsRequest,OrganizationSettings> updateOrganizationSettingsCallable()
- Overrides:
updateOrganizationSettingsCallable
in classSecurityCenterStub
-
updateSecurityHealthAnalyticsCustomModuleCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> updateSecurityHealthAnalyticsCustomModuleCallable()
- Overrides:
updateSecurityHealthAnalyticsCustomModuleCallable
in classSecurityCenterStub
-
updateSourceCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateSourceRequest,Source> updateSourceCallable()
- Overrides:
updateSourceCallable
in classSecurityCenterStub
-
updateSecurityMarksCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateSecurityMarksRequest,SecurityMarks> updateSecurityMarksCallable()
- Overrides:
updateSecurityMarksCallable
in classSecurityCenterStub
-
createBigQueryExportCallable
public com.google.api.gax.rpc.UnaryCallable<CreateBigQueryExportRequest,BigQueryExport> createBigQueryExportCallable()
- Overrides:
createBigQueryExportCallable
in classSecurityCenterStub
-
deleteBigQueryExportCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteBigQueryExportRequest,com.google.protobuf.Empty> deleteBigQueryExportCallable()
- Overrides:
deleteBigQueryExportCallable
in classSecurityCenterStub
-
updateBigQueryExportCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateBigQueryExportRequest,BigQueryExport> updateBigQueryExportCallable()
- Overrides:
updateBigQueryExportCallable
in classSecurityCenterStub
-
listBigQueryExportsCallable
public com.google.api.gax.rpc.UnaryCallable<ListBigQueryExportsRequest,ListBigQueryExportsResponse> listBigQueryExportsCallable()
- Overrides:
listBigQueryExportsCallable
in classSecurityCenterStub
-
listBigQueryExportsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListBigQueryExportsRequest,SecurityCenterClient.ListBigQueryExportsPagedResponse> listBigQueryExportsPagedCallable()
- Overrides:
listBigQueryExportsPagedCallable
in classSecurityCenterStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classSecurityCenterStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-