Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/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) ⇒ GooglePrivacyDlpV2beta1CloudStorageOptions

Returns a new instance of GooglePrivacyDlpV2beta1CloudStorageOptions



609
610
611
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 609

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

Instance Attribute Details

#file_setGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FileSet

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



607
608
609
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 607

def file_set
  @file_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



614
615
616
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 614

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