Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageOptions

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

Overview

Options defining a file or a set of files (path ending with *) within a Google Cloud Storage bucket.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta2CloudStorageOptions

Returns a new instance of GooglePrivacyDlpV2beta2CloudStorageOptions



2047
2048
2049
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2047

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

Instance Attribute Details

#file_setGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FileSet

Set of files to scan. Corresponds to the JSON property fileSet



2045
2046
2047
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2045

def file_set
  @file_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2052
2053
2054
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2052

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