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