Class HttpJsonBackendBucketsStub (1.68.0)

public class HttpJsonBackendBucketsStub extends BackendBucketsStub

REST stub implementation for the BackendBuckets service API.

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

Inheritance

java.lang.Object > BackendBucketsStub > HttpJsonBackendBucketsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonBackendBucketsStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonBackendBucketsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonBackendBucketsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonBackendBucketsStub
Exceptions
Type Description
IOException

create(BackendBucketsStubSettings settings)

public static final HttpJsonBackendBucketsStub create(BackendBucketsStubSettings settings)
Parameter
Name Description
settings BackendBucketsStubSettings
Returns
Type Description
HttpJsonBackendBucketsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, ClientContext clientContext)

protected HttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonBackendBucketsStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings BackendBucketsStubSettings
clientContext ClientContext

HttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonBackendBucketsStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings BackendBucketsStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

addSignedUrlKeyCallable()

public UnaryCallable<AddSignedUrlKeyBackendBucketRequest,Operation> addSignedUrlKeyCallable()
Overrides

addSignedUrlKeyOperationCallable()

public OperationCallable<AddSignedUrlKeyBackendBucketRequest,Operation,Operation> addSignedUrlKeyOperationCallable()
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteBackendBucketRequest,Operation> deleteCallable()
Overrides

deleteOperationCallable()

public OperationCallable<DeleteBackendBucketRequest,Operation,Operation> deleteOperationCallable()
Overrides

deleteSignedUrlKeyCallable()

public UnaryCallable<DeleteSignedUrlKeyBackendBucketRequest,Operation> deleteSignedUrlKeyCallable()
Overrides

deleteSignedUrlKeyOperationCallable()

public OperationCallable<DeleteSignedUrlKeyBackendBucketRequest,Operation,Operation> deleteSignedUrlKeyOperationCallable()
Overrides

getCallable()

public UnaryCallable<GetBackendBucketRequest,BackendBucket> getCallable()
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyBackendBucketRequest,Policy> getIamPolicyCallable()
Overrides

insertCallable()

public UnaryCallable<InsertBackendBucketRequest,Operation> insertCallable()
Overrides

insertOperationCallable()

public OperationCallable<InsertBackendBucketRequest,Operation,Operation> insertOperationCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListBackendBucketsRequest,BackendBucketList> listCallable()
Overrides

listPagedCallable()

public UnaryCallable<ListBackendBucketsRequest,BackendBucketsClient.ListPagedResponse> listPagedCallable()
Overrides

patchCallable()

public UnaryCallable<PatchBackendBucketRequest,Operation> patchCallable()
Overrides

patchOperationCallable()

public OperationCallable<PatchBackendBucketRequest,Operation,Operation> patchOperationCallable()
Overrides

setEdgeSecurityPolicyCallable()

public UnaryCallable<SetEdgeSecurityPolicyBackendBucketRequest,Operation> setEdgeSecurityPolicyCallable()
Overrides

setEdgeSecurityPolicyOperationCallable()

public OperationCallable<SetEdgeSecurityPolicyBackendBucketRequest,Operation,Operation> setEdgeSecurityPolicyOperationCallable()
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyBackendBucketRequest,Policy> setIamPolicyCallable()
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsBackendBucketRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides

updateCallable()

public UnaryCallable<UpdateBackendBucketRequest,Operation> updateCallable()
Overrides

updateOperationCallable()

public OperationCallable<UpdateBackendBucketRequest,Operation,Operation> updateOperationCallable()
Overrides