Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: demo of generation without unused grpc deps #1530

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
"api_shortname": "datastore",
"name_pretty": "Cloud Datastore",
"product_documentation": "https://cloud.google.com/datastore",
"api_description": "is a fully managed, schemaless database for\\nstoring non-relational data. Cloud Datastore automatically scales with\\nyour users and supports ACID transactions, high availability of reads and\\nwrites, strong consistency for reads and ancestor queries, and eventual\\nconsistency for all other queries.",
"client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/history",
"issue_tracker": "https://issuetracker.google.com/savedsearches/559768",
"release_level": "stable",
"transport": "both",
"language": "java",
"repo": "googleapis/java-datastore",
"repo_short": "java-datastore",
"distribution_name": "com.google.cloud:google-cloud-datastore",
"codeowner_team": "@googleapis/cloud-native-db-dpes @googleapis/api-datastore-sdk @googleapis/api-firestore-partners",
"api_id": "datastore.googleapis.com",
"library_type": "GAPIC_COMBO",
"api_description": "is a fully managed, schemaless database for\nstoring non-relational data. Cloud Datastore automatically scales with\nyour users and supports ACID transactions, high availability of reads and\nwrites, strong consistency for reads and ancestor queries, and eventual\nconsistency for all other queries.",
"requires_billing": true,
"codeowner_team": "@googleapis/cloud-native-db-dpes @googleapis/api-datastore-sdk @googleapis/api-firestore-partners",
"excluded_dependencies": "grpc-google-cloud-datastore-v1",
"extra_versioned_modules": "datastore-v1-proto-client",
"excluded_poms": "grpc-google-cloud-datastore-v1",
"issue_tracker": "https://issuetracker.google.com/savedsearches/559768",
"extra_versioned_modules": "datastore-v1-proto-client",
"recommended_package": "com.google.cloud.datastore"
}
}
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ If you are using Maven without the BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies:

```Groovy
implementation platform('com.google.cloud:libraries-bom:26.42.0')
implementation platform('com.google.cloud:libraries-bom:26.38.0')

implementation 'com.google.cloud:google-cloud-datastore'
```
Expand Down Expand Up @@ -80,7 +80,7 @@ The client application making API calls must be granted [authorization scopes][a
### Prerequisites

You will need a [Google Cloud Platform Console][developer-console] project with the Cloud Datastore [API enabled][enable-api].

You will need to [enable billing][enable-billing] to use Google Cloud Datastore.
[Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by
[installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line:
`gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.
Expand All @@ -93,11 +93,7 @@ to add `google-cloud-datastore` as a dependency in your code.
## About Cloud Datastore


[Cloud Datastore][product-docs] is a fully managed, schemaless database for
storing non-relational data. Cloud Datastore automatically scales with
your users and supports ACID transactions, high availability of reads and
writes, strong consistency for reads and ancestor queries, and eventual
consistency for all other queries.
[Cloud Datastore][product-docs] is a fully managed, schemaless database for\nstoring non-relational data. Cloud Datastore automatically scales with\nyour users and supports ACID transactions, high availability of reads and\nwrites, strong consistency for reads and ancestor queries, and eventual\nconsistency for all other queries.

See the [Cloud Datastore client library docs][javadocs] to learn how to
use this Cloud Datastore Client Library.
Expand Down Expand Up @@ -388,6 +384,10 @@ Samples are in the [`samples/`](https://github.com/googleapis/java-datastore/tre

To get help, follow the instructions in the [shared Troubleshooting document][troubleshooting].

## Transport

Cloud Datastore uses both gRPC and HTTP/JSON for the transport layer.

## Supported Java Versions

Java 8 or above is required for using this client.
Expand Down Expand Up @@ -492,7 +492,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[contributing]: https://github.com/googleapis/java-datastore/blob/main/CONTRIBUTING.md
[code-of-conduct]: https://github.com/googleapis/java-datastore/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
[license]: https://github.com/googleapis/java-datastore/blob/main/LICENSE

[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=datastore.googleapis.com
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
Expand Down
4 changes: 2 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"fileMatch": [
"^.kokoro/presubmit/graalvm-native.*.cfg$"
],
"matchStrings": ["value: \"gcr.io/cloud-devrel-public-resources/graalvm.*:(?<currentValue>.*?)\""],
Expand All @@ -30,7 +30,7 @@
{
"customType": "regex",
"fileMatch": [
"^.github/workflows/unmanaged_dependency_check.yaml$"
"^.github/workflows/unmanaged_dependency_check.yaml$"
],
"matchStrings": ["uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v(?<currentValue>.+?)\\n"],
"depNameTemplate": "com.google.cloud:sdk-platform-java-config",
Expand Down
Loading