public static class Storage.CreateHmacKeyOption extends Option<com.google.cloud.storage.UnifiedOpts.HmacKeyTargetOpt>
Modifier and Type | Method and Description |
---|---|
static Storage.CreateHmacKeyOption[] |
dedupe(Collection<Storage.CreateHmacKeyOption> collection,
Storage.CreateHmacKeyOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.CreateHmacKeyOption[] |
dedupe(Storage.CreateHmacKeyOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.CreateHmacKeyOption[] |
dedupe(Storage.CreateHmacKeyOption[] array,
Storage.CreateHmacKeyOption... os)
Deduplicate any options which are the same parameter.
|
boolean |
equals(Object o)
Deprecated.
|
int |
hashCode()
Deprecated.
|
static Storage.CreateHmacKeyOption |
projectId(@NonNull String projectId)
Returns an option to specify the Project ID for this request.
|
String |
toString()
Deprecated.
|
static Storage.CreateHmacKeyOption |
userProject(@NonNull String userProject)
Returns an option to specify the project to be billed for this request.
|
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.CreateHmacKeyOption userProject(@NonNull String userProject)
@TransportCompatibility(value={HTTP,GRPC}) public static Storage.CreateHmacKeyOption projectId(@NonNull String projectId)
@BetaApi public static Storage.CreateHmacKeyOption[] dedupe(Storage.CreateHmacKeyOption... os)
os
will be the value included in the return.@BetaApi public static Storage.CreateHmacKeyOption[] dedupe(Collection<Storage.CreateHmacKeyOption> collection, Storage.CreateHmacKeyOption... 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.CreateHmacKeyOption[] dedupe(Storage.CreateHmacKeyOption[] array, Storage.CreateHmacKeyOption... 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.