From 2fb5226193b97b237996eced4a48689b7a971035 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Tue, 27 Jul 2021 20:56:22 +0000 Subject: [PATCH 1/2] chore: regenerate README --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index c9bbb306..0d428482 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-analytics-admin.git", - "sha": "9718b466d2decac7ce67497938811dde0aa38062" + "sha": "d22e529264c18408c18e708cfc1c050aae945b7c" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "387851d0e88ca4a5b1771ad63d915bed1bd4a740" + "sha": "3d32990b6f4b57be77455e3ca89e6e21cd0c06b3" } } ] diff --git a/README.md b/README.md index 1065f8b6..da04879e 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,13 @@ Java idiomatic client for [Analytics Admin][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.analytics @@ -25,11 +27,13 @@ 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.analytics:google-analytics-admin:0.4.0' ``` If you are using SBT, add this to your dependencies + ```Scala libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.4.0" ``` @@ -38,6 +42,10 @@ libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.4. 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 Analytics Admin APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Analytics Admin API calls. + ## Getting Started ### Prerequisites @@ -136,6 +144,7 @@ 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,6 +156,7 @@ 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. @@ -179,6 +189,9 @@ Java is a registered trademark of Oracle and/or its affiliates. [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.analytics%20AND%20a:google-analytics-admin&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/ From 76995f12bf78c7640ac225a4a0317a43e93297dc Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 27 Jul 2021 20:59:12 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md --- README.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/README.md b/README.md index da04879e..1065f8b6 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,11 @@ Java idiomatic client for [Analytics Admin][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.analytics @@ -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.analytics:google-analytics-admin:0.4.0' ``` If you are using SBT, add this to your dependencies - ```Scala libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.4.0" ``` @@ -42,10 +38,6 @@ libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.4. 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 Analytics Admin APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Analytics Admin API calls. - ## Getting Started ### Prerequisites @@ -144,7 +136,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 @@ -156,7 +147,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. @@ -189,9 +179,6 @@ Java is a registered trademark of Oracle and/or its affiliates. [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.analytics%20AND%20a:google-analytics-admin&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/