@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcSecurityCenterStub extends SecurityCenterStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcSecurityCenterStub(SecurityCenterStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcSecurityCenterStub, using the given settings.
|
protected |
GrpcSecurityCenterStub(SecurityCenterStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSecurityCenterStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSecurityCenterStub |
create(ClientContext clientContext) |
static GrpcSecurityCenterStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcSecurityCenterStub |
create(SecurityCenterStubSettings settings) |
UnaryCallable<com.google.cloud.securitycenter.v1.CreateFindingRequest,com.google.cloud.securitycenter.v1.Finding> |
createFindingCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.CreateSourceRequest,com.google.cloud.securitycenter.v1.Source> |
createSourceCallable() |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
GrpcOperationsStub |
getOperationsStub() |
UnaryCallable<com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest,com.google.cloud.securitycenter.v1.OrganizationSettings> |
getOrganizationSettingsCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.GetSourceRequest,com.google.cloud.securitycenter.v1.Source> |
getSourceCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.GroupAssetsRequest,com.google.cloud.securitycenter.v1.GroupAssetsResponse> |
groupAssetsCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.GroupAssetsRequest,SecurityCenterClient.GroupAssetsPagedResponse> |
groupAssetsPagedCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.GroupFindingsRequest,com.google.cloud.securitycenter.v1.GroupFindingsResponse> |
groupFindingsCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.GroupFindingsRequest,SecurityCenterClient.GroupFindingsPagedResponse> |
groupFindingsPagedCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.securitycenter.v1.ListAssetsRequest,com.google.cloud.securitycenter.v1.ListAssetsResponse> |
listAssetsCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.ListAssetsRequest,SecurityCenterClient.ListAssetsPagedResponse> |
listAssetsPagedCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.ListFindingsRequest,com.google.cloud.securitycenter.v1.ListFindingsResponse> |
listFindingsCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.ListFindingsRequest,SecurityCenterClient.ListFindingsPagedResponse> |
listFindingsPagedCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.ListSourcesRequest,com.google.cloud.securitycenter.v1.ListSourcesResponse> |
listSourcesCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.ListSourcesRequest,SecurityCenterClient.ListSourcesPagedResponse> |
listSourcesPagedCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest,Operation> |
runAssetDiscoveryCallable() |
OperationCallable<com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest,Empty,Empty> |
runAssetDiscoveryOperationCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.SetFindingStateRequest,com.google.cloud.securitycenter.v1.Finding> |
setFindingStateCallable() |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.UpdateFindingRequest,com.google.cloud.securitycenter.v1.Finding> |
updateFindingCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest,com.google.cloud.securitycenter.v1.OrganizationSettings> |
updateOrganizationSettingsCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest,com.google.cloud.securitycenter.v1.SecurityMarks> |
updateSecurityMarksCallable() |
UnaryCallable<com.google.cloud.securitycenter.v1.UpdateSourceRequest,com.google.cloud.securitycenter.v1.Source> |
updateSourceCallable() |
protected GrpcSecurityCenterStub(SecurityCenterStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcSecurityCenterStub(SecurityCenterStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcSecurityCenterStub create(SecurityCenterStubSettings settings) throws IOException
IOException
public static final GrpcSecurityCenterStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcSecurityCenterStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.CreateSourceRequest,com.google.cloud.securitycenter.v1.Source> createSourceCallable()
createSourceCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.CreateFindingRequest,com.google.cloud.securitycenter.v1.Finding> createFindingCallable()
createFindingCallable
in class SecurityCenterStub
public UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest,com.google.cloud.securitycenter.v1.OrganizationSettings> getOrganizationSettingsCallable()
getOrganizationSettingsCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.GetSourceRequest,com.google.cloud.securitycenter.v1.Source> getSourceCallable()
getSourceCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.GroupAssetsRequest,SecurityCenterClient.GroupAssetsPagedResponse> groupAssetsPagedCallable()
groupAssetsPagedCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.GroupAssetsRequest,com.google.cloud.securitycenter.v1.GroupAssetsResponse> groupAssetsCallable()
groupAssetsCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.GroupFindingsRequest,SecurityCenterClient.GroupFindingsPagedResponse> groupFindingsPagedCallable()
groupFindingsPagedCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.GroupFindingsRequest,com.google.cloud.securitycenter.v1.GroupFindingsResponse> groupFindingsCallable()
groupFindingsCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.ListAssetsRequest,SecurityCenterClient.ListAssetsPagedResponse> listAssetsPagedCallable()
listAssetsPagedCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.ListAssetsRequest,com.google.cloud.securitycenter.v1.ListAssetsResponse> listAssetsCallable()
listAssetsCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.ListFindingsRequest,SecurityCenterClient.ListFindingsPagedResponse> listFindingsPagedCallable()
listFindingsPagedCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.ListFindingsRequest,com.google.cloud.securitycenter.v1.ListFindingsResponse> listFindingsCallable()
listFindingsCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.ListSourcesRequest,SecurityCenterClient.ListSourcesPagedResponse> listSourcesPagedCallable()
listSourcesPagedCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.ListSourcesRequest,com.google.cloud.securitycenter.v1.ListSourcesResponse> listSourcesCallable()
listSourcesCallable
in class SecurityCenterStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest,Empty,Empty> runAssetDiscoveryOperationCallable()
runAssetDiscoveryOperationCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest,Operation> runAssetDiscoveryCallable()
runAssetDiscoveryCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.SetFindingStateRequest,com.google.cloud.securitycenter.v1.Finding> setFindingStateCallable()
setFindingStateCallable
in class SecurityCenterStub
public UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class SecurityCenterStub
public UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.UpdateFindingRequest,com.google.cloud.securitycenter.v1.Finding> updateFindingCallable()
updateFindingCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest,com.google.cloud.securitycenter.v1.OrganizationSettings> updateOrganizationSettingsCallable()
updateOrganizationSettingsCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.UpdateSourceRequest,com.google.cloud.securitycenter.v1.Source> updateSourceCallable()
updateSourceCallable
in class SecurityCenterStub
public UnaryCallable<com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest,com.google.cloud.securitycenter.v1.SecurityMarks> updateSecurityMarksCallable()
updateSecurityMarksCallable
in class SecurityCenterStub
public final void close()
close
in interface AutoCloseable
close
in class SecurityCenterStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.