Class SnapshotsStub (1.6.0-beta)

public abstract class SnapshotsStub implements BackgroundResource

Base stub class for the Snapshots service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > SnapshotsStub

Implements

BackgroundResource

Constructors

SnapshotsStub()

public SnapshotsStub()

Methods

close()

public abstract void close()

deleteCallable()

public UnaryCallable<DeleteSnapshotRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteSnapshotRequest,Operation>

deleteOperationCallable()

public OperationCallable<DeleteSnapshotRequest,Operation,Operation> deleteOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteSnapshotRequest,Operation,Operation>

getCallable()

public UnaryCallable<GetSnapshotRequest,Snapshot> getCallable()
Returns
TypeDescription
UnaryCallable<GetSnapshotRequest,Snapshot>

getIamPolicyCallable()

public UnaryCallable<GetIamPolicySnapshotRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<GetIamPolicySnapshotRequest,Policy>

listCallable()

public UnaryCallable<ListSnapshotsRequest,SnapshotList> listCallable()
Returns
TypeDescription
UnaryCallable<ListSnapshotsRequest,SnapshotList>

listPagedCallable()

public UnaryCallable<ListSnapshotsRequest,SnapshotsClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSnapshotsRequest,ListPagedResponse>

setIamPolicyCallable()

public UnaryCallable<SetIamPolicySnapshotRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<SetIamPolicySnapshotRequest,Policy>

setLabelsCallable()

public UnaryCallable<SetLabelsSnapshotRequest,Operation> setLabelsCallable()
Returns
TypeDescription
UnaryCallable<SetLabelsSnapshotRequest,Operation>

setLabelsOperationCallable()

public OperationCallable<SetLabelsSnapshotRequest,Operation,Operation> setLabelsOperationCallable()
Returns
TypeDescription
OperationCallable<SetLabelsSnapshotRequest,Operation,Operation>

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsSnapshotRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<TestIamPermissionsSnapshotRequest,TestPermissionsResponse>