Class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1ImportEntitiesMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datastore_v1beta3/classes.rb,
lib/google/apis/datastore_v1beta3/representations.rb,
lib/google/apis/datastore_v1beta3/representations.rb

Overview

Metadata for ImportEntities operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDatastoreAdminV1beta1ImportEntitiesMetadata

Returns a new instance of GoogleDatastoreAdminV1beta1ImportEntitiesMetadata.



1193
1194
1195
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 1193

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

Instance Attribute Details

#commonGoogle::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1CommonMetadata

Metadata common to all Datastore Admin operations. Corresponds to the JSON property common



1163
1164
1165
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 1163

def common
  @common
end

#entity_filterGoogle::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1EntityFilter

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=['Baz'] Corresponds to the JSON property entityFilter



1175
1176
1177
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 1175

def entity_filter
  @entity_filter
end

#input_urlString

The location of the import metadata file. This will be the same value as the google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url field. Corresponds to the JSON property inputUrl

Returns:

  • (String)


1181
1182
1183
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 1181

def input_url
  @input_url
end

#progress_bytesGoogle::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress

Measures the progress of a particular metric. Corresponds to the JSON property progressBytes



1186
1187
1188
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 1186

def progress_bytes
  @progress_bytes
end

#progress_entitiesGoogle::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress

Measures the progress of a particular metric. Corresponds to the JSON property progressEntities



1191
1192
1193
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 1191

def progress_entities
  @progress_entities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1198
1199
1200
1201
1202
1203
1204
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 1198

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