Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DiscoveryStartingLocation (v1.15.1)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DiscoveryStartingLocation.

The location to begin a discovery scan. Denotes an organization ID or folder ID within an organization.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#folder_id

deffolder_id()->::Integer
Returns
  • (::Integer) — The ID of the folder within an organization to be scanned.

    Note: The following fields are mutually exclusive: folder_id, organization_id. If a field in that set is populated, all other fields in the set will automatically be cleared.

#folder_id=

deffolder_id=(value)->::Integer
Parameter
  • value (::Integer) — The ID of the folder within an organization to be scanned.

    Note: The following fields are mutually exclusive: folder_id, organization_id. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — The ID of the folder within an organization to be scanned.

    Note: The following fields are mutually exclusive: folder_id, organization_id. If a field in that set is populated, all other fields in the set will automatically be cleared.

#organization_id

deforganization_id()->::Integer
Returns
  • (::Integer) — The ID of an organization to scan.

    Note: The following fields are mutually exclusive: organization_id, folder_id. If a field in that set is populated, all other fields in the set will automatically be cleared.

#organization_id=

deforganization_id=(value)->::Integer
Parameter
  • value (::Integer) — The ID of an organization to scan.

    Note: The following fields are mutually exclusive: organization_id, folder_id. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — The ID of an organization to scan.

    Note: The following fields are mutually exclusive: organization_id, folder_id. If a field in that set is populated, all other fields in the set will automatically be cleared.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.