Class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CloudStorageOptions

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



4893
4894
4895
# File 'generated/google/apis/dlp_v2/classes.rb', line 4893

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

Instance Attribute Details

#file_setGoogle::Apis::DlpV2::GooglePrivacyDlpV2beta1FileSet

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



4891
4892
4893
# File 'generated/google/apis/dlp_v2/classes.rb', line 4891

def file_set
  @file_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4898
4899
4900
# File 'generated/google/apis/dlp_v2/classes.rb', line 4898

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