Package | Description |
---|---|
com.google.storage.v2 |
A client to Cloud Storage API
|
Modifier and Type | Method and Description |
---|---|
ProjectName |
ProjectName.Builder.build() |
static ProjectName |
ProjectName.of(String project) |
static ProjectName |
ProjectName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<ProjectName> |
ProjectName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
Bucket |
StorageClient.createBucket(ProjectName parent,
Bucket bucket,
String bucketId)
Creates a new bucket.
|
CreateHmacKeyResponse |
StorageClient.createHmacKey(ProjectName project,
String serviceAccountEmail)
Creates a new HMAC key for the given service account.
|
void |
StorageClient.deleteHmacKey(String accessId,
ProjectName project)
Deletes a given HMAC key.
|
HmacKeyMetadata |
StorageClient.getHmacKey(String accessId,
ProjectName project)
Gets an existing HMAC key metadata for the given id.
|
ServiceAccount |
StorageClient.getServiceAccount(ProjectName project)
Retrieves the name of a project's Google Cloud Storage service account.
|
StorageClient.ListBucketsPagedResponse |
StorageClient.listBuckets(ProjectName parent)
Retrieves a list of buckets for a given project.
|
StorageClient.ListHmacKeysPagedResponse |
StorageClient.listHmacKeys(ProjectName project)
Lists HMAC keys under a given project with the additional filters provided.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
ProjectName.toStringList(List<ProjectName> values) |
Copyright © 2023 Google LLC. All rights reserved.