Skip to content

Commit

Permalink
feat: [gke-multi-cloud] Added support for Azure workload identity fed…
Browse files Browse the repository at this point in the history
…eration (#9055)

* feat: Added support for Azure workload identity federation
feat: Added `reconciling` and `update_time` output fields to Azure Client resource.

Added support for Azure workload identity federation to replace Azure client when creating clusters to manage Azure resources.

PiperOrigin-RevId: 506534887

Source-Link: googleapis/googleapis@db56b14

Source-Link: googleapis/googleapis-gen@f76c2b5
Copy-Tag: eyJwIjoiamF2YS1na2UtbXVsdGktY2xvdWQvLk93bEJvdC55YW1sIiwiaCI6ImY3NmMyYjUyYzgxNmQ5MWJkZDdiYTVlZmExMTdjY2EwOTg5NzIwZTcifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Feb 2, 2023
1 parent 205a6eb commit 374fd84
Show file tree
Hide file tree
Showing 59 changed files with 2,437 additions and 652 deletions.
6 changes: 3 additions & 3 deletions java-gke-multi-cloud/README.md
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
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
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

0 comments on commit 374fd84

Please sign in to comment.