Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::PartitionId (v0.20.0)

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

Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

A partition ID contains several dimensions: project ID and namespace ID.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#namespace_id

def namespace_id() -> ::String
Returns
  • (::String) — If not empty, the ID of the namespace to which the entities belong.

#namespace_id=

def namespace_id=(value) -> ::String
Parameter
  • value (::String) — If not empty, the ID of the namespace to which the entities belong.
Returns
  • (::String) — If not empty, the ID of the namespace to which the entities belong.

#project_id

def project_id() -> ::String
Returns
  • (::String) — The ID of the project to which the entities belong.

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) — The ID of the project to which the entities belong.
Returns
  • (::String) — The ID of the project to which the entities belong.