Class: Google::Apis::DlpV2::GooglePrivacyDlpV2StorageConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2StorageConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
Shared message indicating Cloud storage type.
Instance Attribute Summary collapse
-
#big_query_options ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryOptions
Options defining BigQuery table and row identifiers.
-
#cloud_storage_options ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageOptions
Options defining a file or a set of files within a Google Cloud Storage bucket.
-
#datastore_options ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreOptions
Options defining a data set within Google Cloud Datastore.
-
#hybrid_options ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2HybridOptions
Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.
-
#timespan_config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2TimespanConfig
Configuration of the timespan of the items to include in scanning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2StorageConfig
constructor
A new instance of GooglePrivacyDlpV2StorageConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2StorageConfig
Returns a new instance of GooglePrivacyDlpV2StorageConfig.
5538 5539 5540 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5538 def initialize(**args) update!(**args) end |
Instance Attribute Details
#big_query_options ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryOptions
Options defining BigQuery table and row identifiers.
Corresponds to the JSON property bigQueryOptions
5514 5515 5516 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5514 def @big_query_options end |
#cloud_storage_options ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageOptions
Options defining a file or a set of files within a Google Cloud Storage bucket.
Corresponds to the JSON property cloudStorageOptions
5519 5520 5521 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5519 def @cloud_storage_options end |
#datastore_options ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreOptions
Options defining a data set within Google Cloud Datastore.
Corresponds to the JSON property datastoreOptions
5524 5525 5526 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5524 def @datastore_options end |
#hybrid_options ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2HybridOptions
Configuration to control jobs where the content being inspected is outside of
Google Cloud Platform.
Corresponds to the JSON property hybridOptions
5530 5531 5532 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5530 def @hybrid_options end |
#timespan_config ⇒ Google::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
5536 5537 5538 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5536 def timespan_config @timespan_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5543 5544 5545 5546 5547 5548 5549 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5543 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 |