public class GrpcSecurityPostureStub extends SecurityPostureStub
gRPC stub implementation for the SecurityPosture service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcSecurityPostureStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
GrpcSecurityPostureStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcSecurityPostureStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcSecurityPostureStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(SecurityPostureStubSettings settings)
public static final GrpcSecurityPostureStub create(SecurityPostureStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | SecurityPostureStubSettings |
Returns | |
---|---|
Type | Description |
GrpcSecurityPostureStub |
Exceptions | |
---|---|
Type | Description |
IOException |
Constructors
GrpcSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext)
protected GrpcSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcSecurityPostureStub, 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.
Parameters | |
---|---|
Name | Description |
settings | SecurityPostureStubSettings |
clientContext | ClientContext |
GrpcSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSecurityPostureStub, 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.
Parameters | |
---|---|
Name | Description |
settings | SecurityPostureStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createPostureCallable()
public UnaryCallable<CreatePostureRequest,Operation> createPostureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreatePostureRequest,Operation> |
createPostureDeploymentCallable()
public UnaryCallable<CreatePostureDeploymentRequest,Operation> createPostureDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreatePostureDeploymentRequest,Operation> |
createPostureDeploymentOperationCallable()
public OperationCallable<CreatePostureDeploymentRequest,PostureDeployment,OperationMetadata> createPostureDeploymentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreatePostureDeploymentRequest,PostureDeployment,OperationMetadata> |
createPostureOperationCallable()
public OperationCallable<CreatePostureRequest,Posture,OperationMetadata> createPostureOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreatePostureRequest,Posture,OperationMetadata> |
deletePostureCallable()
public UnaryCallable<DeletePostureRequest,Operation> deletePostureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeletePostureRequest,Operation> |
deletePostureDeploymentCallable()
public UnaryCallable<DeletePostureDeploymentRequest,Operation> deletePostureDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeletePostureDeploymentRequest,Operation> |
deletePostureDeploymentOperationCallable()
public OperationCallable<DeletePostureDeploymentRequest,Empty,OperationMetadata> deletePostureDeploymentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeletePostureDeploymentRequest,Empty,OperationMetadata> |
deletePostureOperationCallable()
public OperationCallable<DeletePostureRequest,Empty,OperationMetadata> deletePostureOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeletePostureRequest,Empty,OperationMetadata> |
extractPostureCallable()
public UnaryCallable<ExtractPostureRequest,Operation> extractPostureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ExtractPostureRequest,Operation> |
extractPostureOperationCallable()
public OperationCallable<ExtractPostureRequest,Posture,OperationMetadata> extractPostureOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ExtractPostureRequest,Posture,OperationMetadata> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getPostureCallable()
public UnaryCallable<GetPostureRequest,Posture> getPostureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPostureRequest,Posture> |
getPostureDeploymentCallable()
public UnaryCallable<GetPostureDeploymentRequest,PostureDeployment> getPostureDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPostureDeploymentRequest,PostureDeployment> |
getPostureTemplateCallable()
public UnaryCallable<GetPostureTemplateRequest,PostureTemplate> getPostureTemplateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPostureTemplateRequest,PostureTemplate> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,SecurityPostureClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listPostureDeploymentsCallable()
public UnaryCallable<ListPostureDeploymentsRequest,ListPostureDeploymentsResponse> listPostureDeploymentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPostureDeploymentsRequest,ListPostureDeploymentsResponse> |
listPostureDeploymentsPagedCallable()
public UnaryCallable<ListPostureDeploymentsRequest,SecurityPostureClient.ListPostureDeploymentsPagedResponse> listPostureDeploymentsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPostureDeploymentsRequest,ListPostureDeploymentsPagedResponse> |
listPostureRevisionsCallable()
public UnaryCallable<ListPostureRevisionsRequest,ListPostureRevisionsResponse> listPostureRevisionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPostureRevisionsRequest,ListPostureRevisionsResponse> |
listPostureRevisionsPagedCallable()
public UnaryCallable<ListPostureRevisionsRequest,SecurityPostureClient.ListPostureRevisionsPagedResponse> listPostureRevisionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPostureRevisionsRequest,ListPostureRevisionsPagedResponse> |
listPostureTemplatesCallable()
public UnaryCallable<ListPostureTemplatesRequest,ListPostureTemplatesResponse> listPostureTemplatesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPostureTemplatesRequest,ListPostureTemplatesResponse> |
listPostureTemplatesPagedCallable()
public UnaryCallable<ListPostureTemplatesRequest,SecurityPostureClient.ListPostureTemplatesPagedResponse> listPostureTemplatesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPostureTemplatesRequest,ListPostureTemplatesPagedResponse> |
listPosturesCallable()
public UnaryCallable<ListPosturesRequest,ListPosturesResponse> listPosturesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPosturesRequest,ListPosturesResponse> |
listPosturesPagedCallable()
public UnaryCallable<ListPosturesRequest,SecurityPostureClient.ListPosturesPagedResponse> listPosturesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPosturesRequest,ListPosturesPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updatePostureCallable()
public UnaryCallable<UpdatePostureRequest,Operation> updatePostureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdatePostureRequest,Operation> |
updatePostureDeploymentCallable()
public UnaryCallable<UpdatePostureDeploymentRequest,Operation> updatePostureDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdatePostureDeploymentRequest,Operation> |
updatePostureDeploymentOperationCallable()
public OperationCallable<UpdatePostureDeploymentRequest,PostureDeployment,OperationMetadata> updatePostureDeploymentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdatePostureDeploymentRequest,PostureDeployment,OperationMetadata> |
updatePostureOperationCallable()
public OperationCallable<UpdatePostureRequest,Posture,OperationMetadata> updatePostureOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdatePostureRequest,Posture,OperationMetadata> |