public class HttpJsonSecurityPostureStub extends SecurityPostureStub
REST 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 HttpJsonSecurityPostureStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSecurityPostureStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(SecurityPostureStubSettings settings)
public static final HttpJsonSecurityPostureStub create(SecurityPostureStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext)
protected HttpJsonSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonSecurityPostureStub, 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.
HttpJsonSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSecurityPostureStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createPostureCallable()
public UnaryCallable<CreatePostureRequest,Operation> createPostureCallable()
Overrides
createPostureDeploymentCallable()
public UnaryCallable<CreatePostureDeploymentRequest,Operation> createPostureDeploymentCallable()
Overrides
createPostureDeploymentOperationCallable()
public OperationCallable<CreatePostureDeploymentRequest,PostureDeployment,OperationMetadata> createPostureDeploymentOperationCallable()
Overrides
createPostureOperationCallable()
public OperationCallable<CreatePostureRequest,Posture,OperationMetadata> createPostureOperationCallable()
Overrides
deletePostureCallable()
public UnaryCallable<DeletePostureRequest,Operation> deletePostureCallable()
Overrides
deletePostureDeploymentCallable()
public UnaryCallable<DeletePostureDeploymentRequest,Operation> deletePostureDeploymentCallable()
Overrides
deletePostureDeploymentOperationCallable()
public OperationCallable<DeletePostureDeploymentRequest,Empty,OperationMetadata> deletePostureDeploymentOperationCallable()
Overrides
deletePostureOperationCallable()
public OperationCallable<DeletePostureRequest,Empty,OperationMetadata> deletePostureOperationCallable()
Overrides
public UnaryCallable<ExtractPostureRequest,Operation> extractPostureCallable()
Overrides
public OperationCallable<ExtractPostureRequest,Posture,OperationMetadata> extractPostureOperationCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getPostureCallable()
public UnaryCallable<GetPostureRequest,Posture> getPostureCallable()
Overrides
getPostureDeploymentCallable()
public UnaryCallable<GetPostureDeploymentRequest,PostureDeployment> getPostureDeploymentCallable()
Overrides
getPostureTemplateCallable()
public UnaryCallable<GetPostureTemplateRequest,PostureTemplate> getPostureTemplateCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,SecurityPostureClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
listPostureDeploymentsCallable()
public UnaryCallable<ListPostureDeploymentsRequest,ListPostureDeploymentsResponse> listPostureDeploymentsCallable()
Overrides
listPostureDeploymentsPagedCallable()
public UnaryCallable<ListPostureDeploymentsRequest,SecurityPostureClient.ListPostureDeploymentsPagedResponse> listPostureDeploymentsPagedCallable()
Overrides
listPostureRevisionsCallable()
public UnaryCallable<ListPostureRevisionsRequest,ListPostureRevisionsResponse> listPostureRevisionsCallable()
Overrides
listPostureRevisionsPagedCallable()
public UnaryCallable<ListPostureRevisionsRequest,SecurityPostureClient.ListPostureRevisionsPagedResponse> listPostureRevisionsPagedCallable()
Overrides
listPostureTemplatesCallable()
public UnaryCallable<ListPostureTemplatesRequest,ListPostureTemplatesResponse> listPostureTemplatesCallable()
Overrides
listPostureTemplatesPagedCallable()
public UnaryCallable<ListPostureTemplatesRequest,SecurityPostureClient.ListPostureTemplatesPagedResponse> listPostureTemplatesPagedCallable()
Overrides
listPosturesCallable()
public UnaryCallable<ListPosturesRequest,ListPosturesResponse> listPosturesCallable()
Overrides
listPosturesPagedCallable()
public UnaryCallable<ListPosturesRequest,SecurityPostureClient.ListPosturesPagedResponse> listPosturesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updatePostureCallable()
public UnaryCallable<UpdatePostureRequest,Operation> updatePostureCallable()
Overrides
updatePostureDeploymentCallable()
public UnaryCallable<UpdatePostureDeploymentRequest,Operation> updatePostureDeploymentCallable()
Overrides
updatePostureDeploymentOperationCallable()
public OperationCallable<UpdatePostureDeploymentRequest,PostureDeployment,OperationMetadata> updatePostureDeploymentOperationCallable()
Overrides
updatePostureOperationCallable()
public OperationCallable<UpdatePostureRequest,Posture,OperationMetadata> updatePostureOperationCallable()
Overrides