Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryStartingLocation

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 location to begin a discovery scan. Denotes an organization ID or folder ID within an organization.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryStartingLocation

Returns a new instance of GooglePrivacyDlpV2DiscoveryStartingLocation.



4403
4404
4405
# File 'lib/google/apis/dlp_v2/classes.rb', line 4403

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

Instance Attribute Details

#folder_idFixnum

The ID of the folder within an organization to be scanned. Corresponds to the JSON property folderId

Returns:

  • (Fixnum)


4396
4397
4398
# File 'lib/google/apis/dlp_v2/classes.rb', line 4396

def folder_id
  @folder_id
end

#organization_idFixnum

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

Returns:

  • (Fixnum)


4401
4402
4403
# File 'lib/google/apis/dlp_v2/classes.rb', line 4401

def organization_id
  @organization_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4408
4409
4410
4411
# File 'lib/google/apis/dlp_v2/classes.rb', line 4408

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