Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2StorageConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2StorageConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
Shared message indicating Cloud storage type.
Instance Attribute Summary collapse
-
#big_query_options ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryOptions
Options defining BigQuery table and row identifiers.
-
#cloud_storage_options ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageOptions
Options defining a file or a set of files (path ending with *) within a Google Cloud Storage bucket.
-
#datastore_options ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreOptions
Options defining a data set within Google Cloud Datastore.
-
#timespan_config ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimespanConfig
Configuration of the timespan of the items to include in scanning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2StorageConfig
constructor
A new instance of GooglePrivacyDlpV2beta2StorageConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2StorageConfig
Returns a new instance of GooglePrivacyDlpV2beta2StorageConfig
5627 5628 5629 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5627 def initialize(**args) update!(**args) end |
Instance Attribute Details
#big_query_options ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryOptions
Options defining BigQuery table and row identifiers.
Corresponds to the JSON property bigQueryOptions
5608 5609 5610 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5608 def @big_query_options end |
#cloud_storage_options ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageOptions
Options defining a file or a set of files (path ending with *) within
a Google Cloud Storage bucket.
Corresponds to the JSON property cloudStorageOptions
5614 5615 5616 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5614 def @cloud_storage_options end |
#datastore_options ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreOptions
Options defining a data set within Google Cloud Datastore.
Corresponds to the JSON property datastoreOptions
5619 5620 5621 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5619 def @datastore_options end |
#timespan_config ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimespanConfig
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
5625 5626 5627 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5625 def timespan_config @timespan_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5632 5633 5634 5635 5636 5637 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5632 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 |