Class GrpcSecurityCenterStub
java.lang.Object
com.google.cloud.securitycenter.v1p1beta1.stub.SecurityCenterStub
com.google.cloud.securitycenter.v1p1beta1.stub.GrpcSecurityCenterStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@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
ConstructorsModifierConstructorDescriptionprotectedGrpcSecurityCenterStub(SecurityCenterStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcSecurityCenterStub, using the given settings.protectedGrpcSecurityCenterStub(SecurityCenterStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcSecurityCenterStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcSecurityCenterStubcreate(ClientContext clientContext) static final GrpcSecurityCenterStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcSecurityCenterStubcreate(SecurityCenterStubSettings settings) UnaryCallable<DeleteNotificationConfigRequest,com.google.protobuf.Empty> booleanbooleanUnaryCallable<ListNotificationConfigsRequest,SecurityCenterClient.ListNotificationConfigsPagedResponse> OperationCallable<RunAssetDiscoveryRequest,RunAssetDiscoveryResponse, com.google.protobuf.Empty> voidshutdown()voidMethods inherited from class com.google.cloud.securitycenter.v1p1beta1.stub.SecurityCenterStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcSecurityCenterStub
protected GrpcSecurityCenterStub(SecurityCenterStubSettings settings, 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, ClientContext clientContext, 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 Details
-
create
public static final GrpcSecurityCenterStub create(SecurityCenterStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcSecurityCenterStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classSecurityCenterStub
-
createSourceCallable
- Overrides:
createSourceCallablein classSecurityCenterStub
-
createFindingCallable
- Overrides:
createFindingCallablein classSecurityCenterStub
-
createNotificationConfigCallable
public UnaryCallable<CreateNotificationConfigRequest,NotificationConfig> createNotificationConfigCallable()- Overrides:
createNotificationConfigCallablein classSecurityCenterStub
-
deleteNotificationConfigCallable
public UnaryCallable<DeleteNotificationConfigRequest,com.google.protobuf.Empty> deleteNotificationConfigCallable()- Overrides:
deleteNotificationConfigCallablein classSecurityCenterStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classSecurityCenterStub
-
getNotificationConfigCallable
public UnaryCallable<GetNotificationConfigRequest,NotificationConfig> getNotificationConfigCallable()- Overrides:
getNotificationConfigCallablein classSecurityCenterStub
-
getOrganizationSettingsCallable
public UnaryCallable<GetOrganizationSettingsRequest,OrganizationSettings> getOrganizationSettingsCallable()- Overrides:
getOrganizationSettingsCallablein classSecurityCenterStub
-
getSourceCallable
- Overrides:
getSourceCallablein classSecurityCenterStub
-
groupAssetsCallable
- Overrides:
groupAssetsCallablein classSecurityCenterStub
-
groupAssetsPagedCallable
public UnaryCallable<GroupAssetsRequest,SecurityCenterClient.GroupAssetsPagedResponse> groupAssetsPagedCallable()- Overrides:
groupAssetsPagedCallablein classSecurityCenterStub
-
groupFindingsCallable
- Overrides:
groupFindingsCallablein classSecurityCenterStub
-
groupFindingsPagedCallable
public UnaryCallable<GroupFindingsRequest,SecurityCenterClient.GroupFindingsPagedResponse> groupFindingsPagedCallable()- Overrides:
groupFindingsPagedCallablein classSecurityCenterStub
-
listAssetsCallable
- Overrides:
listAssetsCallablein classSecurityCenterStub
-
listAssetsPagedCallable
public UnaryCallable<ListAssetsRequest,SecurityCenterClient.ListAssetsPagedResponse> listAssetsPagedCallable()- Overrides:
listAssetsPagedCallablein classSecurityCenterStub
-
listFindingsCallable
- Overrides:
listFindingsCallablein classSecurityCenterStub
-
listFindingsPagedCallable
public UnaryCallable<ListFindingsRequest,SecurityCenterClient.ListFindingsPagedResponse> listFindingsPagedCallable()- Overrides:
listFindingsPagedCallablein classSecurityCenterStub
-
listNotificationConfigsCallable
public UnaryCallable<ListNotificationConfigsRequest,ListNotificationConfigsResponse> listNotificationConfigsCallable()- Overrides:
listNotificationConfigsCallablein classSecurityCenterStub
-
listNotificationConfigsPagedCallable
public UnaryCallable<ListNotificationConfigsRequest,SecurityCenterClient.ListNotificationConfigsPagedResponse> listNotificationConfigsPagedCallable()- Overrides:
listNotificationConfigsPagedCallablein classSecurityCenterStub
-
listSourcesCallable
- Overrides:
listSourcesCallablein classSecurityCenterStub
-
listSourcesPagedCallable
public UnaryCallable<ListSourcesRequest,SecurityCenterClient.ListSourcesPagedResponse> listSourcesPagedCallable()- Overrides:
listSourcesPagedCallablein classSecurityCenterStub
-
runAssetDiscoveryCallable
- Overrides:
runAssetDiscoveryCallablein classSecurityCenterStub
-
runAssetDiscoveryOperationCallable
public OperationCallable<RunAssetDiscoveryRequest,RunAssetDiscoveryResponse, runAssetDiscoveryOperationCallable()com.google.protobuf.Empty> - Overrides:
runAssetDiscoveryOperationCallablein classSecurityCenterStub
-
setFindingStateCallable
- Overrides:
setFindingStateCallablein classSecurityCenterStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classSecurityCenterStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classSecurityCenterStub
-
updateFindingCallable
- Overrides:
updateFindingCallablein classSecurityCenterStub
-
updateNotificationConfigCallable
public UnaryCallable<UpdateNotificationConfigRequest,NotificationConfig> updateNotificationConfigCallable()- Overrides:
updateNotificationConfigCallablein classSecurityCenterStub
-
updateOrganizationSettingsCallable
public UnaryCallable<UpdateOrganizationSettingsRequest,OrganizationSettings> updateOrganizationSettingsCallable()- Overrides:
updateOrganizationSettingsCallablein classSecurityCenterStub
-
updateSourceCallable
- Overrides:
updateSourceCallablein classSecurityCenterStub
-
updateSecurityMarksCallable
- Overrides:
updateSecurityMarksCallablein classSecurityCenterStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classSecurityCenterStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-