class Google::Apis::DlpV2::GooglePrivacyDlpV2StorageConfig

Shared message indicating Cloud storage type.

Attributes

big_query_options[RW]

Options defining BigQuery table and row identifiers. Corresponds to the JSON property `bigQueryOptions` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryOptions]

cloud_storage_options[RW]

Options defining a file or a set of files within a Google Cloud Storage bucket. Corresponds to the JSON property `cloudStorageOptions` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageOptions]

datastore_options[RW]

Options defining a data set within Google Cloud Datastore. Corresponds to the JSON property `datastoreOptions` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreOptions]

hybrid_options[RW]

Configuration to control jobs where the content being inspected is outside of Google Cloud Platform. Corresponds to the JSON property `hybridOptions` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridOptions]

timespan_config[RW]

Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Google Cloud Storage and BigQuery. Corresponds to the JSON property `timespanConfig` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TimespanConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 5547
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 5552
def update!(**args)
  @big_query_options = args[:big_query_options] if args.key?(:big_query_options)
  @cloud_storage_options = args[:cloud_storage_options] if args.key?(:cloud_storage_options)
  @datastore_options = args[:datastore_options] if args.key?(:datastore_options)
  @hybrid_options = args[:hybrid_options] if args.key?(:hybrid_options)
  @timespan_config = args[:timespan_config] if args.key?(:timespan_config)
end