REST Resource: projects.locations.buckets

Risorsa: Bucket

Configurazione del bucket per l'archiviazione dei dati di osservabilità.

Rappresentazione JSON
{
  "name": string,
  "displayName": string,
  "description": string,
  "createTime": string,
  "updateTime": string,
  "deleteTime": string,
  "purgeTime": string,
  "cmekSettings": {
    object (CmekSettings)
  }
}
Campi
name

string

Identificatore. Nome del bucket. Il formato è:

projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]
displayName

string

Facoltativo. Nome visualizzato descrittivo.

description

string

Facoltativo. Descrizione del bucket.

createTime

string (Timestamp format)

Solo output. Timestamp creazione.

Utilizza RFC 3339, in cui l'output generato è sempre con normalizzazione Z e utilizza 0, 3, 6 o 9 cifre frazionarie. Sono accettati anche offset diversi da "Z". Esempi: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" o "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Solo output. Timestamp aggiornamento.

Utilizza RFC 3339, in cui l'output generato è sempre con normalizzazione Z e utilizza 0, 3, 6 o 9 cifre frazionarie. Sono accettati anche offset diversi da "Z". Esempi: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" o "2014-10-02T15:01:23+05:30".

deleteTime

string (Timestamp format)

Solo output. Timestamp eliminazione.

Utilizza RFC 3339, in cui l'output generato è sempre con normalizzazione Z e utilizza 0, 3, 6 o 9 cifre frazionarie. Sono accettati anche offset diversi da "Z". Esempi: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" o "2014-10-02T15:01:23+05:30".

purgeTime

string (Timestamp format)

Solo output. Timestamp in cui viene eliminato definitivamente il bucket in stato di eliminazione temporanea.

Utilizza RFC 3339, in cui l'output generato è sempre con normalizzazione Z e utilizza 0, 3, 6 o 9 cifre frazionarie. Sono accettati anche offset diversi da "Z". Esempi: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" o "2014-10-02T15:01:23+05:30".

cmekSettings

object (CmekSettings)

Facoltativo. Impostazioni per la configurazione di CMEK in un bucket.

CmekSettings

Impostazioni per la configurazione di CMEK per un bucket.

Rappresentazione JSON
{
  "kmsKey": string,
  "kmsKeyVersion": string,
  "serviceAccountId": string
}
Campi
kmsKey

string

Facoltativo. Il nome risorsa della chiave Cloud KMS configurata. Il formato è:

projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]

Ad esempio:

projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key
kmsKeyVersion

string

Solo output. Il nome risorsa CryptoKeyVersion per la chiave Cloud KMS configurata. Il formato è:

projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]

Ad esempio:

projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1

Questo campo di sola lettura viene utilizzato per comunicare la CryptoKeyVersion specifica configurata della kmsKey che è stata configurata. Viene compilato quando le impostazioni di CMEK sono associate a una singola versione della chiave.

serviceAccountId

string

Solo output. Il account di servizio utilizzato per accedere alla chiave.

Metodi

create

Crea un nuovo bucket.

get

Ottieni la risorsa bucket.

list

Elenca i bucket di un progetto in una località specifica.