Class: Google::Apis::DlpV2::GooglePrivacyDlpV2StorageConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb

Overview

Shared message indicating Cloud storage type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2StorageConfig

Returns a new instance of GooglePrivacyDlpV2StorageConfig



4211
4212
4213
# File 'generated/google/apis/dlp_v2/classes.rb', line 4211

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#big_query_optionsGoogle::Apis::DlpV2::GooglePrivacyDlpV2BigQueryOptions

Options defining BigQuery table and row identifiers. Corresponds to the JSON property bigQueryOptions



4192
4193
4194
# File 'generated/google/apis/dlp_v2/classes.rb', line 4192

def big_query_options
  @big_query_options
end

#cloud_storage_optionsGoogle::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageOptions

Options defining a file or a set of files (path ending with *) within a Google Cloud Storage bucket. Corresponds to the JSON property cloudStorageOptions



4198
4199
4200
# File 'generated/google/apis/dlp_v2/classes.rb', line 4198

def cloud_storage_options
  @cloud_storage_options
end

#datastore_optionsGoogle::Apis::DlpV2::GooglePrivacyDlpV2DatastoreOptions

Options defining a data set within Google Cloud Datastore. Corresponds to the JSON property datastoreOptions



4203
4204
4205
# File 'generated/google/apis/dlp_v2/classes.rb', line 4203

def datastore_options
  @datastore_options
end

#timespan_configGoogle::Apis::DlpV2::GooglePrivacyDlpV2TimespanConfig

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



4209
4210
4211
# File 'generated/google/apis/dlp_v2/classes.rb', line 4209

def timespan_config
  @timespan_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4216
4217
4218
4219
4220
4221
# File 'generated/google/apis/dlp_v2/classes.rb', line 4216

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)
  @timespan_config = args[:timespan_config] if args.key?(:timespan_config)
end