Class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegex

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb

Overview

A pattern to match against one or more file stores.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2FileStoreRegex

Returns a new instance of GooglePrivacyDlpV2FileStoreRegex.



4663
4664
4665
# File 'lib/google/apis/dlp_v2/classes.rb', line 4663

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cloud_storage_regexGoogle::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageRegex

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. Corresponds to the JSON property cloudStorageRegex



4661
4662
4663
# File 'lib/google/apis/dlp_v2/classes.rb', line 4661

def cloud_storage_regex
  @cloud_storage_regex
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4668
4669
4670
# File 'lib/google/apis/dlp_v2/classes.rb', line 4668

def update!(**args)
  @cloud_storage_regex = args[:cloud_storage_regex] if args.key?(:cloud_storage_regex)
end