public static class Storage.BucketTargetOption extends Option<com.google.cloud.storage.UnifiedOpts.BucketTargetOpt>
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Deprecated.
|
int |
hashCode()
Deprecated.
|
static Storage.BucketTargetOption |
metagenerationMatch()
Returns an option for bucket's metageneration match.
|
static Storage.BucketTargetOption |
metagenerationNotMatch()
Returns an option for bucket's metageneration mismatch.
|
static Storage.BucketTargetOption |
predefinedAcl(@NonNull Storage.PredefinedAcl acl)
Returns an option for specifying bucket's predefined ACL configuration.
|
static Storage.BucketTargetOption |
predefinedDefaultObjectAcl(@NonNull Storage.PredefinedAcl acl)
Returns an option for specifying bucket's default ACL configuration for blobs.
|
static Storage.BucketTargetOption |
projection(@NonNull String projection)
Returns an option to define the projection in the API request.
|
String |
toString()
Deprecated.
|
static Storage.BucketTargetOption |
userProject(@NonNull String userProject)
Returns an option to define the billing user project.
|
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BucketTargetOption predefinedAcl(@NonNull Storage.PredefinedAcl acl)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BucketTargetOption predefinedDefaultObjectAcl(@NonNull Storage.PredefinedAcl acl)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BucketTargetOption metagenerationMatch()
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BucketTargetOption metagenerationNotMatch()
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BucketTargetOption userProject(@NonNull String userProject)
@TransportCompatibility(value=HTTP) public static Storage.BucketTargetOption projection(@NonNull String projection)
Copyright © 2023 Google LLC. All rights reserved.