Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DiscoveryConfig::OrgConfig.
Project and scan location information. Only set when the parent is an org.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#location
def location() -> ::Google::Cloud::Dlp::V2::DiscoveryStartingLocation
Returns
- (::Google::Cloud::Dlp::V2::DiscoveryStartingLocation) — The data to scan: folder, org, or project
#location=
def location=(value) -> ::Google::Cloud::Dlp::V2::DiscoveryStartingLocation
Parameter
- value (::Google::Cloud::Dlp::V2::DiscoveryStartingLocation) — The data to scan: folder, org, or project
Returns
- (::Google::Cloud::Dlp::V2::DiscoveryStartingLocation) — The data to scan: folder, org, or project
#project_id
def project_id() -> ::String
Returns
- (::String) — The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
#project_id=
def project_id=(value) -> ::String
Parameter
- value (::String) — The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
Returns
- (::String) — The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.