@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonDiskStub, using the given settings.
|
protected |
HttpJsonDiskStub(DiskStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDiskStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AddResourcePoliciesDiskHttpRequest,Operation> addResourcePoliciesDiskMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListDisksHttpRequest,DiskAggregatedList> aggregatedListDisksMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<CreateSnapshotDiskHttpRequest,Operation> createSnapshotDiskMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteDiskHttpRequest,Operation> deleteDiskMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetDiskHttpRequest,Disk> getDiskMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetIamPolicyDiskHttpRequest,Policy> getIamPolicyDiskMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertDiskHttpRequest,Operation> insertDiskMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListDisksHttpRequest,DiskList> listDisksMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<RemoveResourcePoliciesDiskHttpRequest,Operation> removeResourcePoliciesDiskMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ResizeDiskHttpRequest,Operation> resizeDiskMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetIamPolicyDiskHttpRequest,Policy> setIamPolicyDiskMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetLabelsDiskHttpRequest,Operation> setLabelsDiskMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<TestIamPermissionsDiskHttpRequest,TestPermissionsResponse> testIamPermissionsDiskMethodDescriptor
protected HttpJsonDiskStub(DiskStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonDiskStub(DiskStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonDiskStub create(DiskStubSettings settings) throws IOException
IOException
public static final HttpJsonDiskStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonDiskStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AddResourcePoliciesDiskHttpRequest,Operation> addResourcePoliciesDiskCallable()
addResourcePoliciesDiskCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListDisksHttpRequest,DiskClient.AggregatedListDisksPagedResponse> aggregatedListDisksPagedCallable()
aggregatedListDisksPagedCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListDisksHttpRequest,DiskAggregatedList> aggregatedListDisksCallable()
aggregatedListDisksCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<CreateSnapshotDiskHttpRequest,Operation> createSnapshotDiskCallable()
createSnapshotDiskCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<DeleteDiskHttpRequest,Operation> deleteDiskCallable()
deleteDiskCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetDiskHttpRequest,Disk> getDiskCallable()
getDiskCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetIamPolicyDiskHttpRequest,Policy> getIamPolicyDiskCallable()
getIamPolicyDiskCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertDiskHttpRequest,Operation> insertDiskCallable()
insertDiskCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListDisksHttpRequest,DiskClient.ListDisksPagedResponse> listDisksPagedCallable()
listDisksPagedCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListDisksHttpRequest,DiskList> listDisksCallable()
listDisksCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<RemoveResourcePoliciesDiskHttpRequest,Operation> removeResourcePoliciesDiskCallable()
removeResourcePoliciesDiskCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ResizeDiskHttpRequest,Operation> resizeDiskCallable()
resizeDiskCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetIamPolicyDiskHttpRequest,Policy> setIamPolicyDiskCallable()
setIamPolicyDiskCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetLabelsDiskHttpRequest,Operation> setLabelsDiskCallable()
setLabelsDiskCallable
in class DiskStub
@BetaApi public com.google.api.gax.rpc.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.