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

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

Shared message indicating Cloud storage type.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#big_query_options

def big_query_options() -> ::Google::Cloud::Dlp::V2::BigQueryOptions
Returns
  • (::Google::Cloud::Dlp::V2::BigQueryOptions) — BigQuery options.

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

#big_query_options=

def big_query_options=(value) -> ::Google::Cloud::Dlp::V2::BigQueryOptions
Parameter
  • value (::Google::Cloud::Dlp::V2::BigQueryOptions) — BigQuery options.

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

Returns
  • (::Google::Cloud::Dlp::V2::BigQueryOptions) — BigQuery options.

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

#cloud_storage_options

def cloud_storage_options() -> ::Google::Cloud::Dlp::V2::CloudStorageOptions
Returns
  • (::Google::Cloud::Dlp::V2::CloudStorageOptions) — Cloud Storage options.

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

#cloud_storage_options=

def cloud_storage_options=(value) -> ::Google::Cloud::Dlp::V2::CloudStorageOptions
Parameter
  • value (::Google::Cloud::Dlp::V2::CloudStorageOptions) — Cloud Storage options.

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

Returns
  • (::Google::Cloud::Dlp::V2::CloudStorageOptions) — Cloud Storage options.

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

#datastore_options

def datastore_options() -> ::Google::Cloud::Dlp::V2::DatastoreOptions
Returns
  • (::Google::Cloud::Dlp::V2::DatastoreOptions) — Google Cloud Datastore options.

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

#datastore_options=

def datastore_options=(value) -> ::Google::Cloud::Dlp::V2::DatastoreOptions
Parameter
  • value (::Google::Cloud::Dlp::V2::DatastoreOptions) — Google Cloud Datastore options.

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

Returns
  • (::Google::Cloud::Dlp::V2::DatastoreOptions) — Google Cloud Datastore options.

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

#hybrid_options

def hybrid_options() -> ::Google::Cloud::Dlp::V2::HybridOptions
Returns
  • (::Google::Cloud::Dlp::V2::HybridOptions) — Hybrid inspection options.

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

#hybrid_options=

def hybrid_options=(value) -> ::Google::Cloud::Dlp::V2::HybridOptions
Parameter
  • value (::Google::Cloud::Dlp::V2::HybridOptions) — Hybrid inspection options.

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

Returns
  • (::Google::Cloud::Dlp::V2::HybridOptions) — Hybrid inspection options.

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

#timespan_config

def timespan_config() -> ::Google::Cloud::Dlp::V2::StorageConfig::TimespanConfig
Returns

#timespan_config=

def timespan_config=(value) -> ::Google::Cloud::Dlp::V2::StorageConfig::TimespanConfig
Parameter
Returns