Skip to content
Closed
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
22 changes: 11 additions & 11 deletions generation_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1251,8 +1251,17 @@ libraries:
GAPICs:
- proto_path: google/cloud/hypercomputecluster/v1beta
requires_billing: true
- api_shortname: iam
name_pretty: IAM
- api_shortname: iam-admin
name_pretty: IAM Admin API
product_documentation: https://cloud.google.com/iam/docs/apis
api_description: you to manage your Service Accounts and IAM bindings.
release_level: stable
distribution_name: com.google.cloud:google-iam-admin
api_id: iam.googleapis.com
GAPICs:
- proto_path: google/iam/admin/v1
- api_shortname: iam-policy
name_pretty: IAM Policy
product_documentation: n/a
api_description: n/a
release_level: stable
Expand All @@ -1267,15 +1276,6 @@ libraries:
- proto_path: google/iam/v2beta
- proto_path: google/iam/v3
- proto_path: google/iam/v3beta
- api_shortname: iam-admin
name_pretty: IAM Admin API
product_documentation: https://cloud.google.com/iam/docs/apis
api_description: you to manage your Service Accounts and IAM bindings.
release_level: stable
distribution_name: com.google.cloud:google-iam-admin
api_id: iam.googleapis.com
GAPICs:
- proto_path: google/iam/admin/v1
- api_shortname: iamcredentials
name_pretty: IAM Service Account Credentials API
product_documentation: https://cloud.google.com/iam/credentials/reference/rest/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"api_shortname": "iam",
"name_pretty": "IAM",
"api_shortname": "iam-policy",
"name_pretty": "IAM Policy",
"product_documentation": "n/a",
"api_description": "n/a",
"client_documentation": "https://cloud.google.com/java/docs/reference/proto-google-iam-v1/latest/history",
"release_level": "stable",
"transport": "both",
"language": "java",
"repo": "googleapis/google-cloud-java",
"repo_short": "java-iam",
"repo_short": "java-iam-policy",
"distribution_name": "com.google.cloud:google-iam-policy",
"api_id": "iam.googleapis.com",
"api_id": "iam-policy.googleapis.com",
"library_type": "GAPIC_AUTO",
"requires_billing": true,
"excluded_dependencies": "google-iam-policy",
Expand Down
File renamed without changes.
30 changes: 15 additions & 15 deletions java-iam/README.md → java-iam-policy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Google IAM Client for Java
# Google IAM Policy Client for Java

Java idiomatic client for [IAM][product-docs].
Java idiomatic client for [IAM Policy][product-docs].

[![Maven][maven-version-image]][maven-version-link]
![Stability][stability-image]
Expand Down Expand Up @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-iam-policy</artifactId>
<version>1.83.0</version>
<version>1.84.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-iam-policy:1.83.0'
implementation 'com.google.cloud:google-iam-policy:1.84.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-iam-policy" % "1.83.0"
libraryDependencies += "com.google.cloud" % "google-iam-policy" % "1.84.0"
```

## Authentication
Expand All @@ -64,14 +64,14 @@ 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 IAM APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the IAM API calls.
The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired IAM Policy APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the IAM Policy API calls.

## Getting Started

### Prerequisites

You will need a [Google Cloud Platform Console][developer-console] project with the IAM [API enabled][enable-api].
You will need to [enable billing][enable-billing] to use Google IAM.
You will need a [Google Cloud Platform Console][developer-console] project with the IAM Policy [API enabled][enable-api].
You will need to [enable billing][enable-billing] to use Google IAM Policy.
[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 @@ -81,13 +81,13 @@ You will need to [enable billing][enable-billing] to use Google IAM.
You'll need to obtain the `google-iam-policy` library. See the [Quickstart](#quickstart) section
to add `google-iam-policy` as a dependency in your code.

## About IAM
## About IAM Policy


[IAM][product-docs] n/a
[IAM Policy][product-docs] n/a

See the [IAM client library docs][javadocs] to learn how to
use this IAM Client Library.
See the [IAM Policy client library docs][javadocs] to learn how to
use this IAM Policy Client Library.



Expand All @@ -100,7 +100,7 @@ To get help, follow the instructions in the [shared Troubleshooting document][tr

## Transport

IAM uses both gRPC and HTTP/JSON for the transport layer.
IAM Policy uses both gRPC and HTTP/JSON for the transport layer.

## Supported Java Versions

Expand Down Expand Up @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/proto-google-iam-v1/latest/history
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-iam-policy.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.83.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.84.0
[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
Expand All @@ -188,7 +188,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
[license]: https://github.com/googleapis/google-cloud-java/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=iam.googleapis.com
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=iam-policy.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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
<module>java-grafeas</module>
<module>java-gsuite-addons</module>
<module>java-hypercomputecluster</module>
<module>java-iam</module>
<module>java-iam-admin</module>
<module>java-iam-policy</module>
<module>java-iamcredentials</module>
<module>java-iap</module>
<module>java-ids</module>
Expand Down
Loading