Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added methods for creating and deleting composite indexes (#248)
This PR fixes an issue with the `owlbot.py` file which prevented [google/cloud/datastore_v1](https://github.com/googleapis/python-datastore/commits/main/google/cloud/datastore_v1) from being updated. This PR also brings the client up to date with the generated client in googleapis-gen [here](https://github.com/googleapis/googleapis-gen/tree/master/google/datastore). chore: update owlbot.py to properly copy folders from googleapis-gen fix(deps): require google-api-core >= 1.28.0 docs: list oneofs in docstring feat: add context manager support in client fix: add 'dict' annotation type to 'request' fix: add async client to %name_%version/init.py feat: support self-signed JWT flow for service accounts feat: Added methods for creating and deleting composite indexes
- Loading branch information
Showing
40 changed files
with
3,119 additions
and
1,677 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods", | ||
"language": "python", | ||
"libraryPackage": "google.cloud.datastore_admin_v1", | ||
"protoPackage": "google.datastore.admin.v1", | ||
"schema": "1.0", | ||
"services": { | ||
"DatastoreAdmin": { | ||
"clients": { | ||
"grpc": { | ||
"libraryClient": "DatastoreAdminClient", | ||
"rpcs": { | ||
"CreateIndex": { | ||
"methods": [ | ||
"create_index" | ||
] | ||
}, | ||
"DeleteIndex": { | ||
"methods": [ | ||
"delete_index" | ||
] | ||
}, | ||
"ExportEntities": { | ||
"methods": [ | ||
"export_entities" | ||
] | ||
}, | ||
"GetIndex": { | ||
"methods": [ | ||
"get_index" | ||
] | ||
}, | ||
"ImportEntities": { | ||
"methods": [ | ||
"import_entities" | ||
] | ||
}, | ||
"ListIndexes": { | ||
"methods": [ | ||
"list_indexes" | ||
] | ||
} | ||
} | ||
}, | ||
"grpc-async": { | ||
"libraryClient": "DatastoreAdminAsyncClient", | ||
"rpcs": { | ||
"CreateIndex": { | ||
"methods": [ | ||
"create_index" | ||
] | ||
}, | ||
"DeleteIndex": { | ||
"methods": [ | ||
"delete_index" | ||
] | ||
}, | ||
"ExportEntities": { | ||
"methods": [ | ||
"export_entities" | ||
] | ||
}, | ||
"GetIndex": { | ||
"methods": [ | ||
"get_index" | ||
] | ||
}, | ||
"ImportEntities": { | ||
"methods": [ | ||
"import_entities" | ||
] | ||
}, | ||
"ListIndexes": { | ||
"methods": [ | ||
"list_indexes" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.