Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1StorageConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/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) ⇒ GooglePrivacyDlpV2beta1StorageConfig

Returns a new instance of GooglePrivacyDlpV2beta1StorageConfig



3246
3247
3248
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3246

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

Instance Attribute Details

#big_query_optionsGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryOptions

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



3233
3234
3235
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3233

def big_query_options
  @big_query_options
end

#cloud_storage_optionsGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageOptions

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



3239
3240
3241
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3239

def cloud_storage_options
  @cloud_storage_options
end

#datastore_optionsGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreOptions

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



3244
3245
3246
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3244

def datastore_options
  @datastore_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3251
3252
3253
3254
3255
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3251

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)
end