@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 and Type | Field and Description |
---|---|
static com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteSnapshotHttpRequest,Operation> |
deleteSnapshotMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetIamPolicySnapshotHttpRequest,Policy> |
getIamPolicySnapshotMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetSnapshotHttpRequest,Snapshot> |
getSnapshotMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListSnapshotsHttpRequest,SnapshotList> |
listSnapshotsMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<SetIamPolicySnapshotHttpRequest,Policy> |
setIamPolicySnapshotMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<SetLabelsSnapshotHttpRequest,Operation> |
setLabelsSnapshotMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<TestIamPermissionsSnapshotHttpRequest,TestPermissionsResponse> |
testIamPermissionsSnapshotMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonSnapshotStub(SnapshotStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonSnapshotStub, using the given settings.
|
protected |
HttpJsonSnapshotStub(SnapshotStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSnapshotStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteSnapshotHttpRequest,Operation> deleteSnapshotMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetSnapshotHttpRequest,Snapshot> getSnapshotMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetIamPolicySnapshotHttpRequest,Policy> getIamPolicySnapshotMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListSnapshotsHttpRequest,SnapshotList> listSnapshotsMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetIamPolicySnapshotHttpRequest,Policy> setIamPolicySnapshotMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetLabelsSnapshotHttpRequest,Operation> setLabelsSnapshotMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<TestIamPermissionsSnapshotHttpRequest,TestPermissionsResponse> testIamPermissionsSnapshotMethodDescriptor
protected HttpJsonSnapshotStub(SnapshotStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonSnapshotStub(SnapshotStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonSnapshotStub create(SnapshotStubSettings settings) throws IOException
IOException
public static final HttpJsonSnapshotStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonSnapshotStub 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<DeleteSnapshotHttpRequest,Operation> deleteSnapshotCallable()
deleteSnapshotCallable
in class SnapshotStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetSnapshotHttpRequest,Snapshot> getSnapshotCallable()
getSnapshotCallable
in class SnapshotStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetIamPolicySnapshotHttpRequest,Policy> getIamPolicySnapshotCallable()
getIamPolicySnapshotCallable
in class SnapshotStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListSnapshotsHttpRequest,SnapshotClient.ListSnapshotsPagedResponse> listSnapshotsPagedCallable()
listSnapshotsPagedCallable
in class SnapshotStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListSnapshotsHttpRequest,SnapshotList> listSnapshotsCallable()
listSnapshotsCallable
in class SnapshotStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetIamPolicySnapshotHttpRequest,Policy> setIamPolicySnapshotCallable()
setIamPolicySnapshotCallable
in class SnapshotStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetLabelsSnapshotHttpRequest,Operation> setLabelsSnapshotCallable()
setLabelsSnapshotCallable
in class SnapshotStub
@BetaApi public com.google.api.gax.rpc.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.