@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonDiskStub extends DiskStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonDiskStub(DiskStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonDiskStub, using the given settings.
|
protected |
HttpJsonDiskStub(DiskStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDiskStub, using the given settings.
|
@InternalApi public static final ApiMethodDescriptor<AggregatedListDisksHttpRequest,DiskAggregatedList> aggregatedListDisksMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<CreateSnapshotDiskHttpRequest,Operation> createSnapshotDiskMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<DeleteDiskHttpRequest,Operation> deleteDiskMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetDiskHttpRequest,Disk> getDiskMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetIamPolicyDiskHttpRequest,Policy> getIamPolicyDiskMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<InsertDiskHttpRequest,Operation> insertDiskMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListDisksHttpRequest,DiskList> listDisksMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ResizeDiskHttpRequest,Operation> resizeDiskMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<SetIamPolicyDiskHttpRequest,Policy> setIamPolicyDiskMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<SetLabelsDiskHttpRequest,Operation> setLabelsDiskMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<TestIamPermissionsDiskHttpRequest,TestPermissionsResponse> testIamPermissionsDiskMethodDescriptor
protected HttpJsonDiskStub(DiskStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonDiskStub(DiskStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonDiskStub create(DiskStubSettings settings) throws IOException
IOException
public static final HttpJsonDiskStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonDiskStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<AggregatedListDisksHttpRequest,DiskClient.AggregatedListDisksPagedResponse> aggregatedListDisksPagedCallable()
aggregatedListDisksPagedCallable
in class DiskStub
@BetaApi public UnaryCallable<AggregatedListDisksHttpRequest,DiskAggregatedList> aggregatedListDisksCallable()
aggregatedListDisksCallable
in class DiskStub
@BetaApi public UnaryCallable<CreateSnapshotDiskHttpRequest,Operation> createSnapshotDiskCallable()
createSnapshotDiskCallable
in class DiskStub
@BetaApi public UnaryCallable<DeleteDiskHttpRequest,Operation> deleteDiskCallable()
deleteDiskCallable
in class DiskStub
@BetaApi public UnaryCallable<GetDiskHttpRequest,Disk> getDiskCallable()
getDiskCallable
in class DiskStub
@BetaApi public UnaryCallable<GetIamPolicyDiskHttpRequest,Policy> getIamPolicyDiskCallable()
getIamPolicyDiskCallable
in class DiskStub
@BetaApi public UnaryCallable<InsertDiskHttpRequest,Operation> insertDiskCallable()
insertDiskCallable
in class DiskStub
@BetaApi public UnaryCallable<ListDisksHttpRequest,DiskClient.ListDisksPagedResponse> listDisksPagedCallable()
listDisksPagedCallable
in class DiskStub
@BetaApi public UnaryCallable<ListDisksHttpRequest,DiskList> listDisksCallable()
listDisksCallable
in class DiskStub
@BetaApi public UnaryCallable<ResizeDiskHttpRequest,Operation> resizeDiskCallable()
resizeDiskCallable
in class DiskStub
@BetaApi public UnaryCallable<SetIamPolicyDiskHttpRequest,Policy> setIamPolicyDiskCallable()
setIamPolicyDiskCallable
in class DiskStub
@BetaApi public UnaryCallable<SetLabelsDiskHttpRequest,Operation> setLabelsDiskCallable()
setLabelsDiskCallable
in class DiskStub
@BetaApi public UnaryCallable<TestIamPermissionsDiskHttpRequest,TestPermissionsResponse> testIamPermissionsDiskCallable()
testIamPermissionsDiskCallable
in class DiskStub
public final void close()
close
in interface AutoCloseable
close
in class DiskStub
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.