class Google::Apis::DatastoreV1beta2::PartitionId

An identifier for a particular subset of entities. Entities are partitioned into various subsets, each used by different datasets and different namespaces within a dataset and so forth.

Attributes

dataset_id[RW]

The dataset ID. Corresponds to the JSON property `datasetId` @return [String]

namespace[RW]

The namespace. Corresponds to the JSON property `namespace` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/datastore_v1beta2/classes.rb, line 605
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/datastore_v1beta2/classes.rb, line 610
def update!(**args)
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
  @namespace = args[:namespace] if args.key?(:namespace)
end