Skip to content

Commit 074b3d8

Browse files
feat: Added support for Azure workload identity federation (#57)
* 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: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjc2YzJiNTJjODE2ZDkxYmRkN2JhNWVmYTExN2NjYTA5ODk3MjBlNyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * restore REST support --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 8a23392 commit 074b3d8

27 files changed

+202
-98
lines changed

packages/google-cloud-gke-multicloud/google/cloud/gke_multicloud/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
AzureNodePoolError,
116116
AzureProxyConfig,
117117
AzureServerConfig,
118+
AzureServicesAuthentication,
118119
AzureSshConfig,
119120
ReplicaPlacement,
120121
)
@@ -229,6 +230,7 @@
229230
"AzureNodePoolError",
230231
"AzureProxyConfig",
231232
"AzureServerConfig",
233+
"AzureServicesAuthentication",
232234
"AzureSshConfig",
233235
"ReplicaPlacement",
234236
"CreateAzureClientRequest",

packages/google-cloud-gke-multicloud/google/cloud/gke_multicloud_v1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
AzureNodePoolError,
104104
AzureProxyConfig,
105105
AzureServerConfig,
106+
AzureServicesAuthentication,
106107
AzureSshConfig,
107108
ReplicaPlacement,
108109
)
@@ -192,6 +193,7 @@
192193
"AzureNodePoolError",
193194
"AzureProxyConfig",
194195
"AzureServerConfig",
196+
"AzureServicesAuthentication",
195197
"AzureSshConfig",
196198
"CreateAttachedClusterRequest",
197199
"CreateAwsClusterRequest",

packages/google-cloud-gke-multicloud/google/cloud/gke_multicloud_v1/services/attached_clusters/async_client.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ async def create_attached_cluster(
251251
) -> operation_async.AsyncOperation:
252252
r"""Creates a new
253253
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
254-
resource on a given GCP project and region.
254+
resource on a given Google Cloud Platform project and region.
255255
256256
If successful, the response contains a newly created
257257
[Operation][google.longrunning.Operation] resource that can be
@@ -759,7 +759,8 @@ async def sample_get_attached_cluster():
759759
760760
See `Resource
761761
Names <https://cloud.google.com/apis/design/resource_names>`__
762-
for more details on GCP resource names.
762+
for more details on Google Cloud Platform resource
763+
names.
763764
764765
This corresponds to the ``name`` field
765766
on the ``request`` instance; if ``request`` is provided, this
@@ -884,7 +885,8 @@ async def sample_list_attached_clusters():
884885
885886
See `Resource
886887
Names <https://cloud.google.com/apis/design/resource_names>`__
887-
for more details on GCP resource names.
888+
for more details on Google Cloud Platform resource
889+
names.
888890
889891
This corresponds to the ``parent`` field
890892
on the ``request`` instance; if ``request`` is provided, this
@@ -1027,7 +1029,8 @@ async def sample_delete_attached_cluster():
10271029
10281030
See `Resource
10291031
Names <https://cloud.google.com/apis/design/resource_names>`__
1030-
for more details on GCP resource names.
1032+
for more details on Google Cloud Platform resource
1033+
names.
10311034
10321035
This corresponds to the ``name`` field
10331036
on the ``request`` instance; if ``request`` is provided, this
@@ -1291,7 +1294,7 @@ async def sample_generate_attached_cluster_install_manifest():
12911294
on the ``request`` instance; if ``request`` is provided, this
12921295
should not be set.
12931296
attached_cluster_id (:class:`str`):
1294-
Required. A client provided ID the resource. Must be
1297+
Required. A client provided ID of the resource. Must be
12951298
unique within the parent resource.
12961299
12971300
The provided ID will be part of the
@@ -1307,7 +1310,7 @@ async def sample_generate_attached_cluster_install_manifest():
13071310
field must be the Membership id.
13081311
13091312
Membership names are formatted as
1310-
``resource name formatted as``\ projects//locations//memberships/\`.
1313+
``projects/<project-id>/locations/<region>/memberships/<membership-id>``.
13111314
13121315
This corresponds to the ``attached_cluster_id`` field
13131316
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-gke-multicloud/google/cloud/gke_multicloud_v1/services/attached_clusters/client.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def create_attached_cluster(
495495
) -> operation.Operation:
496496
r"""Creates a new
497497
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
498-
resource on a given GCP project and region.
498+
resource on a given Google Cloud Platform project and region.
499499
500500
If successful, the response contains a newly created
501501
[Operation][google.longrunning.Operation] resource that can be
@@ -1003,7 +1003,8 @@ def sample_get_attached_cluster():
10031003
10041004
See `Resource
10051005
Names <https://cloud.google.com/apis/design/resource_names>`__
1006-
for more details on GCP resource names.
1006+
for more details on Google Cloud Platform resource
1007+
names.
10071008
10081009
This corresponds to the ``name`` field
10091010
on the ``request`` instance; if ``request`` is provided, this
@@ -1119,7 +1120,8 @@ def sample_list_attached_clusters():
11191120
11201121
See `Resource
11211122
Names <https://cloud.google.com/apis/design/resource_names>`__
1122-
for more details on GCP resource names.
1123+
for more details on Google Cloud Platform resource
1124+
names.
11231125
11241126
This corresponds to the ``parent`` field
11251127
on the ``request`` instance; if ``request`` is provided, this
@@ -1253,7 +1255,8 @@ def sample_delete_attached_cluster():
12531255
12541256
See `Resource
12551257
Names <https://cloud.google.com/apis/design/resource_names>`__
1256-
for more details on GCP resource names.
1258+
for more details on Google Cloud Platform resource
1259+
names.
12571260
12581261
This corresponds to the ``name`` field
12591262
on the ``request`` instance; if ``request`` is provided, this
@@ -1510,7 +1513,7 @@ def sample_generate_attached_cluster_install_manifest():
15101513
on the ``request`` instance; if ``request`` is provided, this
15111514
should not be set.
15121515
attached_cluster_id (str):
1513-
Required. A client provided ID the resource. Must be
1516+
Required. A client provided ID of the resource. Must be
15141517
unique within the parent resource.
15151518
15161519
The provided ID will be part of the
@@ -1526,7 +1529,7 @@ def sample_generate_attached_cluster_install_manifest():
15261529
field must be the Membership id.
15271530
15281531
Membership names are formatted as
1529-
``resource name formatted as``\ projects//locations//memberships/\`.
1532+
``projects/<project-id>/locations/<region>/memberships/<membership-id>``.
15301533
15311534
This corresponds to the ``attached_cluster_id`` field
15321535
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-gke-multicloud/google/cloud/gke_multicloud_v1/services/attached_clusters/transports/grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def create_attached_cluster(
256256
257257
Creates a new
258258
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
259-
resource on a given GCP project and region.
259+
resource on a given Google Cloud Platform project and region.
260260
261261
If successful, the response contains a newly created
262262
[Operation][google.longrunning.Operation] resource that can be

packages/google-cloud-gke-multicloud/google/cloud/gke_multicloud_v1/services/attached_clusters/transports/grpc_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def create_attached_cluster(
262262
263263
Creates a new
264264
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
265-
resource on a given GCP project and region.
265+
resource on a given Google Cloud Platform project and region.
266266
267267
If successful, the response contains a newly created
268268
[Operation][google.longrunning.Operation] resource that can be

packages/google-cloud-gke-multicloud/google/cloud/gke_multicloud_v1/services/aws_clusters/async_client.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ async def create_aws_cluster(
243243
) -> operation_async.AsyncOperation:
244244
r"""Creates a new
245245
[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
246-
on a given GCP project and region.
246+
on a given Google Cloud Platform project and region.
247247
248248
If successful, the response contains a newly created
249249
[Operation][google.longrunning.Operation] resource that can be
@@ -629,7 +629,8 @@ async def sample_get_aws_cluster():
629629
630630
See `Resource
631631
Names <https://cloud.google.com/apis/design/resource_names>`__
632-
for more details on GCP resource names.
632+
for more details on Google Cloud Platform resource
633+
names.
633634
634635
This corresponds to the ``name`` field
635636
on the ``request`` instance; if ``request`` is provided, this
@@ -749,7 +750,8 @@ async def sample_list_aws_clusters():
749750
750751
See `Resource
751752
Names <https://cloud.google.com/apis/design/resource_names>`__
752-
for more details on GCP resource names.
753+
for more details on Google Cloud Platform resource
754+
names.
753755
754756
This corresponds to the ``parent`` field
755757
on the ``request`` instance; if ``request`` is provided, this
@@ -892,7 +894,8 @@ async def sample_delete_aws_cluster():
892894
893895
See `Resource
894896
Names <https://cloud.google.com/apis/design/resource_names>`__
895-
for more details on GCP resource names.
897+
for more details on Google Cloud Platform resource
898+
names.
896899
897900
This corresponds to the ``name`` field
898901
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-gke-multicloud/google/cloud/gke_multicloud_v1/services/aws_clusters/client.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def create_aws_cluster(
517517
) -> operation.Operation:
518518
r"""Creates a new
519519
[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
520-
on a given GCP project and region.
520+
on a given Google Cloud Platform project and region.
521521
522522
If successful, the response contains a newly created
523523
[Operation][google.longrunning.Operation] resource that can be
@@ -903,7 +903,8 @@ def sample_get_aws_cluster():
903903
904904
See `Resource
905905
Names <https://cloud.google.com/apis/design/resource_names>`__
906-
for more details on GCP resource names.
906+
for more details on Google Cloud Platform resource
907+
names.
907908
908909
This corresponds to the ``name`` field
909910
on the ``request`` instance; if ``request`` is provided, this
@@ -1014,7 +1015,8 @@ def sample_list_aws_clusters():
10141015
10151016
See `Resource
10161017
Names <https://cloud.google.com/apis/design/resource_names>`__
1017-
for more details on GCP resource names.
1018+
for more details on Google Cloud Platform resource
1019+
names.
10181020
10191021
This corresponds to the ``parent`` field
10201022
on the ``request`` instance; if ``request`` is provided, this
@@ -1148,7 +1150,8 @@ def sample_delete_aws_cluster():
11481150
11491151
See `Resource
11501152
Names <https://cloud.google.com/apis/design/resource_names>`__
1151-
for more details on GCP resource names.
1153+
for more details on Google Cloud Platform resource
1154+
names.
11521155
11531156
This corresponds to the ``name`` field
11541157
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-gke-multicloud/google/cloud/gke_multicloud_v1/services/aws_clusters/transports/grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def create_aws_cluster(
254254
255255
Creates a new
256256
[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
257-
on a given GCP project and region.
257+
on a given Google Cloud Platform project and region.
258258
259259
If successful, the response contains a newly created
260260
[Operation][google.longrunning.Operation] resource that can be

packages/google-cloud-gke-multicloud/google/cloud/gke_multicloud_v1/services/aws_clusters/transports/grpc_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def create_aws_cluster(
261261
262262
Creates a new
263263
[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
264-
on a given GCP project and region.
264+
on a given Google Cloud Platform project and region.
265265
266266
If successful, the response contains a newly created
267267
[Operation][google.longrunning.Operation] resource that can be

0 commit comments

Comments
 (0)