@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonSnapshotStub extends SnapshotStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonSnapshotStub(SnapshotStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonSnapshotStub, using the given settings.
|
protected |
HttpJsonSnapshotStub(SnapshotStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSnapshotStub, using the given settings.
|
@InternalApi public static final ApiMethodDescriptor<DeleteSnapshotHttpRequest,Operation> deleteSnapshotMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetSnapshotHttpRequest,Snapshot> getSnapshotMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetIamPolicySnapshotHttpRequest,Policy> getIamPolicySnapshotMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListSnapshotsHttpRequest,SnapshotList> listSnapshotsMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<SetIamPolicySnapshotHttpRequest,Policy> setIamPolicySnapshotMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<SetLabelsSnapshotHttpRequest,Operation> setLabelsSnapshotMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<TestIamPermissionsSnapshotHttpRequest,TestPermissionsResponse> testIamPermissionsSnapshotMethodDescriptor
protected HttpJsonSnapshotStub(SnapshotStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonSnapshotStub(SnapshotStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonSnapshotStub create(SnapshotStubSettings settings) throws IOException
IOException
public static final HttpJsonSnapshotStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonSnapshotStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<DeleteSnapshotHttpRequest,Operation> deleteSnapshotCallable()
deleteSnapshotCallable
in class SnapshotStub
@BetaApi public UnaryCallable<GetSnapshotHttpRequest,Snapshot> getSnapshotCallable()
getSnapshotCallable
in class SnapshotStub
@BetaApi public UnaryCallable<GetIamPolicySnapshotHttpRequest,Policy> getIamPolicySnapshotCallable()
getIamPolicySnapshotCallable
in class SnapshotStub
@BetaApi public UnaryCallable<ListSnapshotsHttpRequest,SnapshotClient.ListSnapshotsPagedResponse> listSnapshotsPagedCallable()
listSnapshotsPagedCallable
in class SnapshotStub
@BetaApi public UnaryCallable<ListSnapshotsHttpRequest,SnapshotList> listSnapshotsCallable()
listSnapshotsCallable
in class SnapshotStub
@BetaApi public UnaryCallable<SetIamPolicySnapshotHttpRequest,Policy> setIamPolicySnapshotCallable()
setIamPolicySnapshotCallable
in class SnapshotStub
@BetaApi public UnaryCallable<SetLabelsSnapshotHttpRequest,Operation> setLabelsSnapshotCallable()
setLabelsSnapshotCallable
in class SnapshotStub
@BetaApi public UnaryCallable<TestIamPermissionsSnapshotHttpRequest,TestPermissionsResponse> testIamPermissionsSnapshotCallable()
testIamPermissionsSnapshotCallable
in class SnapshotStub
public final void close()
close
in interface AutoCloseable
close
in class SnapshotStub
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.