Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreOptions

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

Options defining a data set within Google Cloud Datastore.

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) ⇒ GooglePrivacyDlpV2beta1DatastoreOptions

Returns a new instance of GooglePrivacyDlpV2beta1DatastoreOptions



462
463
464
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 462

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

Instance Attribute Details

#kindGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KindExpression

A representation of a Datastore kind. Corresponds to the JSON property kind



445
446
447
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 445

def kind
  @kind
end

#partition_idGoogle::Apis::DlpV2beta1::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



454
455
456
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 454

def partition_id
  @partition_id
end

#projectionArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Projection>

Properties to scan. If none are specified, all properties will be scanned by default. Corresponds to the JSON property projection



460
461
462
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 460

def projection
  @projection
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



467
468
469
470
471
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 467

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