Send feedback
Class StorageStub (2.44.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest 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
bidiWriteObjectCallable()
public BidiStreamingCallable<BidiWriteObjectRequest , BidiWriteObjectResponse > bidiWriteObjectCallable ()
cancelResumableWriteCallable()
public UnaryCallable<CancelResumableWriteRequest , CancelResumableWriteResponse > cancelResumableWriteCallable ()
close()
public abstract void close ()
composeObjectCallable()
public UnaryCallable<ComposeObjectRequest , Object > composeObjectCallable ()
createBucketCallable()
public UnaryCallable<CreateBucketRequest , Bucket > createBucketCallable ()
createHmacKeyCallable() (deprecated)
public UnaryCallable<CreateHmacKeyRequest , CreateHmacKeyResponse > createHmacKeyCallable ()
createNotificationConfigCallable() (deprecated)
public UnaryCallable<CreateNotificationConfigRequest , NotificationConfig > createNotificationConfigCallable ()
deleteBucketCallable()
public UnaryCallable<DeleteBucketRequest , Empty > deleteBucketCallable ()
deleteHmacKeyCallable() (deprecated)
public UnaryCallable<DeleteHmacKeyRequest , Empty > deleteHmacKeyCallable ()
deleteNotificationConfigCallable() (deprecated)
public UnaryCallable<DeleteNotificationConfigRequest , Empty > deleteNotificationConfigCallable ()
deleteObjectCallable()
public UnaryCallable<DeleteObjectRequest , Empty > deleteObjectCallable ()
getBucketCallable()
public UnaryCallable<GetBucketRequest , Bucket > getBucketCallable ()
getHmacKeyCallable() (deprecated)
public UnaryCallable<GetHmacKeyRequest , HmacKeyMetadata > getHmacKeyCallable ()
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest , Policy > getIamPolicyCallable ()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
getNotificationConfigCallable() (deprecated)
public UnaryCallable<GetNotificationConfigRequest , NotificationConfig > getNotificationConfigCallable ()
getObjectCallable()
public UnaryCallable<GetObjectRequest , Object > getObjectCallable ()
getServiceAccountCallable() (deprecated)
public UnaryCallable<GetServiceAccountRequest , ServiceAccount > getServiceAccountCallable ()
listBucketsCallable()
public UnaryCallable<ListBucketsRequest , ListBucketsResponse > listBucketsCallable ()
listBucketsPagedCallable()
public UnaryCallable<ListBucketsRequest , StorageClient . ListBucketsPagedResponse > listBucketsPagedCallable ()
listHmacKeysCallable() (deprecated)
public UnaryCallable<ListHmacKeysRequest , ListHmacKeysResponse > listHmacKeysCallable ()
listHmacKeysPagedCallable() (deprecated)
public UnaryCallable<ListHmacKeysRequest , StorageClient . ListHmacKeysPagedResponse > listHmacKeysPagedCallable ()
listNotificationConfigsCallable() (deprecated)
public UnaryCallable<ListNotificationConfigsRequest , ListNotificationConfigsResponse > listNotificationConfigsCallable ()
listNotificationConfigsPagedCallable() (deprecated)
public UnaryCallable<ListNotificationConfigsRequest , StorageClient . ListNotificationConfigsPagedResponse > listNotificationConfigsPagedCallable ()
listObjectsCallable()
public UnaryCallable<ListObjectsRequest , ListObjectsResponse > listObjectsCallable ()
listObjectsPagedCallable()
public UnaryCallable<ListObjectsRequest , StorageClient . ListObjectsPagedResponse > listObjectsPagedCallable ()
lockBucketRetentionPolicyCallable()
public UnaryCallable<LockBucketRetentionPolicyRequest , Bucket > lockBucketRetentionPolicyCallable ()
queryWriteStatusCallable()
public UnaryCallable<QueryWriteStatusRequest , QueryWriteStatusResponse > queryWriteStatusCallable ()
readObjectCallable()
public ServerStreamingCallable<ReadObjectRequest , ReadObjectResponse > readObjectCallable ()
restoreObjectCallable()
public UnaryCallable<RestoreObjectRequest , Object > restoreObjectCallable ()
rewriteObjectCallable()
public UnaryCallable<RewriteObjectRequest , RewriteResponse > rewriteObjectCallable ()
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 ()
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 ()
updateHmacKeyCallable() (deprecated)
public UnaryCallable<UpdateHmacKeyRequest , HmacKeyMetadata > updateHmacKeyCallable ()
updateObjectCallable()
public UnaryCallable<UpdateObjectRequest , Object > updateObjectCallable ()
writeObjectCallable()
public ClientStreamingCallable<WriteObjectRequest , WriteObjectResponse > writeObjectCallable ()
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-01 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-01 UTC."],[],[]]