Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1DatastoreOptions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1DatastoreOptions
- 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
Options defining a data set within Google Cloud Datastore.
Instance Attribute Summary collapse
-
#kind ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KindExpression
A representation of a Datastore kind.
-
#partition_id ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1PartitionId
Datastore partition ID.
-
#projection ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Projection>
Properties to scan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1DatastoreOptions
constructor
A new instance of GooglePrivacyDlpV2beta1DatastoreOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1DatastoreOptions
Returns a new instance of GooglePrivacyDlpV2beta1DatastoreOptions
329 330 331 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 329 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KindExpression
A representation of a Datastore kind.
Corresponds to the JSON property kind
312 313 314 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 312 def kind @kind end |
#partition_id ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1PartitionId
Datastore partition ID.
A partition ID identifies a grouping of entities. The grouping is always
by project and namespace, however the namespace ID may be empty.
A partition ID contains several dimensions:
project ID and namespace ID.
Corresponds to the JSON property partitionId
321 322 323 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 321 def partition_id @partition_id end |
#projection ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Projection>
Properties to scan. If none are specified, all properties will be scanned
by default.
Corresponds to the JSON property projection
327 328 329 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 327 def projection @projection end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
334 335 336 337 338 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 334 def update!(**args) @kind = args[:kind] if args.key?(:kind) @partition_id = args[:partition_id] if args.key?(:partition_id) @projection = args[:projection] if args.key?(:projection) end |