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

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

Identifies a single database resource, like a table within a database.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#database

def database() -> ::String
Returns
  • (::String) — Required. Name of a database within the instance.

#database=

def database=(value) -> ::String
Parameter
  • value (::String) — Required. Name of a database within the instance.
Returns
  • (::String) — Required. Name of a database within the instance.

#database_resource

def database_resource() -> ::String
Returns
  • (::String) — Required. Name of a database resource, for example, a table within the database.

#database_resource=

def database_resource=(value) -> ::String
Parameter
  • value (::String) — Required. Name of a database resource, for example, a table within the database.
Returns
  • (::String) — Required. Name of a database resource, for example, a table within the database.

#instance

def instance() -> ::String
Returns
  • (::String) — Required. The instance where this resource is located. For example: Cloud SQL instance ID.

#instance=

def instance=(value) -> ::String
Parameter
  • value (::String) — Required. The instance where this resource is located. For example: Cloud SQL instance ID.
Returns
  • (::String) — Required. The instance where this resource is located. For example: Cloud SQL instance ID.

#project_id

def project_id() -> ::String
Returns
  • (::String) — Required. If within a project-level config, then this must match the config's project ID.

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) — Required. If within a project-level config, then this must match the config's project ID.
Returns
  • (::String) — Required. If within a project-level config, then this must match the config's project ID.