- 1.62.0 (latest)
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public class HttpJsonDisksStub extends DisksStub
REST stub implementation for the Disks service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonDisksStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonDisksStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDisksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonDisksStub |
Type | Description |
IOException |
create(DisksStubSettings settings)
public static final HttpJsonDisksStub create(DisksStubSettings settings)
Name | Description |
settings | DisksStubSettings |
Type | Description |
HttpJsonDisksStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonDisksStub(DisksStubSettings settings, ClientContext clientContext)
protected HttpJsonDisksStub(DisksStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonDisksStub, 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.
Name | Description |
settings | DisksStubSettings |
clientContext | ClientContext |
HttpJsonDisksStub(DisksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonDisksStub(DisksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDisksStub, 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.
Name | Description |
settings | DisksStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
addResourcePoliciesCallable()
public UnaryCallable<AddResourcePoliciesDiskRequest,Operation> addResourcePoliciesCallable()
Type | Description |
UnaryCallable<AddResourcePoliciesDiskRequest,Operation> |
addResourcePoliciesOperationCallable()
public OperationCallable<AddResourcePoliciesDiskRequest,Operation,Operation> addResourcePoliciesOperationCallable()
Type | Description |
OperationCallable<AddResourcePoliciesDiskRequest,Operation,Operation> |
aggregatedListCallable()
public UnaryCallable<AggregatedListDisksRequest,DiskAggregatedList> aggregatedListCallable()
Type | Description |
UnaryCallable<AggregatedListDisksRequest,DiskAggregatedList> |
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListDisksRequest,DisksClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Type | Description |
UnaryCallable<AggregatedListDisksRequest,AggregatedListPagedResponse> |
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
close()
public final void close()
createSnapshotCallable()
public UnaryCallable<CreateSnapshotDiskRequest,Operation> createSnapshotCallable()
Type | Description |
UnaryCallable<CreateSnapshotDiskRequest,Operation> |
createSnapshotOperationCallable()
public OperationCallable<CreateSnapshotDiskRequest,Operation,Operation> createSnapshotOperationCallable()
Type | Description |
OperationCallable<CreateSnapshotDiskRequest,Operation,Operation> |
deleteCallable()
public UnaryCallable<DeleteDiskRequest,Operation> deleteCallable()
Type | Description |
UnaryCallable<DeleteDiskRequest,Operation> |
deleteOperationCallable()
public OperationCallable<DeleteDiskRequest,Operation,Operation> deleteOperationCallable()
Type | Description |
OperationCallable<DeleteDiskRequest,Operation,Operation> |
getCallable()
public UnaryCallable<GetDiskRequest,Disk> getCallable()
Type | Description |
UnaryCallable<GetDiskRequest,Disk> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyDiskRequest,Policy> getIamPolicyCallable()
Type | Description |
UnaryCallable<GetIamPolicyDiskRequest,Policy> |
insertCallable()
public UnaryCallable<InsertDiskRequest,Operation> insertCallable()
Type | Description |
UnaryCallable<InsertDiskRequest,Operation> |
insertOperationCallable()
public OperationCallable<InsertDiskRequest,Operation,Operation> insertOperationCallable()
Type | Description |
OperationCallable<InsertDiskRequest,Operation,Operation> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listCallable()
public UnaryCallable<ListDisksRequest,DiskList> listCallable()
Type | Description |
UnaryCallable<ListDisksRequest,DiskList> |
listPagedCallable()
public UnaryCallable<ListDisksRequest,DisksClient.ListPagedResponse> listPagedCallable()
Type | Description |
UnaryCallable<ListDisksRequest,ListPagedResponse> |
removeResourcePoliciesCallable()
public UnaryCallable<RemoveResourcePoliciesDiskRequest,Operation> removeResourcePoliciesCallable()
Type | Description |
UnaryCallable<RemoveResourcePoliciesDiskRequest,Operation> |
removeResourcePoliciesOperationCallable()
public OperationCallable<RemoveResourcePoliciesDiskRequest,Operation,Operation> removeResourcePoliciesOperationCallable()
Type | Description |
OperationCallable<RemoveResourcePoliciesDiskRequest,Operation,Operation> |
resizeCallable()
public UnaryCallable<ResizeDiskRequest,Operation> resizeCallable()
Type | Description |
UnaryCallable<ResizeDiskRequest,Operation> |
resizeOperationCallable()
public OperationCallable<ResizeDiskRequest,Operation,Operation> resizeOperationCallable()
Type | Description |
OperationCallable<ResizeDiskRequest,Operation,Operation> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyDiskRequest,Policy> setIamPolicyCallable()
Type | Description |
UnaryCallable<SetIamPolicyDiskRequest,Policy> |
setLabelsCallable()
public UnaryCallable<SetLabelsDiskRequest,Operation> setLabelsCallable()
Type | Description |
UnaryCallable<SetLabelsDiskRequest,Operation> |
setLabelsOperationCallable()
public OperationCallable<SetLabelsDiskRequest,Operation,Operation> setLabelsOperationCallable()
Type | Description |
OperationCallable<SetLabelsDiskRequest,Operation,Operation> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsDiskRequest,TestPermissionsResponse> testIamPermissionsCallable()
Type | Description |
UnaryCallable<TestIamPermissionsDiskRequest,TestPermissionsResponse> |