@Generated(value="by gapic-generator-java")
See: Description
Class | Description |
---|---|
Bucket |
A bucket.
|
Bucket.Autoclass |
Configuration for a bucket's Autoclass feature.
|
Bucket.Autoclass.Builder |
Configuration for a bucket's Autoclass feature.
|
Bucket.Billing |
Billing properties of a bucket.
|
Bucket.Billing.Builder |
Billing properties of a bucket.
|
Bucket.Builder |
A bucket.
|
Bucket.Cors |
Cross-Origin Response sharing (CORS) properties for a bucket.
|
Bucket.Cors.Builder |
Cross-Origin Response sharing (CORS) properties for a bucket.
|
Bucket.CustomPlacementConfig |
Configuration for Custom Dual Regions.
|
Bucket.CustomPlacementConfig.Builder |
Configuration for Custom Dual Regions.
|
Bucket.Encryption |
Encryption properties of a bucket.
|
Bucket.Encryption.Builder |
Encryption properties of a bucket.
|
Bucket.IamConfig |
Bucket restriction options.
|
Bucket.IamConfig.Builder |
Bucket restriction options.
|
Bucket.IamConfig.UniformBucketLevelAccess |
Settings for Uniform Bucket level access.
|
Bucket.IamConfig.UniformBucketLevelAccess.Builder |
Settings for Uniform Bucket level access.
|
Bucket.Lifecycle |
Lifecycle properties of a bucket.
|
Bucket.Lifecycle.Builder |
Lifecycle properties of a bucket.
|
Bucket.Lifecycle.Rule |
A lifecycle Rule, combining an action to take on an object and a
condition which will trigger that action.
|
Bucket.Lifecycle.Rule.Action |
An action to take on an object.
|
Bucket.Lifecycle.Rule.Action.Builder |
An action to take on an object.
|
Bucket.Lifecycle.Rule.Builder |
A lifecycle Rule, combining an action to take on an object and a
condition which will trigger that action.
|
Bucket.Lifecycle.Rule.Condition |
A condition of an object which triggers some action.
|
Bucket.Lifecycle.Rule.Condition.Builder |
A condition of an object which triggers some action.
|
Bucket.Logging |
Logging-related properties of a bucket.
|
Bucket.Logging.Builder |
Logging-related properties of a bucket.
|
Bucket.RetentionPolicy |
Retention policy properties of a bucket.
|
Bucket.RetentionPolicy.Builder |
Retention policy properties of a bucket.
|
Bucket.Versioning |
Properties of a bucket related to versioning.
|
Bucket.Versioning.Builder |
Properties of a bucket related to versioning.
|
Bucket.Website |
Properties of a bucket related to accessing the contents as a static
website.
|
Bucket.Website.Builder |
Properties of a bucket related to accessing the contents as a static
website.
|
BucketAccessControl |
An access-control entry.
|
BucketAccessControl.Builder |
An access-control entry.
|
BucketName | |
BucketName.Builder |
Builder for projects/{project}/buckets/{bucket}.
|
CancelResumableWriteRequest |
Message for canceling an in-progress resumable upload.
|
CancelResumableWriteRequest.Builder |
Message for canceling an in-progress resumable upload.
|
CancelResumableWriteResponse |
Empty response message for canceling an in-progress resumable upload, will be
extended as needed.
|
CancelResumableWriteResponse.Builder |
Empty response message for canceling an in-progress resumable upload, will be
extended as needed.
|
ChecksummedData |
Message used to convey content being read or written, along with an optional
checksum.
|
ChecksummedData.Builder |
Message used to convey content being read or written, along with an optional
checksum.
|
CommonObjectRequestParams |
Parameters that can be passed to any object request.
|
CommonObjectRequestParams.Builder |
Parameters that can be passed to any object request.
|
ComposeObjectRequest |
Request message for ComposeObject.
|
ComposeObjectRequest.Builder |
Request message for ComposeObject.
|
ComposeObjectRequest.SourceObject |
Description of a source object for a composition request.
|
ComposeObjectRequest.SourceObject.Builder |
Description of a source object for a composition request.
|
ComposeObjectRequest.SourceObject.ObjectPreconditions |
Preconditions for a source object of a composition request.
|
ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder |
Preconditions for a source object of a composition request.
|
ContentRange |
Specifies a requested range of bytes to download.
|
ContentRange.Builder |
Specifies a requested range of bytes to download.
|
CreateBucketRequest |
Request message for CreateBucket.
|
CreateBucketRequest.Builder |
Request message for CreateBucket.
|
CreateHmacKeyRequest |
Request message for CreateHmacKey.
|
CreateHmacKeyRequest.Builder |
Request message for CreateHmacKey.
|
CreateHmacKeyResponse |
Create hmac response.
|
CreateHmacKeyResponse.Builder |
Create hmac response.
|
CreateNotificationConfigRequest |
Request message for CreateNotificationConfig.
|
CreateNotificationConfigRequest.Builder |
Request message for CreateNotificationConfig.
|
CryptoKeyName | |
CryptoKeyName.Builder |
Builder for
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
|
CustomerEncryption |
Describes the Customer-Supplied Encryption Key mechanism used to store an
Object's data at rest.
|
CustomerEncryption.Builder |
Describes the Customer-Supplied Encryption Key mechanism used to store an
Object's data at rest.
|
DeleteBucketRequest |
Request message for DeleteBucket.
|
DeleteBucketRequest.Builder |
Request message for DeleteBucket.
|
DeleteHmacKeyRequest |
Request object to delete a given HMAC key.
|
DeleteHmacKeyRequest.Builder |
Request object to delete a given HMAC key.
|
DeleteNotificationConfigRequest |
Request message for DeleteNotificationConfig.
|
DeleteNotificationConfigRequest.Builder |
Request message for DeleteNotificationConfig.
|
DeleteObjectRequest |
Message for deleting an object.
|
DeleteObjectRequest.Builder |
Message for deleting an object.
|
GetBucketRequest |
Request message for GetBucket.
|
GetBucketRequest.Builder |
Request message for GetBucket.
|
GetHmacKeyRequest |
Request object to get metadata on a given HMAC key.
|
GetHmacKeyRequest.Builder |
Request object to get metadata on a given HMAC key.
|
GetNotificationConfigRequest |
Request message for GetNotificationConfig.
|
GetNotificationConfigRequest.Builder |
Request message for GetNotificationConfig.
|
GetObjectRequest |
Request message for GetObject.
|
GetObjectRequest.Builder |
Request message for GetObject.
|
GetServiceAccountRequest |
Request message for GetServiceAccount.
|
GetServiceAccountRequest.Builder |
Request message for GetServiceAccount.
|
HmacKeyMetadata |
Hmac Key Metadata, which includes all information other than the secret.
|
HmacKeyMetadata.Builder |
Hmac Key Metadata, which includes all information other than the secret.
|
ListBucketsRequest |
Request message for ListBuckets.
|
ListBucketsRequest.Builder |
Request message for ListBuckets.
|
ListBucketsResponse |
The result of a call to Buckets.ListBuckets
|
ListBucketsResponse.Builder |
The result of a call to Buckets.ListBuckets
|
ListHmacKeysRequest |
Request to fetch a list of HMAC keys under a given project.
|
ListHmacKeysRequest.Builder |
Request to fetch a list of HMAC keys under a given project.
|
ListHmacKeysResponse |
Hmac key list response with next page information.
|
ListHmacKeysResponse.Builder |
Hmac key list response with next page information.
|
ListNotificationConfigsRequest |
Request message for ListNotifications.
|
ListNotificationConfigsRequest.Builder |
Request message for ListNotifications.
|
ListNotificationConfigsResponse |
The result of a call to ListNotificationConfigs
|
ListNotificationConfigsResponse.Builder |
The result of a call to ListNotificationConfigs
|
ListObjectsRequest |
Request message for ListObjects.
|
ListObjectsRequest.Builder |
Request message for ListObjects.
|
ListObjectsResponse |
The result of a call to Objects.ListObjects
|
ListObjectsResponse.Builder |
The result of a call to Objects.ListObjects
|
LockBucketRetentionPolicyRequest |
Request message for LockBucketRetentionPolicyRequest.
|
LockBucketRetentionPolicyRequest.Builder |
Request message for LockBucketRetentionPolicyRequest.
|
NotificationConfig |
A directive to publish Pub/Sub notifications upon changes to a bucket.
|
NotificationConfig.Builder |
A directive to publish Pub/Sub notifications upon changes to a bucket.
|
NotificationConfigName | |
NotificationConfigName.Builder |
Builder for projects/{project}/buckets/{bucket}/notificationConfigs/{notification_config}.
|
Object |
An object.
|
Object.Builder |
An object.
|
ObjectAccessControl |
An access-control entry.
|
ObjectAccessControl.Builder |
An access-control entry.
|
ObjectChecksums |
Message used for storing full (not subrange) object checksums.
|
ObjectChecksums.Builder |
Message used for storing full (not subrange) object checksums.
|
Owner |
The owner of a specific resource.
|
Owner.Builder |
The owner of a specific resource.
|
ProjectName | |
ProjectName.Builder |
Builder for projects/{project}.
|
ProjectTeam |
Represents the Viewers, Editors, or Owners of a given project.
|
ProjectTeam.Builder |
Represents the Viewers, Editors, or Owners of a given project.
|
QueryWriteStatusRequest |
Request object for `QueryWriteStatus`.
|
QueryWriteStatusRequest.Builder |
Request object for `QueryWriteStatus`.
|
QueryWriteStatusResponse |
Response object for `QueryWriteStatus`.
|
QueryWriteStatusResponse.Builder |
Response object for `QueryWriteStatus`.
|
ReadObjectRequest |
Request message for ReadObject.
|
ReadObjectRequest.Builder |
Request message for ReadObject.
|
ReadObjectResponse |
Response message for ReadObject.
|
ReadObjectResponse.Builder |
Response message for ReadObject.
|
RewriteObjectRequest |
Request message for RewriteObject.
|
RewriteObjectRequest.Builder |
Request message for RewriteObject.
|
RewriteResponse |
A rewrite response.
|
RewriteResponse.Builder |
A rewrite response.
|
ServiceAccount |
A service account, owned by Cloud Storage, which may be used when taking
action on behalf of a given project, for example to publish Pub/Sub
notifications or to retrieve security keys.
|
ServiceAccount.Builder |
A service account, owned by Cloud Storage, which may be used when taking
action on behalf of a given project, for example to publish Pub/Sub
notifications or to retrieve security keys.
|
ServiceConstants |
Shared constants.
|
ServiceConstants.Builder |
Shared constants.
|
StartResumableWriteRequest |
Request message StartResumableWrite.
|
StartResumableWriteRequest.Builder |
Request message StartResumableWrite.
|
StartResumableWriteResponse |
Response object for `StartResumableWrite`.
|
StartResumableWriteResponse.Builder |
Response object for `StartResumableWrite`.
|
StorageClient |
Service Description: ## API Overview and Naming Syntax
|
StorageClient.ListBucketsFixedSizeCollection | |
StorageClient.ListBucketsPage | |
StorageClient.ListBucketsPagedResponse | |
StorageClient.ListHmacKeysFixedSizeCollection | |
StorageClient.ListHmacKeysPage | |
StorageClient.ListHmacKeysPagedResponse | |
StorageClient.ListNotificationConfigsFixedSizeCollection | |
StorageClient.ListNotificationConfigsPage | |
StorageClient.ListNotificationConfigsPagedResponse | |
StorageClient.ListObjectsFixedSizeCollection | |
StorageClient.ListObjectsPage | |
StorageClient.ListObjectsPagedResponse | |
StorageGrpc |
## API Overview and Naming Syntax
The Cloud Storage gRPC API allows applications to read and write data through
the abstractions of buckets and objects.
|
StorageGrpc.StorageBlockingStub |
A stub to allow clients to do synchronous rpc calls to service Storage.
|
StorageGrpc.StorageFutureStub |
A stub to allow clients to do ListenableFuture-style rpc calls to service Storage.
|
StorageGrpc.StorageImplBase |
Base class for the server implementation of the service Storage.
|
StorageGrpc.StorageStub |
A stub to allow clients to do asynchronous rpc calls to service Storage.
|
StorageProto | |
StorageSettings |
Settings class to configure an instance of
StorageClient . |
StorageSettings.Builder |
Builder for StorageSettings.
|
UpdateBucketRequest |
Request for UpdateBucket method.
|
UpdateBucketRequest.Builder |
Request for UpdateBucket method.
|
UpdateHmacKeyRequest |
Request object to update an HMAC key state.
|
UpdateHmacKeyRequest.Builder |
Request object to update an HMAC key state.
|
UpdateObjectRequest |
Request message for UpdateObject.
|
UpdateObjectRequest.Builder |
Request message for UpdateObject.
|
WriteObjectRequest |
Request message for WriteObject.
|
WriteObjectRequest.Builder |
Request message for WriteObject.
|
WriteObjectResponse |
Response message for WriteObject.
|
WriteObjectResponse.Builder |
Response message for WriteObject.
|
WriteObjectSpec |
Describes an attempt to insert an object, possibly over multiple requests.
|
WriteObjectSpec.Builder |
Describes an attempt to insert an object, possibly over multiple requests.
|
Enum | Description |
---|---|
QueryWriteStatusResponse.WriteStatusCase | |
ServiceConstants.Values |
A collection of constant values meaningful to the Storage API.
|
WriteObjectRequest.DataCase | |
WriteObjectRequest.FirstMessageCase | |
WriteObjectResponse.WriteStatusCase |
The interfaces provided are listed below, along with usage samples.
======================= StorageClient =======================
Service Description: ## API Overview and Naming Syntax
The Cloud Storage gRPC API allows applications to read and write data through the abstractions of buckets and objects. For a description of these abstractions please see https://cloud.google.com/storage/docs.
Resources are named as follows: - Projects are referred to as they are defined by the Resource Manager API, using strings like `projects/123456` or `projects/my-string-id`. - Buckets are named using string names of the form: `projects/{project}/buckets/{bucket}` For globally unique buckets, `_` may be substituted for the project. - Objects are uniquely identified by their name along with the name of the bucket they belong to, as separate strings in this API. For example:
ReadObjectRequest { bucket: 'projects/_/buckets/my-bucket' object: 'my-object' } Note that object names can contain `/` characters, which are treated as any other character (no special directory semantics).
Sample for StorageClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (StorageClient storageClient = StorageClient.create()) {
BucketName name = BucketName.of("[PROJECT]", "[BUCKET]");
storageClient.deleteBucket(name);
}
Copyright © 2023 Google LLC. All rights reserved.