Documentation ¶
Overview ¶
Package admin aliases all exported identifiers in package "cloud.google.com/go/datastore/admin/apiv1/adminpb".
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.
Index ¶
- Constants
- Variables
- func RegisterDatastoreAdminServer(s *grpc.Server, srv DatastoreAdminServer)deprecated
- type CommonMetadatadeprecated
- type CommonMetadata_Statedeprecated
- type CreateIndexRequestdeprecated
- type DatastoreAdminClientdeprecated
- type DatastoreAdminServerdeprecated
- type DatastoreFirestoreMigrationMetadatadeprecated
- type DeleteIndexRequestdeprecated
- type EntityFilterdeprecated
- type ExportEntitiesMetadatadeprecated
- type ExportEntitiesRequestdeprecated
- type ExportEntitiesResponsedeprecated
- type GetIndexRequestdeprecated
- type ImportEntitiesMetadatadeprecated
- type ImportEntitiesRequestdeprecated
- type Indexdeprecated
- type IndexOperationMetadatadeprecated
- type Index_AncestorModedeprecated
- type Index_Directiondeprecated
- type Index_IndexedPropertydeprecated
- type Index_Statedeprecated
- type ListIndexesRequestdeprecated
- type ListIndexesResponsedeprecated
- type MigrationProgressEventdeprecated
- type MigrationProgressEvent_ConcurrencyModedeprecated
- type MigrationProgressEvent_PrepareStepDetailsdeprecated
- type MigrationProgressEvent_PrepareStepDetails_
- type MigrationProgressEvent_RedirectWritesStepDetailsdeprecated
- type MigrationProgressEvent_RedirectWritesStepDetails_
- type MigrationStatedeprecated
- type MigrationStateEventdeprecated
- type MigrationStepdeprecated
- type OperationTypedeprecated
- type Progressdeprecated
- type UnimplementedDatastoreAdminServerdeprecated
Constants ¶
const ( CommonMetadata_CANCELLED = src.CommonMetadata_CANCELLED CommonMetadata_CANCELLING = src.CommonMetadata_CANCELLING CommonMetadata_FAILED = src.CommonMetadata_FAILED CommonMetadata_FINALIZING = src.CommonMetadata_FINALIZING CommonMetadata_INITIALIZING = src.CommonMetadata_INITIALIZING CommonMetadata_PROCESSING = src.CommonMetadata_PROCESSING CommonMetadata_STATE_UNSPECIFIED = src.CommonMetadata_STATE_UNSPECIFIED CommonMetadata_SUCCESSFUL = src.CommonMetadata_SUCCESSFUL Index_ALL_ANCESTORS = src.Index_ALL_ANCESTORS Index_ANCESTOR_MODE_UNSPECIFIED = src.Index_ANCESTOR_MODE_UNSPECIFIED Index_ASCENDING = src.Index_ASCENDING Index_CREATING = src.Index_CREATING Index_DELETING = src.Index_DELETING Index_DESCENDING = src.Index_DESCENDING Index_DIRECTION_UNSPECIFIED = src.Index_DIRECTION_UNSPECIFIED Index_ERROR = src.Index_ERROR Index_NONE = src.Index_NONE Index_READY = src.Index_READY Index_STATE_UNSPECIFIED = src.Index_STATE_UNSPECIFIED MigrationProgressEvent_CONCURRENCY_MODE_UNSPECIFIED = src.MigrationProgressEvent_CONCURRENCY_MODE_UNSPECIFIED MigrationProgressEvent_OPTIMISTIC = src.MigrationProgressEvent_OPTIMISTIC MigrationProgressEvent_OPTIMISTIC_WITH_ENTITY_GROUPS = src.MigrationProgressEvent_OPTIMISTIC_WITH_ENTITY_GROUPS MigrationProgressEvent_PESSIMISTIC = src.MigrationProgressEvent_PESSIMISTIC MigrationState_COMPLETE = src.MigrationState_COMPLETE MigrationState_MIGRATION_STATE_UNSPECIFIED = src.MigrationState_MIGRATION_STATE_UNSPECIFIED MigrationState_PAUSED = src.MigrationState_PAUSED MigrationState_RUNNING = src.MigrationState_RUNNING MigrationStep_APPLY_WRITES_SYNCHRONOUSLY = src.MigrationStep_APPLY_WRITES_SYNCHRONOUSLY MigrationStep_COPY_AND_VERIFY = src.MigrationStep_COPY_AND_VERIFY MigrationStep_MIGRATION_STEP_UNSPECIFIED = src.MigrationStep_MIGRATION_STEP_UNSPECIFIED MigrationStep_PREPARE = src.MigrationStep_PREPARE MigrationStep_REDIRECT_EVENTUALLY_CONSISTENT_READS = src.MigrationStep_REDIRECT_EVENTUALLY_CONSISTENT_READS MigrationStep_REDIRECT_STRONGLY_CONSISTENT_READS = src.MigrationStep_REDIRECT_STRONGLY_CONSISTENT_READS MigrationStep_REDIRECT_WRITES = src.MigrationStep_REDIRECT_WRITES MigrationStep_START = src.MigrationStep_START OperationType_CREATE_INDEX = src.OperationType_CREATE_INDEX OperationType_DELETE_INDEX = src.OperationType_DELETE_INDEX OperationType_EXPORT_ENTITIES = src.OperationType_EXPORT_ENTITIES OperationType_IMPORT_ENTITIES = src.OperationType_IMPORT_ENTITIES OperationType_OPERATION_TYPE_UNSPECIFIED = src.OperationType_OPERATION_TYPE_UNSPECIFIED )
Deprecated: Please use consts in: cloud.google.com/go/datastore/admin/apiv1/adminpb
Variables ¶
var ( CommonMetadata_State_name = src.CommonMetadata_State_name CommonMetadata_State_value = src.CommonMetadata_State_value File_google_datastore_admin_v1_datastore_admin_proto = src.File_google_datastore_admin_v1_datastore_admin_proto File_google_datastore_admin_v1_index_proto = src.File_google_datastore_admin_v1_index_proto File_google_datastore_admin_v1_migration_proto = src.File_google_datastore_admin_v1_migration_proto Index_AncestorMode_name = src.Index_AncestorMode_name Index_AncestorMode_value = src.Index_AncestorMode_value Index_Direction_name = src.Index_Direction_name Index_Direction_value = src.Index_Direction_value Index_State_name = src.Index_State_name Index_State_value = src.Index_State_value MigrationProgressEvent_ConcurrencyMode_name = src.MigrationProgressEvent_ConcurrencyMode_name MigrationProgressEvent_ConcurrencyMode_value = src.MigrationProgressEvent_ConcurrencyMode_value MigrationState_name = src.MigrationState_name MigrationState_value = src.MigrationState_value MigrationStep_name = src.MigrationStep_name MigrationStep_value = src.MigrationStep_value OperationType_name = src.OperationType_name OperationType_value = src.OperationType_value )
Deprecated: Please use vars in: cloud.google.com/go/datastore/admin/apiv1/adminpb
Functions ¶
func RegisterDatastoreAdminServer
deprecated
func RegisterDatastoreAdminServer(s *grpc.Server, srv DatastoreAdminServer)
Deprecated: Please use funcs in: cloud.google.com/go/datastore/admin/apiv1/adminpb
Types ¶
type CommonMetadata
deprecated
type CommonMetadata = src.CommonMetadata
Metadata common to all Datastore Admin operations.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type CommonMetadata_State
deprecated
type CommonMetadata_State = src.CommonMetadata_State
The various possible states for an ongoing Operation.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type CreateIndexRequest
deprecated
type CreateIndexRequest = src.CreateIndexRequest
The request for [google.datastore.admin.v1.DatastoreAdmin.CreateIndex][google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type DatastoreAdminClient
deprecated
type DatastoreAdminClient = src.DatastoreAdminClient
DatastoreAdminClient is the client API for DatastoreAdmin service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
func NewDatastoreAdminClient
deprecated
func NewDatastoreAdminClient(cc grpc.ClientConnInterface) DatastoreAdminClient
Deprecated: Please use funcs in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type DatastoreAdminServer
deprecated
type DatastoreAdminServer = src.DatastoreAdminServer
DatastoreAdminServer is the server API for DatastoreAdmin service.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type DatastoreFirestoreMigrationMetadata
deprecated
type DatastoreFirestoreMigrationMetadata = src.DatastoreFirestoreMigrationMetadata
Metadata for Datastore to Firestore migration operations. The DatastoreFirestoreMigration operation is not started by the end-user via an explicit "creation" method. This is an intentional deviation from the LRO design pattern. This singleton resource can be accessed at: "projects/{project_id}/operations/datastore-firestore-migration"
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type DeleteIndexRequest
deprecated
type DeleteIndexRequest = src.DeleteIndexRequest
The request for [google.datastore.admin.v1.DatastoreAdmin.DeleteIndex][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex].
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type EntityFilter
deprecated
type EntityFilter = src.EntityFilter
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']
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type ExportEntitiesMetadata
deprecated
type ExportEntitiesMetadata = src.ExportEntitiesMetadata
Metadata for ExportEntities operations.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type ExportEntitiesRequest
deprecated
type ExportEntitiesRequest = src.ExportEntitiesRequest
The request for [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type ExportEntitiesResponse
deprecated
type ExportEntitiesResponse = src.ExportEntitiesResponse
The response for [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type GetIndexRequest
deprecated
type GetIndexRequest = src.GetIndexRequest
The request for [google.datastore.admin.v1.DatastoreAdmin.GetIndex][google.datastore.admin.v1.DatastoreAdmin.GetIndex].
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type ImportEntitiesMetadata
deprecated
type ImportEntitiesMetadata = src.ImportEntitiesMetadata
Metadata for ImportEntities operations.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type ImportEntitiesRequest
deprecated
type ImportEntitiesRequest = src.ImportEntitiesRequest
The request for [google.datastore.admin.v1.DatastoreAdmin.ImportEntities][google.datastore.admin.v1.DatastoreAdmin.ImportEntities].
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type IndexOperationMetadata
deprecated
type IndexOperationMetadata = src.IndexOperationMetadata
Metadata for Index operations.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type Index_AncestorMode
deprecated
type Index_AncestorMode = src.Index_AncestorMode
For an ordered index, specifies whether each of the entity's ancestors will be included.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type Index_Direction
deprecated
type Index_Direction = src.Index_Direction
The direction determines how a property is indexed.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type Index_IndexedProperty
deprecated
type Index_IndexedProperty = src.Index_IndexedProperty
A property of an index.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type Index_State
deprecated
type Index_State = src.Index_State
The possible set of states of an index.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type ListIndexesRequest
deprecated
type ListIndexesRequest = src.ListIndexesRequest
The request for [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes].
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type ListIndexesResponse
deprecated
type ListIndexesResponse = src.ListIndexesResponse
The response for [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes].
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type MigrationProgressEvent
deprecated
type MigrationProgressEvent = src.MigrationProgressEvent
An event signifying the start of a new step in a [migration from Cloud Datastore to Cloud Firestore in Datastore mode](https://cloud.google.com/datastore/docs/upgrade-to-firestore).
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type MigrationProgressEvent_ConcurrencyMode
deprecated
type MigrationProgressEvent_ConcurrencyMode = src.MigrationProgressEvent_ConcurrencyMode
Concurrency modes for transactions in Cloud Firestore.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type MigrationProgressEvent_PrepareStepDetails
deprecated
type MigrationProgressEvent_PrepareStepDetails = src.MigrationProgressEvent_PrepareStepDetails
Details for the `PREPARE` step.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type MigrationProgressEvent_PrepareStepDetails_ ¶
type MigrationProgressEvent_PrepareStepDetails_ = src.MigrationProgressEvent_PrepareStepDetails_
type MigrationProgressEvent_RedirectWritesStepDetails
deprecated
type MigrationProgressEvent_RedirectWritesStepDetails = src.MigrationProgressEvent_RedirectWritesStepDetails
Details for the `REDIRECT_WRITES` step.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type MigrationProgressEvent_RedirectWritesStepDetails_ ¶
type MigrationProgressEvent_RedirectWritesStepDetails_ = src.MigrationProgressEvent_RedirectWritesStepDetails_
type MigrationState
deprecated
type MigrationState = src.MigrationState
States for a migration.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type MigrationStateEvent
deprecated
type MigrationStateEvent = src.MigrationStateEvent
An event signifying a change in state of a [migration from Cloud Datastore to Cloud Firestore in Datastore mode](https://cloud.google.com/datastore/docs/upgrade-to-firestore).
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type MigrationStep
deprecated
type MigrationStep = src.MigrationStep
Steps in a migration.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type OperationType
deprecated
type OperationType = src.OperationType
Operation types.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb
type UnimplementedDatastoreAdminServer
deprecated
type UnimplementedDatastoreAdminServer = src.UnimplementedDatastoreAdminServer
UnimplementedDatastoreAdminServer can be embedded to have forward compatible implementations.
Deprecated: Please use types in: cloud.google.com/go/datastore/admin/apiv1/adminpb