Class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datastore_v1beta3/classes.rb,
generated/google/apis/datastore_v1beta3/representations.rb,
generated/google/apis/datastore_v1beta3/representations.rb
Overview
Metadata for ExportEntities operations.
Instance Attribute Summary collapse
-
#common ⇒ Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1CommonMetadata
Metadata common to all Datastore Admin operations.
-
#entity_filter ⇒ Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1EntityFilter
Identifies a subset of entities in a project.
-
#output_url_prefix ⇒ String
Location for the export metadata and data files.
-
#progress_bytes ⇒ Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress
Measures the progress of a particular metric.
-
#progress_entities ⇒ Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress
Measures the progress of a particular metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
constructor
A new instance of GoogleDatastoreAdminV1beta1ExportEntitiesMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
Returns a new instance of GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
716 717 718 |
# File 'generated/google/apis/datastore_v1beta3/classes.rb', line 716 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common ⇒ Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1CommonMetadata
Metadata common to all Datastore Admin operations.
Corresponds to the JSON property common
677 678 679 |
# File 'generated/google/apis/datastore_v1beta3/classes.rb', line 677 def common @common end |
#entity_filter ⇒ Google::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
695 696 697 |
# File 'generated/google/apis/datastore_v1beta3/classes.rb', line 695 def entity_filter @entity_filter end |
#output_url_prefix ⇒ String
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
704 705 706 |
# File 'generated/google/apis/datastore_v1beta3/classes.rb', line 704 def output_url_prefix @output_url_prefix end |
#progress_bytes ⇒ Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress
Measures the progress of a particular metric.
Corresponds to the JSON property progressBytes
709 710 711 |
# File 'generated/google/apis/datastore_v1beta3/classes.rb', line 709 def progress_bytes @progress_bytes end |
#progress_entities ⇒ Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress
Measures the progress of a particular metric.
Corresponds to the JSON property progressEntities
714 715 716 |
# File 'generated/google/apis/datastore_v1beta3/classes.rb', line 714 def progress_entities @progress_entities end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
721 722 723 724 725 726 727 |
# File 'generated/google/apis/datastore_v1beta3/classes.rb', line 721 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 |