Class HttpJsonSecurityCenterStub
java.lang.Object
com.google.cloud.securitycenter.v2.stub.SecurityCenterStub
com.google.cloud.securitycenter.v2.stub.HttpJsonSecurityCenterStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonSecurityCenterStub
extends SecurityCenterStub
REST stub implementation for the SecurityCenter service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonSecurityCenterStub(SecurityCenterStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonSecurityCenterStub, using the given settings.protectedHttpJsonSecurityCenterStub(SecurityCenterStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonSecurityCenterStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) OperationCallable<BulkMuteFindingsRequest,BulkMuteFindingsResponse, com.google.protobuf.Empty> final voidclose()static final HttpJsonSecurityCenterStubcreate(ClientContext clientContext) static final HttpJsonSecurityCenterStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonSecurityCenterStubcreate(SecurityCenterStubSettings settings) UnaryCallable<DeleteBigQueryExportRequest,com.google.protobuf.Empty> UnaryCallable<DeleteMuteConfigRequest,com.google.protobuf.Empty> UnaryCallable<DeleteNotificationConfigRequest,com.google.protobuf.Empty> UnaryCallable<DeleteResourceValueConfigRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListNotificationConfigsRequest,SecurityCenterClient.ListNotificationConfigsPagedResponse> UnaryCallable<ListResourceValueConfigsRequest,SecurityCenterClient.ListResourceValueConfigsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.securitycenter.v2.stub.SecurityCenterStub
getOperationsStub
-
Constructor Details
-
HttpJsonSecurityCenterStub
protected HttpJsonSecurityCenterStub(SecurityCenterStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonSecurityCenterStub, 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
-
HttpJsonSecurityCenterStub
protected HttpJsonSecurityCenterStub(SecurityCenterStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonSecurityCenterStub, 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 HttpJsonSecurityCenterStub create(SecurityCenterStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonSecurityCenterStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonSecurityCenterStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classSecurityCenterStub
-
batchCreateResourceValueConfigsCallable
public UnaryCallable<BatchCreateResourceValueConfigsRequest,BatchCreateResourceValueConfigsResponse> batchCreateResourceValueConfigsCallable()- Overrides:
batchCreateResourceValueConfigsCallablein classSecurityCenterStub
-
bulkMuteFindingsCallable
- Overrides:
bulkMuteFindingsCallablein classSecurityCenterStub
-
bulkMuteFindingsOperationCallable
public OperationCallable<BulkMuteFindingsRequest,BulkMuteFindingsResponse, bulkMuteFindingsOperationCallable()com.google.protobuf.Empty> - Overrides:
bulkMuteFindingsOperationCallablein classSecurityCenterStub
-
createBigQueryExportCallable
- Overrides:
createBigQueryExportCallablein classSecurityCenterStub
-
createFindingCallable
- Overrides:
createFindingCallablein classSecurityCenterStub
-
createMuteConfigCallable
- Overrides:
createMuteConfigCallablein classSecurityCenterStub
-
createNotificationConfigCallable
public UnaryCallable<CreateNotificationConfigRequest,NotificationConfig> createNotificationConfigCallable()- Overrides:
createNotificationConfigCallablein classSecurityCenterStub
-
createSourceCallable
- Overrides:
createSourceCallablein classSecurityCenterStub
-
deleteBigQueryExportCallable
public UnaryCallable<DeleteBigQueryExportRequest,com.google.protobuf.Empty> deleteBigQueryExportCallable()- Overrides:
deleteBigQueryExportCallablein classSecurityCenterStub
-
deleteMuteConfigCallable
- Overrides:
deleteMuteConfigCallablein classSecurityCenterStub
-
deleteNotificationConfigCallable
public UnaryCallable<DeleteNotificationConfigRequest,com.google.protobuf.Empty> deleteNotificationConfigCallable()- Overrides:
deleteNotificationConfigCallablein classSecurityCenterStub
-
deleteResourceValueConfigCallable
public UnaryCallable<DeleteResourceValueConfigRequest,com.google.protobuf.Empty> deleteResourceValueConfigCallable()- Overrides:
deleteResourceValueConfigCallablein classSecurityCenterStub
-
getBigQueryExportCallable
- Overrides:
getBigQueryExportCallablein classSecurityCenterStub
-
getSimulationCallable
- Overrides:
getSimulationCallablein classSecurityCenterStub
-
getValuedResourceCallable
- Overrides:
getValuedResourceCallablein classSecurityCenterStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classSecurityCenterStub
-
getMuteConfigCallable
- Overrides:
getMuteConfigCallablein classSecurityCenterStub
-
getNotificationConfigCallable
public UnaryCallable<GetNotificationConfigRequest,NotificationConfig> getNotificationConfigCallable()- Overrides:
getNotificationConfigCallablein classSecurityCenterStub
-
getResourceValueConfigCallable
public UnaryCallable<GetResourceValueConfigRequest,ResourceValueConfig> getResourceValueConfigCallable()- Overrides:
getResourceValueConfigCallablein classSecurityCenterStub
-
getSourceCallable
- Overrides:
getSourceCallablein classSecurityCenterStub
-
groupFindingsCallable
- Overrides:
groupFindingsCallablein classSecurityCenterStub
-
groupFindingsPagedCallable
public UnaryCallable<GroupFindingsRequest,SecurityCenterClient.GroupFindingsPagedResponse> groupFindingsPagedCallable()- Overrides:
groupFindingsPagedCallablein classSecurityCenterStub
-
listAttackPathsCallable
- Overrides:
listAttackPathsCallablein classSecurityCenterStub
-
listAttackPathsPagedCallable
public UnaryCallable<ListAttackPathsRequest,SecurityCenterClient.ListAttackPathsPagedResponse> listAttackPathsPagedCallable()- Overrides:
listAttackPathsPagedCallablein classSecurityCenterStub
-
listBigQueryExportsCallable
public UnaryCallable<ListBigQueryExportsRequest,ListBigQueryExportsResponse> listBigQueryExportsCallable()- Overrides:
listBigQueryExportsCallablein classSecurityCenterStub
-
listBigQueryExportsPagedCallable
public UnaryCallable<ListBigQueryExportsRequest,SecurityCenterClient.ListBigQueryExportsPagedResponse> listBigQueryExportsPagedCallable()- Overrides:
listBigQueryExportsPagedCallablein classSecurityCenterStub
-
listFindingsCallable
- Overrides:
listFindingsCallablein classSecurityCenterStub
-
listFindingsPagedCallable
public UnaryCallable<ListFindingsRequest,SecurityCenterClient.ListFindingsPagedResponse> listFindingsPagedCallable()- Overrides:
listFindingsPagedCallablein classSecurityCenterStub
-
listMuteConfigsCallable
- Overrides:
listMuteConfigsCallablein classSecurityCenterStub
-
listMuteConfigsPagedCallable
public UnaryCallable<ListMuteConfigsRequest,SecurityCenterClient.ListMuteConfigsPagedResponse> listMuteConfigsPagedCallable()- Overrides:
listMuteConfigsPagedCallablein classSecurityCenterStub
-
listNotificationConfigsCallable
public UnaryCallable<ListNotificationConfigsRequest,ListNotificationConfigsResponse> listNotificationConfigsCallable()- Overrides:
listNotificationConfigsCallablein classSecurityCenterStub
-
listNotificationConfigsPagedCallable
public UnaryCallable<ListNotificationConfigsRequest,SecurityCenterClient.ListNotificationConfigsPagedResponse> listNotificationConfigsPagedCallable()- Overrides:
listNotificationConfigsPagedCallablein classSecurityCenterStub
-
listResourceValueConfigsCallable
public UnaryCallable<ListResourceValueConfigsRequest,ListResourceValueConfigsResponse> listResourceValueConfigsCallable()- Overrides:
listResourceValueConfigsCallablein classSecurityCenterStub
-
listResourceValueConfigsPagedCallable
public UnaryCallable<ListResourceValueConfigsRequest,SecurityCenterClient.ListResourceValueConfigsPagedResponse> listResourceValueConfigsPagedCallable()- Overrides:
listResourceValueConfigsPagedCallablein classSecurityCenterStub
-
listSourcesCallable
- Overrides:
listSourcesCallablein classSecurityCenterStub
-
listSourcesPagedCallable
public UnaryCallable<ListSourcesRequest,SecurityCenterClient.ListSourcesPagedResponse> listSourcesPagedCallable()- Overrides:
listSourcesPagedCallablein classSecurityCenterStub
-
listValuedResourcesCallable
public UnaryCallable<ListValuedResourcesRequest,ListValuedResourcesResponse> listValuedResourcesCallable()- Overrides:
listValuedResourcesCallablein classSecurityCenterStub
-
listValuedResourcesPagedCallable
public UnaryCallable<ListValuedResourcesRequest,SecurityCenterClient.ListValuedResourcesPagedResponse> listValuedResourcesPagedCallable()- Overrides:
listValuedResourcesPagedCallablein classSecurityCenterStub
-
setFindingStateCallable
- Overrides:
setFindingStateCallablein classSecurityCenterStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classSecurityCenterStub
-
setMuteCallable
- Overrides:
setMuteCallablein classSecurityCenterStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classSecurityCenterStub
-
updateBigQueryExportCallable
- Overrides:
updateBigQueryExportCallablein classSecurityCenterStub
-
updateExternalSystemCallable
- Overrides:
updateExternalSystemCallablein classSecurityCenterStub
-
updateFindingCallable
- Overrides:
updateFindingCallablein classSecurityCenterStub
-
updateMuteConfigCallable
- Overrides:
updateMuteConfigCallablein classSecurityCenterStub
-
updateNotificationConfigCallable
public UnaryCallable<UpdateNotificationConfigRequest,NotificationConfig> updateNotificationConfigCallable()- Overrides:
updateNotificationConfigCallablein classSecurityCenterStub
-
updateResourceValueConfigCallable
public UnaryCallable<UpdateResourceValueConfigRequest,ResourceValueConfig> updateResourceValueConfigCallable()- Overrides:
updateResourceValueConfigCallablein classSecurityCenterStub
-
updateSecurityMarksCallable
- Overrides:
updateSecurityMarksCallablein classSecurityCenterStub
-
updateSourceCallable
- Overrides:
updateSourceCallablein 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
-