@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,
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSecurityCenterStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcSecurityCenterStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcSecurityCenterStub |
create(SecurityCenterStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateFindingRequest,Finding> |
createFindingCallable() |
com.google.api.gax.rpc.UnaryCallable<CreateSourceRequest,Source> |
createSourceCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetOrganizationSettingsRequest,OrganizationSettings> |
getOrganizationSettingsCallable() |
com.google.api.gax.rpc.UnaryCallable<GetSourceRequest,Source> |
getSourceCallable() |
com.google.api.gax.rpc.UnaryCallable<GroupAssetsRequest,GroupAssetsResponse> |
groupAssetsCallable() |
com.google.api.gax.rpc.UnaryCallable<GroupAssetsRequest,SecurityCenterClient.GroupAssetsPagedResponse> |
groupAssetsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<GroupFindingsRequest,GroupFindingsResponse> |
groupFindingsCallable() |
com.google.api.gax.rpc.UnaryCallable<GroupFindingsRequest,SecurityCenterClient.GroupFindingsPagedResponse> |
groupFindingsPagedCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListAssetsRequest,ListAssetsResponse> |
listAssetsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListAssetsRequest,SecurityCenterClient.ListAssetsPagedResponse> |
listAssetsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListFindingsRequest,ListFindingsResponse> |
listFindingsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListFindingsRequest,SecurityCenterClient.ListFindingsPagedResponse> |
listFindingsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSourcesRequest,ListSourcesResponse> |
listSourcesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSourcesRequest,SecurityCenterClient.ListSourcesPagedResponse> |
listSourcesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<RunAssetDiscoveryRequest,com.google.longrunning.Operation> |
runAssetDiscoveryCallable() |
com.google.api.gax.rpc.OperationCallable<RunAssetDiscoveryRequest,Empty,Empty> |
runAssetDiscoveryOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<SetFindingStateRequest,Finding> |
setFindingStateCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateFindingRequest,Finding> |
updateFindingCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateOrganizationSettingsRequest,OrganizationSettings> |
updateOrganizationSettingsCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateSecurityMarksRequest,SecurityMarks> |
updateSecurityMarksCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateSourceRequest,Source> |
updateSourceCallable() |
protected GrpcSecurityCenterStub(SecurityCenterStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcSecurityCenterStub(SecurityCenterStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcSecurityCenterStub create(SecurityCenterStubSettings settings) throws IOException
IOException
public static final GrpcSecurityCenterStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcSecurityCenterStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.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 com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<CreateSourceRequest,Source> createSourceCallable()
createSourceCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<CreateFindingRequest,Finding> createFindingCallable()
createFindingCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<GetOrganizationSettingsRequest,OrganizationSettings> getOrganizationSettingsCallable()
getOrganizationSettingsCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<GetSourceRequest,Source> getSourceCallable()
getSourceCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<GroupAssetsRequest,SecurityCenterClient.GroupAssetsPagedResponse> groupAssetsPagedCallable()
groupAssetsPagedCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<GroupAssetsRequest,GroupAssetsResponse> groupAssetsCallable()
groupAssetsCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<GroupFindingsRequest,SecurityCenterClient.GroupFindingsPagedResponse> groupFindingsPagedCallable()
groupFindingsPagedCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<GroupFindingsRequest,GroupFindingsResponse> groupFindingsCallable()
groupFindingsCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<ListAssetsRequest,SecurityCenterClient.ListAssetsPagedResponse> listAssetsPagedCallable()
listAssetsPagedCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
listAssetsCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<ListFindingsRequest,SecurityCenterClient.ListFindingsPagedResponse> listFindingsPagedCallable()
listFindingsPagedCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<ListFindingsRequest,ListFindingsResponse> listFindingsCallable()
listFindingsCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<ListSourcesRequest,SecurityCenterClient.ListSourcesPagedResponse> listSourcesPagedCallable()
listSourcesPagedCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<ListSourcesRequest,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 com.google.api.gax.rpc.OperationCallable<RunAssetDiscoveryRequest,Empty,Empty> runAssetDiscoveryOperationCallable()
runAssetDiscoveryOperationCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<RunAssetDiscoveryRequest,com.google.longrunning.Operation> runAssetDiscoveryCallable()
runAssetDiscoveryCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<SetFindingStateRequest,Finding> setFindingStateCallable()
setFindingStateCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<UpdateFindingRequest,Finding> updateFindingCallable()
updateFindingCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<UpdateOrganizationSettingsRequest,OrganizationSettings> updateOrganizationSettingsCallable()
updateOrganizationSettingsCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<UpdateSourceRequest,Source> updateSourceCallable()
updateSourceCallable
in class SecurityCenterStub
public com.google.api.gax.rpc.UnaryCallable<UpdateSecurityMarksRequest,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.