Skip to content

Commit 0843d21

Browse files
feat(all): auto-regenerate discovery clients (#2565)
1 parent fe54ffd commit 0843d21

27 files changed

+2568
-2129
lines changed

accesscontextmanager/v1/accesscontextmanager-api.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@
12901290
}
12911291
}
12921292
},
1293-
"revision": "20240417",
1293+
"revision": "20240429",
12941294
"rootUrl": "https://accesscontextmanager.googleapis.com/",
12951295
"schemas": {
12961296
"AccessContextManagerOperationMetadata": {
@@ -1374,6 +1374,21 @@
13741374
},
13751375
"type": "object"
13761376
},
1377+
"Application": {
1378+
"description": "An application that accesses Google Cloud APIs.",
1379+
"id": "Application",
1380+
"properties": {
1381+
"clientId": {
1382+
"description": "The OAuth client ID of the application.",
1383+
"type": "string"
1384+
},
1385+
"name": {
1386+
"description": "The name of the application. Example: \"Cloud Console\"",
1387+
"type": "string"
1388+
}
1389+
},
1390+
"type": "object"
1391+
},
13771392
"AuditConfig": {
13781393
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:[email protected]\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:[email protected]\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]` from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.",
13791394
"id": "AuditConfig",
@@ -1843,6 +1858,13 @@
18431858
"name": {
18441859
"description": "Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: \"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N\"",
18451860
"type": "string"
1861+
},
1862+
"restrictedClientApplications": {
1863+
"description": "Optional. A list of applications that are subject to this binding's restrictions. If the list is empty, the binding restrictions will universally apply to all applications.",
1864+
"items": {
1865+
"$ref": "Application"
1866+
},
1867+
"type": "array"
18461868
}
18471869
},
18481870
"type": "object"

accesscontextmanager/v1/accesscontextmanager-gen.go

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api-list.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2901,21 +2901,6 @@
29012901
"documentationLink": "https://cloud.google.com/essentialcontacts/docs/",
29022902
"preferred": true
29032903
},
2904-
{
2905-
"kind": "discovery#directoryItem",
2906-
"id": "eventarc:v1beta1",
2907-
"name": "eventarc",
2908-
"version": "v1beta1",
2909-
"title": "Eventarc API",
2910-
"description": "Build event-driven applications on Google Cloud Platform.",
2911-
"discoveryRestUrl": "https://eventarc.googleapis.com/$discovery/rest?version=v1beta1",
2912-
"icons": {
2913-
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
2914-
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
2915-
},
2916-
"documentationLink": "https://cloud.google.com/eventarc",
2917-
"preferred": false
2918-
},
29192904
{
29202905
"kind": "discovery#directoryItem",
29212906
"id": "eventarc:v1",

baremetalsolution/v2/baremetalsolution-api.json

Lines changed: 119 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,34 @@
206206
"https://www.googleapis.com/auth/cloud-platform"
207207
]
208208
},
209+
"disableHyperthreading": {
210+
"description": "Perform disable hyperthreading operation on a single server.",
211+
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:disableHyperthreading",
212+
"httpMethod": "POST",
213+
"id": "baremetalsolution.projects.locations.instances.disableHyperthreading",
214+
"parameterOrder": [
215+
"name"
216+
],
217+
"parameters": {
218+
"name": {
219+
"description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}",
220+
"location": "path",
221+
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
222+
"required": true,
223+
"type": "string"
224+
}
225+
},
226+
"path": "v2/{+name}:disableHyperthreading",
227+
"request": {
228+
"$ref": "DisableHyperthreadingRequest"
229+
},
230+
"response": {
231+
"$ref": "Operation"
232+
},
233+
"scopes": [
234+
"https://www.googleapis.com/auth/cloud-platform"
235+
]
236+
},
209237
"disableInteractiveSerialConsole": {
210238
"description": "Disable the interactive serial console feature on an instance.",
211239
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:disableInteractiveSerialConsole",
@@ -234,6 +262,34 @@
234262
"https://www.googleapis.com/auth/cloud-platform"
235263
]
236264
},
265+
"enableHyperthreading": {
266+
"description": "Perform enable hyperthreading operation on a single server.",
267+
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:enableHyperthreading",
268+
"httpMethod": "POST",
269+
"id": "baremetalsolution.projects.locations.instances.enableHyperthreading",
270+
"parameterOrder": [
271+
"name"
272+
],
273+
"parameters": {
274+
"name": {
275+
"description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}",
276+
"location": "path",
277+
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
278+
"required": true,
279+
"type": "string"
280+
}
281+
},
282+
"path": "v2/{+name}:enableHyperthreading",
283+
"request": {
284+
"$ref": "EnableHyperthreadingRequest"
285+
},
286+
"response": {
287+
"$ref": "Operation"
288+
},
289+
"scopes": [
290+
"https://www.googleapis.com/auth/cloud-platform"
291+
]
292+
},
237293
"enableInteractiveSerialConsole": {
238294
"description": "Enable the interactive serial console feature on an instance.",
239295
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:enableInteractiveSerialConsole",
@@ -387,6 +443,34 @@
387443
"https://www.googleapis.com/auth/cloud-platform"
388444
]
389445
},
446+
"reimage": {
447+
"description": "Perform reimage operation on a single server.",
448+
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:reimage",
449+
"httpMethod": "POST",
450+
"id": "baremetalsolution.projects.locations.instances.reimage",
451+
"parameterOrder": [
452+
"name"
453+
],
454+
"parameters": {
455+
"name": {
456+
"description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}",
457+
"location": "path",
458+
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
459+
"required": true,
460+
"type": "string"
461+
}
462+
},
463+
"path": "v2/{+name}:reimage",
464+
"request": {
465+
"$ref": "ReimageInstanceRequest"
466+
},
467+
"response": {
468+
"$ref": "Operation"
469+
},
470+
"scopes": [
471+
"https://www.googleapis.com/auth/cloud-platform"
472+
]
473+
},
390474
"rename": {
391475
"description": "RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.",
392476
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:rename",
@@ -1638,7 +1722,7 @@
16381722
}
16391723
}
16401724
},
1641-
"revision": "20240214",
1725+
"revision": "20240422",
16421726
"rootUrl": "https://baremetalsolution.googleapis.com/",
16431727
"schemas": {
16441728
"AllowedClient": {
@@ -1707,6 +1791,12 @@
17071791
},
17081792
"type": "object"
17091793
},
1794+
"DisableHyperthreadingRequest": {
1795+
"description": "Message requesting to perform disable hyperthreading operation on a server.",
1796+
"id": "DisableHyperthreadingRequest",
1797+
"properties": {},
1798+
"type": "object"
1799+
},
17101800
"DisableInteractiveSerialConsoleRequest": {
17111801
"description": "Message for disabling the interactive serial console on an instance.",
17121802
"id": "DisableInteractiveSerialConsoleRequest",
@@ -1725,6 +1815,12 @@
17251815
"properties": {},
17261816
"type": "object"
17271817
},
1818+
"EnableHyperthreadingRequest": {
1819+
"description": "Message requesting to perform enable hyperthreading operation on a server.",
1820+
"id": "EnableHyperthreadingRequest",
1821+
"properties": {},
1822+
"type": "object"
1823+
},
17281824
"EnableInteractiveSerialConsoleRequest": {
17291825
"description": "Message for enabling the interactive serial console on an instance.",
17301826
"id": "EnableInteractiveSerialConsoleRequest",
@@ -3175,6 +3271,28 @@
31753271
},
31763272
"type": "object"
31773273
},
3274+
"ReimageInstanceRequest": {
3275+
"description": "Message requesting to perform reimage operation on a server.",
3276+
"id": "ReimageInstanceRequest",
3277+
"properties": {
3278+
"kmsKeyVersion": {
3279+
"description": "Optional. Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`.",
3280+
"type": "string"
3281+
},
3282+
"osImage": {
3283+
"description": "Required. The OS image code of the image which will be used in the reimage operation.",
3284+
"type": "string"
3285+
},
3286+
"sshKeys": {
3287+
"description": "Optional. List of SSH Keys used during reimaging an instance.",
3288+
"items": {
3289+
"type": "string"
3290+
},
3291+
"type": "array"
3292+
}
3293+
},
3294+
"type": "object"
3295+
},
31783296
"RenameInstanceRequest": {
31793297
"description": "Message requesting rename of a server.",
31803298
"id": "RenameInstanceRequest",

0 commit comments

Comments
 (0)