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

feat: [gke-multi-cloud] Added support for Azure workload identity federation #9055

Merged
merged 2 commits into from
Feb 2, 2023
Merged
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
6 changes: 3 additions & 3 deletions java-gke-multi-cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-gke-multi-cloud</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.7.0'
implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.8.0'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.7.0"
libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.8.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public final OperationsClient getHttpJsonOperationsClient() {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a
* given GCP project and region.
* given Google Cloud Platform project and region.
*
* <p>If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be described to track the status of
Expand Down Expand Up @@ -266,7 +266,7 @@ public final OperationFuture<AttachedCluster, OperationMetadata> createAttachedC
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a
* given GCP project and region.
* given Google Cloud Platform project and region.
*
* <p>If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be described to track the status of
Expand Down Expand Up @@ -320,7 +320,7 @@ public final OperationFuture<AttachedCluster, OperationMetadata> createAttachedC
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a
* given GCP project and region.
* given Google Cloud Platform project and region.
*
* <p>If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be described to track the status of
Expand Down Expand Up @@ -357,7 +357,7 @@ public final OperationFuture<AttachedCluster, OperationMetadata> createAttachedC
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a
* given GCP project and region.
* given Google Cloud Platform project and region.
*
* <p>If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be described to track the status of
Expand Down Expand Up @@ -394,7 +394,7 @@ public final OperationFuture<AttachedCluster, OperationMetadata> createAttachedC
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a
* given GCP project and region.
* given Google Cloud Platform project and region.
*
* <p>If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be described to track the status of
Expand Down Expand Up @@ -800,7 +800,7 @@ public final OperationFuture<AttachedCluster, OperationMetadata> importAttachedC
* <p>`AttachedCluster` names are formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/attachedClusters/&lt;cluster-id&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final AttachedCluster getAttachedCluster(AttachedClusterName name) {
Expand Down Expand Up @@ -835,7 +835,7 @@ public final AttachedCluster getAttachedCluster(AttachedClusterName name) {
* <p>`AttachedCluster` names are formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/attachedClusters/&lt;cluster-id&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final AttachedCluster getAttachedCluster(String name) {
Expand Down Expand Up @@ -931,7 +931,7 @@ public final AttachedCluster getAttachedCluster(GetAttachedClusterRequest reques
* [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
* <p>Location names are formatted as `projects/&lt;project-id&gt;/locations/&lt;region&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListAttachedClustersPagedResponse listAttachedClusters(LocationName parent) {
Expand Down Expand Up @@ -968,7 +968,7 @@ public final ListAttachedClustersPagedResponse listAttachedClusters(LocationName
* [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
* <p>Location names are formatted as `projects/&lt;project-id&gt;/locations/&lt;region&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListAttachedClustersPagedResponse listAttachedClusters(String parent) {
Expand Down Expand Up @@ -1115,7 +1115,7 @@ public final ListAttachedClustersPagedResponse listAttachedClusters(
* <p>`AttachedCluster` names are formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/attachedClusters/&lt;cluster-id&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final OperationFuture<Empty, OperationMetadata> deleteAttachedClusterAsync(
Expand Down Expand Up @@ -1155,7 +1155,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteAttachedClusterAsyn
* <p>`AttachedCluster` names are formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/attachedClusters/&lt;cluster-id&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final OperationFuture<Empty, OperationMetadata> deleteAttachedClusterAsync(String name) {
Expand Down Expand Up @@ -1432,15 +1432,15 @@ public final AttachedServerConfig getAttachedServerConfig(
* <p>Location names are formatted as `projects/&lt;project-id&gt;/locations/&lt;region&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on Google Cloud resource names.
* @param attachedClusterId Required. A client provided ID the resource. Must be unique within the
* parent resource.
* @param attachedClusterId Required. A client provided ID of the resource. Must be unique within
* the parent resource.
* <p>The provided ID will be part of the
* [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource name formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/attachedClusters/&lt;cluster-id&gt;`.
* <p>Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
* <p>When generating an install manifest for importing an existing Membership resource, the
* attached_cluster_id field must be the Membership id.
* <p>Membership names are formatted as `resource name formatted as
* <p>Membership names are formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/memberships/&lt;membership-id&gt;`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -1479,15 +1479,15 @@ public final AttachedServerConfig getAttachedServerConfig(
* <p>Location names are formatted as `projects/&lt;project-id&gt;/locations/&lt;region&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on Google Cloud resource names.
* @param attachedClusterId Required. A client provided ID the resource. Must be unique within the
* parent resource.
* @param attachedClusterId Required. A client provided ID of the resource. Must be unique within
* the parent resource.
* <p>The provided ID will be part of the
* [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource name formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/attachedClusters/&lt;cluster-id&gt;`.
* <p>Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
* <p>When generating an install manifest for importing an existing Membership resource, the
* attached_cluster_id field must be the Membership id.
* <p>Membership names are formatted as `resource name formatted as
* <p>Membership names are formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/memberships/&lt;membership-id&gt;`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ public final OperationsClient getHttpJsonOperationsClient() {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP
* project and region.
* Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given Google
* Cloud Platform project and region.
*
* <p>If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be described to track the status of
Expand Down Expand Up @@ -256,8 +256,8 @@ public final OperationFuture<AwsCluster, OperationMetadata> createAwsClusterAsyn

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP
* project and region.
* Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given Google
* Cloud Platform project and region.
*
* <p>If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be described to track the status of
Expand Down Expand Up @@ -308,8 +308,8 @@ public final OperationFuture<AwsCluster, OperationMetadata> createAwsClusterAsyn

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP
* project and region.
* Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given Google
* Cloud Platform project and region.
*
* <p>If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be described to track the status of
Expand Down Expand Up @@ -345,8 +345,8 @@ public final OperationFuture<AwsCluster, OperationMetadata> createAwsClusterAsyn

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP
* project and region.
* Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given Google
* Cloud Platform project and region.
*
* <p>If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be described to track the status of
Expand Down Expand Up @@ -382,8 +382,8 @@ public final OperationFuture<AwsCluster, OperationMetadata> createAwsClusterAsyn

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP
* project and region.
* Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given Google
* Cloud Platform project and region.
*
* <p>If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be described to track the status of
Expand Down Expand Up @@ -579,7 +579,7 @@ public final UnaryCallable<UpdateAwsClusterRequest, Operation> updateAwsClusterC
* <p>`AwsCluster` names are formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/awsClusters/&lt;cluster-id&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final AwsCluster getAwsCluster(AwsClusterName name) {
Expand Down Expand Up @@ -611,7 +611,7 @@ public final AwsCluster getAwsCluster(AwsClusterName name) {
* <p>`AwsCluster` names are formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/awsClusters/&lt;cluster-id&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final AwsCluster getAwsCluster(String name) {
Expand Down Expand Up @@ -699,7 +699,7 @@ public final UnaryCallable<GetAwsClusterRequest, AwsCluster> getAwsClusterCallab
* [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
* <p>Location names are formatted as `projects/&lt;project-id&gt;/locations/&lt;region&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListAwsClustersPagedResponse listAwsClusters(LocationName parent) {
Expand Down Expand Up @@ -735,7 +735,7 @@ public final ListAwsClustersPagedResponse listAwsClusters(LocationName parent) {
* [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
* <p>Location names are formatted as `projects/&lt;project-id&gt;/locations/&lt;region&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListAwsClustersPagedResponse listAwsClusters(String parent) {
Expand Down Expand Up @@ -881,7 +881,7 @@ public final ListAwsClustersPagedResponse listAwsClusters(ListAwsClustersRequest
* <p>`AwsCluster` names are formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/awsClusters/&lt;cluster-id&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final OperationFuture<Empty, OperationMetadata> deleteAwsClusterAsync(
Expand Down Expand Up @@ -921,7 +921,7 @@ public final OperationFuture<Empty, OperationMetadata> deleteAwsClusterAsync(
* <p>`AwsCluster` names are formatted as
* `projects/&lt;project-id&gt;/locations/&lt;region&gt;/awsClusters/&lt;cluster-id&gt;`.
* <p>See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more
* details on GCP resource names.
* details on Google Cloud Platform resource names.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final OperationFuture<Empty, OperationMetadata> deleteAwsClusterAsync(String name) {
Expand Down
Loading