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

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

Identifies a single Cloud Storage bucket.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bucket_name

defbucket_name()->::String
Returns
  • (::String) — Required. The bucket to scan.

#bucket_name=

defbucket_name=(value)->::String
Parameter
  • value (::String) — Required. The bucket to scan.
Returns
  • (::String) — Required. The bucket to scan.

#project_id

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

#project_id=

defproject_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.

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.