From 7d21cd3acbccd41754ad52ff3474055b9c351eae Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 9 Aug 2021 18:06:14 +0000 Subject: [PATCH] chore: add preserve_gapic to java library generation options (#1160) (#33) There are cases when generating a library the gapic directory prefix should be preserved (veneer clients for example). This feature adds a new parameter `preserve_gapic` to `java.gapic_library` and `java.bazel_library` Source-Link: https://github.com/googleapis/synthtool/commit/f3309620b6d0a4003489c9fb179973a44ae19860 Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:177dd09a218f3a4f613685cb775ac1abbb1b0f0269781cbbd825fb3e28ebc410 --- .github/.OwlBot.lock.yaml | 2 +- .github/workflows/ci.yaml | 2 +- README.md | 13 ------------- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 3f7432a5..4679ddcc 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:12cbdc4f137152a1a8b83f50ebc1a4098be0d3baff78b46efaec306f7cfafd13 + digest: sha256:177dd09a218f3a4f613685cb775ac1abbb1b0f0269781cbbd825fb3e28ebc410 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 65ae6ecd..0195b32f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8, 11] + java: [7, 8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 diff --git a/README.md b/README.md index bd64b5f9..84191b0d 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,11 @@ Java idiomatic client for [Binary Authorization][product-docs]. > Note: This client is a work-in-progress, and may occasionally > make backwards-incompatible changes. - ## Quickstart If you are using Maven, add this to your pom.xml file: - ```xml com.google.cloud @@ -27,13 +25,11 @@ If you are using Maven, add this to your pom.xml file: ``` If you are using Gradle without BOM, add this to your dependencies - ```Groovy compile 'com.google.cloud:google-cloud-binary-authorization:0.1.1' ``` If you are using SBT, add this to your dependencies - ```Scala libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "0.1.1" ``` @@ -42,10 +38,6 @@ libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" See the [Authentication][authentication] section in the base directory's README. -## Authorization - -The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Binary Authorization APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Binary Authorization API calls. - ## Getting Started ### Prerequisites @@ -135,7 +127,6 @@ This library follows [Semantic Versioning](http://semver.org/). It is currently in major version zero (``0.y.z``), which means that anything may change at any time and the public API should not be considered stable. - ## Contributing @@ -147,7 +138,6 @@ Please note that this project is released with a Contributor Code of Conduct. By this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information. - ## License Apache 2.0 - See [LICENSE][license] for more information. @@ -180,9 +170,6 @@ Java is a registered trademark of Oracle and/or its affiliates. [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-binary-authorization.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-binary-authorization&core=gav [authentication]: https://github.com/googleapis/google-cloud-java#authentication -[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes -[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles -[iam-policy]: https://cloud.google.com/iam/docs/overview#cloud-iam-policy [developer-console]: https://console.developers.google.com/ [create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects [cloud-sdk]: https://cloud.google.com/sdk/