public static class Storage.BucketTargetOption extends Option<com.google.cloud.storage.UnifiedOpts.BucketTargetOpt>
Modifier and Type | Method and Description |
---|---|
static Storage.BucketTargetOption[] |
dedupe(Collection<Storage.BucketTargetOption> collection,
Storage.BucketTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BucketTargetOption[] |
dedupe(Storage.BucketTargetOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BucketTargetOption[] |
dedupe(Storage.BucketTargetOption[] array,
Storage.BucketTargetOption... os)
Deduplicate any options which are the same parameter.
|
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)
@BetaApi public static Storage.BucketTargetOption[] dedupe(Storage.BucketTargetOption... os)
os
will be the value included in the return.public static Storage.BucketTargetOption[] dedupe(Collection<Storage.BucketTargetOption> collection, Storage.BucketTargetOption... os)
The value which comes last in collection
and os
will be the value included
in the return. All options from os
will override their counterparts in collection
.
public static Storage.BucketTargetOption[] dedupe(Storage.BucketTargetOption[] array, Storage.BucketTargetOption... os)
The value which comes last in collection
and os
will be the value included
in the return. All options from os
will override their counterparts in collection
.
Copyright © 2023 Google LLC. All rights reserved.