class Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1ImportEntitiesMetadata

Metadata for ImportEntities operations.

Attributes

common[RW]

Metadata common to all Datastore Admin operations. Corresponds to the JSON property `common` @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1CommonMetadata]

entity_filter[RW]

Identifies a subset of entities in a project. This is specified as combinations of kinds and namespaces (either or both of which may be all, as described in the following examples). Example usage: Entire project: kinds=[], namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo', 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default namespace: kinds=['Foo', 'Bar'], namespace_ids= Kinds Foo and Bar in both the default and Baz namespaces: kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[], namespace_ids= Corresponds to the JSON property `entityFilter` @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1EntityFilter]

input_url[RW]

The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field. Corresponds to the JSON property `inputUrl` @return [String]

progress_bytes[RW]

Measures the progress of a particular metric. Corresponds to the JSON property `progressBytes` @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress]

progress_entities[RW]

Measures the progress of a particular metric. Corresponds to the JSON property `progressEntities` @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastore_v1beta1/classes.rb, line 222
def update!(**args)
  @common = args[:common] if args.key?(:common)
  @entity_filter = args[:entity_filter] if args.key?(:entity_filter)
  @input_url = args[:input_url] if args.key?(:input_url)
  @progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
  @progress_entities = args[:progress_entities] if args.key?(:progress_entities)
end