Class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1ExportEntitiesMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDatastoreAdminV1beta1ExportEntitiesMetadata

Returns a new instance of GoogleDatastoreAdminV1beta1ExportEntitiesMetadata.



1424
1425
1426
# File 'lib/google/apis/datastore_v1/classes.rb', line 1424

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

Instance Attribute Details

#commonGoogle::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata

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



1392
1393
1394
# File 'lib/google/apis/datastore_v1/classes.rb', line 1392

def common
  @common
end

#entity_filterGoogle::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



1404
1405
1406
# File 'lib/google/apis/datastore_v1/classes.rb', line 1404

def entity_filter
  @entity_filter
end

#output_url_prefixString

Location for the export metadata and data files. This will be the same value as the google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix field. The final output location is provided in google.datastore.admin.v1beta1. ExportEntitiesResponse.output_url. Corresponds to the JSON property outputUrlPrefix

Returns:

  • (String)


1412
1413
1414
# File 'lib/google/apis/datastore_v1/classes.rb', line 1412

def output_url_prefix
  @output_url_prefix
end

#progress_bytesGoogle::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress

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



1417
1418
1419
# File 'lib/google/apis/datastore_v1/classes.rb', line 1417

def progress_bytes
  @progress_bytes
end

#progress_entitiesGoogle::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress

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



1422
1423
1424
# File 'lib/google/apis/datastore_v1/classes.rb', line 1422

def progress_entities
  @progress_entities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1429
1430
1431
1432
1433
1434
1435
# File 'lib/google/apis/datastore_v1/classes.rb', line 1429

def update!(**args)
  @common = args[:common] if args.key?(:common)
  @entity_filter = args[:entity_filter] if args.key?(:entity_filter)
  @output_url_prefix = args[:output_url_prefix] if args.key?(:output_url_prefix)
  @progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
  @progress_entities = args[:progress_entities] if args.key?(:progress_entities)
end