View Source GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CloudStorageRegex (google_api_dlp v0.50.1)

A pattern to match against one or more file stores. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.

Attributes

  • bucketNameRegex (type: String.t, default: nil) - Optional. Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021
  • projectIdRegex (type: String.t, default: nil) - Optional. For organizations, if unset, will match all projects.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CloudStorageRegex{
  bucketNameRegex: String.t() | nil,
  projectIdRegex: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.