Skip to content

Commit a46ee38

Browse files
chore: regenerate README (#769)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-07-28 13:52:44,775 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-pubsublite/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-07-28 13:52:46,092 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/a98caf9e-72c3-40b6-b340-e50a1f5460b3/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
1 parent 8693885 commit a46ee38

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.github/readme/synth.metadata/synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-pubsublite.git",
7-
"sha": "6de861d8d86e576de6fd2d1e4b222b499d461337"
7+
"sha": "c34e4303cfb8ce9d0b812ad5c1dd306af32a544e"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "dd05f9d12f134871c9e45282349c9856fbebecdd"
14+
"sha": "3d32990b6f4b57be77455e3ca89e6e21cd0c06b3"
1515
}
1616
}
1717
]

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ Java idiomatic client for [Cloud Pub/Sub Lite][product-docs].
1111
> Note: This client is a work-in-progress, and may occasionally
1212
> make backwards-incompatible changes.
1313
14+
1415
## Quickstart
1516

1617

1718
If you are using Maven, add this to your pom.xml file:
1819

20+
1921
```xml
2022
<dependency>
2123
<groupId>com.google.cloud</groupId>
@@ -31,19 +33,25 @@ If you are using Maven, add this to your pom.xml file:
3133
```
3234

3335
If you are using Gradle without BOM, add this to your dependencies
36+
3437
```Groovy
35-
compile 'com.google.cloud:google-cloud-pubsublite:0.16.1'
38+
compile 'com.google.cloud:google-cloud-pubsublite:0.17.0'
3639
```
3740

3841
If you are using SBT, add this to your dependencies
42+
3943
```Scala
40-
libraryDependencies += "com.google.cloud" % "google-cloud-pubsublite" % "0.16.1"
44+
libraryDependencies += "com.google.cloud" % "google-cloud-pubsublite" % "0.17.0"
4145
```
4246

4347
## Authentication
4448

4549
See the [Authentication][authentication] section in the base directory's README.
4650

51+
## Authorization
52+
53+
The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Cloud Pub/Sub Lite APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Cloud Pub/Sub Lite API calls.
54+
4755
## Getting Started
4856

4957
### Prerequisites
@@ -432,6 +440,7 @@ This library follows [Semantic Versioning](http://semver.org/).
432440
It is currently in major version zero (``0.y.z``), which means that anything may change at any time
433441
and the public API should not be considered stable.
434442

443+
435444
## Contributing
436445

437446

@@ -443,6 +452,7 @@ Please note that this project is released with a Contributor Code of Conduct. By
443452
this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more
444453
information.
445454

455+
446456
## License
447457

448458
Apache 2.0 - See [LICENSE][license] for more information.
@@ -474,6 +484,9 @@ Java is a registered trademark of Oracle and/or its affiliates.
474484
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsublite.svg
475485
[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-pubsublite&core=gav
476486
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
487+
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
488+
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
489+
[iam-policy]: https://cloud.google.com/iam/docs/overview#cloud-iam-policy
477490
[developer-console]: https://console.developers.google.com/
478491
[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects
479492
[cloud-sdk]: https://cloud.google.com/sdk/

0 commit comments

Comments
 (0)