Class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageFileSet

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

Message representing a set of files in Cloud Storage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2CloudStorageFileSet

Returns a new instance of GooglePrivacyDlpV2CloudStorageFileSet.



1108
1109
1110
# File 'lib/google/apis/dlp_v2/classes.rb', line 1108

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

Instance Attribute Details

#urlString

The url, in the format gs:///. Trailing wildcard in the path is allowed. Corresponds to the JSON property url

Returns:

  • (String)


1106
1107
1108
# File 'lib/google/apis/dlp_v2/classes.rb', line 1106

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1113
1114
1115
# File 'lib/google/apis/dlp_v2/classes.rb', line 1113

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