public static class Storage.BucketSourceOption extends Option<com.google.cloud.storage.UnifiedOpts.BucketSourceOpt>
Modifier and Type | Method and Description |
---|---|
static Storage.BucketSourceOption[] |
dedupe(Collection<Storage.BucketSourceOption> collection,
Storage.BucketSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BucketSourceOption[] |
dedupe(Storage.BucketSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BucketSourceOption[] |
dedupe(Storage.BucketSourceOption[] array,
Storage.BucketSourceOption... os)
Deduplicate any options which are the same parameter.
|
boolean |
equals(Object o)
Deprecated.
|
int |
hashCode()
Deprecated.
|
static Storage.BucketSourceOption |
metagenerationMatch(long metageneration)
Returns an option for bucket's metageneration match.
|
static Storage.BucketSourceOption |
metagenerationNotMatch(long metageneration)
Returns an option for bucket's metageneration mismatch.
|
static Storage.BucketSourceOption |
requestedPolicyVersion(long version) |
String |
toString()
Deprecated.
|
static Storage.BucketSourceOption |
userProject(@NonNull String userProject)
Returns an option for bucket's billing user project.
|
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BucketSourceOption metagenerationMatch(long metageneration)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BucketSourceOption metagenerationNotMatch(long metageneration)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BucketSourceOption userProject(@NonNull String userProject)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.BucketSourceOption requestedPolicyVersion(long version)
@BetaApi public static Storage.BucketSourceOption[] dedupe(Storage.BucketSourceOption... os)
os
will be the value included in the return.@BetaApi public static Storage.BucketSourceOption[] dedupe(Collection<Storage.BucketSourceOption> collection, Storage.BucketSourceOption... 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
.
@BetaApi public static Storage.BucketSourceOption[] dedupe(Storage.BucketSourceOption[] array, Storage.BucketSourceOption... 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.