You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/AutokeyAdminClient.java
+48-28Lines changed: 48 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -45,12 +45,13 @@
45
45
// AUTO-GENERATED DOCUMENTATION AND CLASS.
46
46
/**
47
47
* Service Description: Provides interfaces for managing [Cloud KMS
48
-
* Autokey](https://cloud.google.com/kms/help/autokey) folder-level configurations. A configuration
49
-
* is inherited by all descendent projects. A configuration at one folder overrides any other
50
-
* configurations in its ancestry. Setting a configuration on a folder is a prerequisite for Cloud
51
-
* KMS Autokey, so that users working in a descendant project can request provisioned
52
-
* [CryptoKeys][google.cloud.kms.v1.CryptoKey], ready for Customer Managed Encryption Key (CMEK)
53
-
* use, on-demand.
48
+
* Autokey](https://cloud.google.com/kms/help/autokey) folder-level or project-level configurations.
49
+
* A configuration is inherited by all descendent folders and projects. A configuration at a folder
50
+
* or project overrides any other configurations in its ancestry. Setting a configuration on a
51
+
* folder is a prerequisite for Cloud KMS Autokey, so that users working in a descendant project can
52
+
* request provisioned [CryptoKeys][google.cloud.kms.v1.CryptoKey], ready for Customer Managed
53
+
* Encryption Key (CMEK) use, on-demand when using the dedicated key project mode. This is not
54
+
* required when using the delegated key management mode for same-project keys.
54
55
*
55
56
* <p>This class provides the ability to make remote calls to the backing service through method
56
57
* calls that map to API methods. Sample code to get started:
@@ -80,7 +81,7 @@
80
81
* </tr>
81
82
* <tr>
82
83
* <td><p> UpdateAutokeyConfig</td>
83
-
* <td><p> Updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder. The caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A [KeyHandle][google.cloud.kms.v1.KeyHandle] creation in the folder's descendant projects will use this configuration to determine where to create the resulting [CryptoKey][google.cloud.kms.v1.CryptoKey].</td>
84
+
* <td><p> Updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder or a project. The caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A [KeyHandle][google.cloud.kms.v1.KeyHandle] creation in the folder's descendant projects will use this configuration to determine where to create the resulting [CryptoKey][google.cloud.kms.v1.CryptoKey].</td>
84
85
* <td>
85
86
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
86
87
* <ul>
@@ -98,7 +99,7 @@
98
99
* </tr>
99
100
* <tr>
100
101
* <td><p> GetAutokeyConfig</td>
101
-
* <td><p> Returns the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder.</td>
102
+
* <td><p> Returns the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder or project.</td>
102
103
* <td>
103
104
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
104
105
* <ul>
@@ -136,7 +137,8 @@
136
137
* </tr>
137
138
* <tr>
138
139
* <td><p> ListLocations</td>
139
-
* <td><p> Lists information about the supported locations for this service.</td>
140
+
* <td><p> Lists information about the supported locations for this service.This method can be called in two ways:
141
+
* <p> * **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.</td>
140
142
* <td>
141
143
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
142
144
* <ul>
@@ -312,8 +314,8 @@ public AutokeyAdminStub getStub() {
312
314
313
315
// AUTO-GENERATED DOCUMENTATION AND METHOD.
314
316
/**
315
-
* Updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder. The caller must
316
-
* have both `cloudkms.autokeyConfigs.update` permission on the parent folder and
317
+
* Updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder or a project. The
318
+
* caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and
317
319
* `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A
318
320
* [KeyHandle][google.cloud.kms.v1.KeyHandle] creation in the folder's descendant projects will
319
321
* use this configuration to determine where to create the resulting
@@ -352,8 +354,8 @@ public final AutokeyConfig updateAutokeyConfig(
352
354
353
355
// AUTO-GENERATED DOCUMENTATION AND METHOD.
354
356
/**
355
-
* Updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder. The caller must
356
-
* have both `cloudkms.autokeyConfigs.update` permission on the parent folder and
357
+
* Updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder or a project. The
358
+
* caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and
357
359
* `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A
358
360
* [KeyHandle][google.cloud.kms.v1.KeyHandle] creation in the folder's descendant projects will
359
361
* use this configuration to determine where to create the resulting
@@ -386,8 +388,8 @@ public final AutokeyConfig updateAutokeyConfig(UpdateAutokeyConfigRequest reques
386
388
387
389
// AUTO-GENERATED DOCUMENTATION AND METHOD.
388
390
/**
389
-
* Updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder. The caller must
390
-
* have both `cloudkms.autokeyConfigs.update` permission on the parent folder and
391
+
* Updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder or a project. The
392
+
* caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and
391
393
* `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A
392
394
* [KeyHandle][google.cloud.kms.v1.KeyHandle] creation in the folder's descendant projects will
393
395
* use this configuration to determine where to create the resulting
@@ -421,7 +423,7 @@ public final AutokeyConfig updateAutokeyConfig(UpdateAutokeyConfigRequest reques
421
423
422
424
// AUTO-GENERATED DOCUMENTATION AND METHOD.
423
425
/**
424
-
* Returns the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder.
426
+
* Returns the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder or project.
425
427
*
426
428
* <p>Sample code:
427
429
*
@@ -432,13 +434,13 @@ public final AutokeyConfig updateAutokeyConfig(UpdateAutokeyConfigRequest reques
432
434
* // - It may require specifying regional endpoints when creating the service client as shown in
Copy file name to clipboardExpand all lines: java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/AutokeyClient.java
+23-4Lines changed: 23 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,8 @@
150
150
* </tr>
151
151
* <tr>
152
152
* <td><p> ListLocations</td>
153
-
* <td><p> Lists information about the supported locations for this service.</td>
153
+
* <td><p> Lists information about the supported locations for this service.This method can be called in two ways:
154
+
* <p> * **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.</td>
154
155
* <td>
155
156
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
156
157
* <ul>
@@ -824,7 +825,13 @@ public final ListKeyHandlesPagedResponse listKeyHandles(ListKeyHandlesRequest re
824
825
825
826
// AUTO-GENERATED DOCUMENTATION AND METHOD.
826
827
/**
827
-
* Lists information about the supported locations for this service.
828
+
* Lists information about the supported locations for this service.This method can be called in
829
+
* two ways:
830
+
*
831
+
* <p>* **List all public locations:** Use the path `GET /v1/locations`.*
832
+
* **List project-visible locations:** Use the path`GET
833
+
* /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
834
+
* other locations specifically visibleto the project.
828
835
*
829
836
* <p>Sample code:
830
837
*
@@ -857,7 +864,13 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
857
864
858
865
// AUTO-GENERATED DOCUMENTATION AND METHOD.
859
866
/**
860
-
* Lists information about the supported locations for this service.
867
+
* Lists information about the supported locations for this service.This method can be called in
868
+
* two ways:
869
+
*
870
+
* <p>* **List all public locations:** Use the path `GET /v1/locations`.*
871
+
* **List project-visible locations:** Use the path`GET
872
+
* /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
873
+
* other locations specifically visibleto the project.
861
874
*
862
875
* <p>Sample code:
863
876
*
@@ -890,7 +903,13 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
890
903
891
904
// AUTO-GENERATED DOCUMENTATION AND METHOD.
892
905
/**
893
-
* Lists information about the supported locations for this service.
906
+
* Lists information about the supported locations for this service.This method can be called in
907
+
* two ways:
908
+
*
909
+
* <p>* **List all public locations:** Use the path `GET /v1/locations`.*
910
+
* **List project-visible locations:** Use the path`GET
911
+
* /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
912
+
* other locations specifically visibleto the project.
Copy file name to clipboardExpand all lines: java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/EkmServiceClient.java
+23-4Lines changed: 23 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -212,7 +212,8 @@
212
212
* </tr>
213
213
* <tr>
214
214
* <td><p> ListLocations</td>
215
-
* <td><p> Lists information about the supported locations for this service.</td>
215
+
* <td><p> Lists information about the supported locations for this service.This method can be called in two ways:
216
+
* <p> * **List all public locations:** Use the path `GET /v1/locations`.* **List project-visible locations:** Use the path`GET /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or other locations specifically visibleto the project.</td>
216
217
* <td>
217
218
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
218
219
* <ul>
@@ -1251,7 +1252,13 @@ public final VerifyConnectivityResponse verifyConnectivity(VerifyConnectivityReq
1251
1252
1252
1253
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1253
1254
/**
1254
-
* Lists information about the supported locations for this service.
1255
+
* Lists information about the supported locations for this service.This method can be called in
1256
+
* two ways:
1257
+
*
1258
+
* <p>* **List all public locations:** Use the path `GET /v1/locations`.*
1259
+
* **List project-visible locations:** Use the path`GET
1260
+
* /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
1261
+
* other locations specifically visibleto the project.
1255
1262
*
1256
1263
* <p>Sample code:
1257
1264
*
@@ -1284,7 +1291,13 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
1284
1291
1285
1292
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1286
1293
/**
1287
-
* Lists information about the supported locations for this service.
1294
+
* Lists information about the supported locations for this service.This method can be called in
1295
+
* two ways:
1296
+
*
1297
+
* <p>* **List all public locations:** Use the path `GET /v1/locations`.*
1298
+
* **List project-visible locations:** Use the path`GET
1299
+
* /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
1300
+
* other locations specifically visibleto the project.
1288
1301
*
1289
1302
* <p>Sample code:
1290
1303
*
@@ -1318,7 +1331,13 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
1318
1331
1319
1332
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1320
1333
/**
1321
-
* Lists information about the supported locations for this service.
1334
+
* Lists information about the supported locations for this service.This method can be called in
1335
+
* two ways:
1336
+
*
1337
+
* <p>* **List all public locations:** Use the path `GET /v1/locations`.*
1338
+
* **List project-visible locations:** Use the path`GET
1339
+
* /v1/projects/{project_id}/locations`. This may include publiclocations as well as private or
1340
+
* other locations specifically visibleto the project.
0 commit comments