Class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileSet

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

Set of files to scan.

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) ⇒ GooglePrivacyDlpV2FileSet

Returns a new instance of GooglePrivacyDlpV2FileSet



2198
2199
2200
# File 'generated/google/apis/dlp_v2/classes.rb', line 2198

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

Instance Attribute Details

#urlString

The Cloud Storage url of the file(s) to scan, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed. Corresponds to the JSON property url

Returns:

  • (String)


2196
2197
2198
# File 'generated/google/apis/dlp_v2/classes.rb', line 2196

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2203
2204
2205
# File 'generated/google/apis/dlp_v2/classes.rb', line 2203

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