View Source GoogleApi.ContentWarehouse.V1.Model.CloudAiPlatformTenantresourceGcsBucketConfig (google_api_content_warehouse v0.6.0)

The identity to configure a GCS bucket.

Attributes

  • admins (type: list(String.t), default: nil) -
  • bucketName (type: String.t, default: nil) - Input/Output [Optional]. The name of a GCS bucket with max length of 63 chars. If not set, a random UUID will be generated as bucket name.
  • entityName (type: String.t, default: nil) - Input/Output [Optional]. Only needed for per-entity tenant GCP resources. During Deprovision API, the on-demand deletion will only cover the tenant GCP resources with the specified entity name.
  • kmsKeyReference (type: String.t, default: nil) - Input/Output [Optional]. The KMS key name or the KMS grant name used for CMEK encryption. Only set this field when provisioning new GCS bucket. For existing GCS bucket, this field will be ignored because CMEK re-encryption is not supported.
  • ttlDays (type: integer(), default: nil) - Input/Output [Optional]. Only needed when the content in bucket need to be garbage collected within some amount of days.
  • viewers (type: list(String.t), default: nil) - Input/Output [Required]. IAM roles (viewer/admin) put on the bucket.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.CloudAiPlatformTenantresourceGcsBucketConfig{
    admins: [String.t()] | nil,
    bucketName: String.t() | nil,
    entityName: String.t() | nil,
    kmsKeyReference: String.t() | nil,
    ttlDays: integer() | nil,
    viewers: [String.t()] | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.