Send feedback
Class StorageStub (2.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.12.0 keyboard_arrow_down
public abstract class StorageStub implements BackgroundResource
Base stub class for the Storage service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
StorageStub()
Methods
cancelResumableWriteCallable()
public UnaryCallable<CancelResumableWriteRequest , CancelResumableWriteResponse > cancelResumableWriteCallable ()
Returns
close()
public abstract void close ()
composeObjectCallable()
public UnaryCallable<ComposeObjectRequest , Object > composeObjectCallable ()
Returns
createBucketCallable()
public UnaryCallable<CreateBucketRequest , Bucket > createBucketCallable ()
Returns
createHmacKeyCallable()
public UnaryCallable<CreateHmacKeyRequest , CreateHmacKeyResponse > createHmacKeyCallable ()
Returns
createNotificationCallable()
public UnaryCallable<CreateNotificationRequest , Notification > createNotificationCallable ()
Returns
deleteBucketCallable()
public UnaryCallable<DeleteBucketRequest , Empty > deleteBucketCallable ()
Returns
deleteHmacKeyCallable()
public UnaryCallable<DeleteHmacKeyRequest , Empty > deleteHmacKeyCallable ()
Returns
deleteNotificationCallable()
public UnaryCallable<DeleteNotificationRequest , Empty > deleteNotificationCallable ()
Returns
deleteObjectCallable()
public UnaryCallable<DeleteObjectRequest , Empty > deleteObjectCallable ()
Returns
getBucketCallable()
public UnaryCallable<GetBucketRequest , Bucket > getBucketCallable ()
Returns
getHmacKeyCallable()
public UnaryCallable<GetHmacKeyRequest , HmacKeyMetadata > getHmacKeyCallable ()
Returns
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest , Policy > getIamPolicyCallable ()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
getNotificationCallable()
public UnaryCallable<GetNotificationRequest , Notification > getNotificationCallable ()
Returns
getObjectCallable()
public UnaryCallable<GetObjectRequest , Object > getObjectCallable ()
Returns
getServiceAccountCallable()
public UnaryCallable<GetServiceAccountRequest , ServiceAccount > getServiceAccountCallable ()
Returns
listBucketsCallable()
public UnaryCallable<ListBucketsRequest , ListBucketsResponse > listBucketsCallable ()
Returns
listBucketsPagedCallable()
public UnaryCallable<ListBucketsRequest , StorageClient . ListBucketsPagedResponse > listBucketsPagedCallable ()
Returns
listHmacKeysCallable()
public UnaryCallable<ListHmacKeysRequest , ListHmacKeysResponse > listHmacKeysCallable ()
Returns
listHmacKeysPagedCallable()
public UnaryCallable<ListHmacKeysRequest , StorageClient . ListHmacKeysPagedResponse > listHmacKeysPagedCallable ()
Returns
listNotificationsCallable()
public UnaryCallable<ListNotificationsRequest , ListNotificationsResponse > listNotificationsCallable ()
Returns
listNotificationsPagedCallable()
public UnaryCallable<ListNotificationsRequest , StorageClient . ListNotificationsPagedResponse > listNotificationsPagedCallable ()
Returns
listObjectsCallable()
public UnaryCallable<ListObjectsRequest , ListObjectsResponse > listObjectsCallable ()
Returns
listObjectsPagedCallable()
public UnaryCallable<ListObjectsRequest , StorageClient . ListObjectsPagedResponse > listObjectsPagedCallable ()
Returns
lockBucketRetentionPolicyCallable()
public UnaryCallable<LockBucketRetentionPolicyRequest , Bucket > lockBucketRetentionPolicyCallable ()
Returns
queryWriteStatusCallable()
public UnaryCallable<QueryWriteStatusRequest , QueryWriteStatusResponse > queryWriteStatusCallable ()
Returns
readObjectCallable()
public ServerStreamingCallable<ReadObjectRequest , ReadObjectResponse > readObjectCallable ()
Returns
rewriteObjectCallable()
public UnaryCallable<RewriteObjectRequest , RewriteResponse > rewriteObjectCallable ()
Returns
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest , Policy > setIamPolicyCallable ()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
startResumableWriteCallable()
public UnaryCallable<StartResumableWriteRequest , StartResumableWriteResponse > startResumableWriteCallable ()
Returns
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest , TestIamPermissionsResponse > testIamPermissionsCallable ()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
updateBucketCallable()
public UnaryCallable<UpdateBucketRequest , Bucket > updateBucketCallable ()
Returns
updateHmacKeyCallable()
public UnaryCallable<UpdateHmacKeyRequest , HmacKeyMetadata > updateHmacKeyCallable ()
Returns
updateObjectCallable()
public UnaryCallable<UpdateObjectRequest , Object > updateObjectCallable ()
Returns
writeObjectCallable()
public ClientStreamingCallable<WriteObjectRequest , WriteObjectResponse > writeObjectCallable ()
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]