Class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastore_v1/classes.rb,
lib/google/apis/datastore_v1/representations.rb,
lib/google/apis/datastore_v1/representations.rb
Overview
Metadata for ImportEntities operations.
Instance Attribute Summary collapse
-
#common ⇒ Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata
Metadata common to all Datastore Admin operations.
-
#entity_filter ⇒ Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1EntityFilter
Identifies a subset of entities in a project.
-
#input_url ⇒ String
The location of the import metadata file.
-
#progress_bytes ⇒ Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress
Measures the progress of a particular metric.
-
#progress_entities ⇒ Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress
Measures the progress of a particular metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
constructor
A new instance of GoogleDatastoreAdminV1beta1ImportEntitiesMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
Returns a new instance of GoogleDatastoreAdminV1beta1ImportEntitiesMetadata.
1283 1284 1285 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 1283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common ⇒ Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata
Metadata common to all Datastore Admin operations.
Corresponds to the JSON property common
1253 1254 1255 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 1253 def common @common end |
#entity_filter ⇒ Google::Apis::DatastoreV1::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
1265 1266 1267 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 1265 def entity_filter @entity_filter end |
#input_url ⇒ String
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
1271 1272 1273 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 1271 def input_url @input_url end |
#progress_bytes ⇒ Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress
Measures the progress of a particular metric.
Corresponds to the JSON property progressBytes
1276 1277 1278 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 1276 def progress_bytes @progress_bytes end |
#progress_entities ⇒ Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress
Measures the progress of a particular metric.
Corresponds to the JSON property progressEntities
1281 1282 1283 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 1281 def progress_entities @progress_entities end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1288 1289 1290 1291 1292 1293 1294 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 1288 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 |