Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileLocation

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

The data that will be profiled.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DataProfileLocation

Returns a new instance of GooglePrivacyDlpV2DataProfileLocation.



1920
1921
1922
# File 'lib/google/apis/dlp_v2/classes.rb', line 1920

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

Instance Attribute Details

#folder_idFixnum

The ID of the Folder within an organization to scan. Corresponds to the JSON property folderId

Returns:

  • (Fixnum)


1913
1914
1915
# File 'lib/google/apis/dlp_v2/classes.rb', line 1913

def folder_id
  @folder_id
end

#organization_idFixnum

The ID of an organization to scan. Corresponds to the JSON property organizationId

Returns:

  • (Fixnum)


1918
1919
1920
# File 'lib/google/apis/dlp_v2/classes.rb', line 1918

def organization_id
  @organization_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1925
1926
1927
1928
# File 'lib/google/apis/dlp_v2/classes.rb', line 1925

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