Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreOptions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta2DatastoreOptions

Returns a new instance of GooglePrivacyDlpV2beta2DatastoreOptions



2618
2619
2620
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2618

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

Instance Attribute Details

#kindGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KindExpression

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



2607
2608
2609
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2607

def kind
  @kind
end

#partition_idGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PartitionId

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



2616
2617
2618
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2616

def partition_id
  @partition_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2623
2624
2625
2626
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2623

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @partition_id = args[:partition_id] if args.key?(:partition_id)
end