Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2565)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored May 3, 2024
1 parent fe54ffd commit 0843d21
Show file tree
Hide file tree
Showing 27 changed files with 2,568 additions and 2,129 deletions.
24 changes: 23 additions & 1 deletion accesscontextmanager/v1/accesscontextmanager-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,7 @@
}
}
},
"revision": "20240417",
"revision": "20240429",
"rootUrl": "https://accesscontextmanager.googleapis.com/",
"schemas": {
"AccessContextManagerOperationMetadata": {
Expand Down Expand Up @@ -1374,6 +1374,21 @@
},
"type": "object"
},
"Application": {
"description": "An application that accesses Google Cloud APIs.",
"id": "Application",
"properties": {
"clientId": {
"description": "The OAuth client ID of the application.",
"type": "string"
},
"name": {
"description": "The name of the application. Example: \"Cloud Console\"",
"type": "string"
}
},
"type": "object"
},
"AuditConfig": {
"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:jose@example.com\" ] }, { \"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:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.",
"id": "AuditConfig",
Expand Down Expand Up @@ -1843,6 +1858,13 @@
"name": {
"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\"",
"type": "string"
},
"restrictedClientApplications": {
"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.",
"items": {
"$ref": "Application"
},
"type": "array"
}
},
"type": "object"
Expand Down
28 changes: 28 additions & 0 deletions accesscontextmanager/v1/accesscontextmanager-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -2901,21 +2901,6 @@
"documentationLink": "https://cloud.google.com/essentialcontacts/docs/",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "eventarc:v1beta1",
"name": "eventarc",
"version": "v1beta1",
"title": "Eventarc API",
"description": "Build event-driven applications on Google Cloud Platform.",
"discoveryRestUrl": "https://eventarc.googleapis.com/$discovery/rest?version=v1beta1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/eventarc",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "eventarc:v1",
Expand Down
120 changes: 119 additions & 1 deletion baremetalsolution/v2/baremetalsolution-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"disableHyperthreading": {
"description": "Perform disable hyperthreading operation on a single server.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:disableHyperthreading",
"httpMethod": "POST",
"id": "baremetalsolution.projects.locations.instances.disableHyperthreading",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}:disableHyperthreading",
"request": {
"$ref": "DisableHyperthreadingRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"disableInteractiveSerialConsole": {
"description": "Disable the interactive serial console feature on an instance.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:disableInteractiveSerialConsole",
Expand Down Expand Up @@ -234,6 +262,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"enableHyperthreading": {
"description": "Perform enable hyperthreading operation on a single server.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:enableHyperthreading",
"httpMethod": "POST",
"id": "baremetalsolution.projects.locations.instances.enableHyperthreading",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}:enableHyperthreading",
"request": {
"$ref": "EnableHyperthreadingRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"enableInteractiveSerialConsole": {
"description": "Enable the interactive serial console feature on an instance.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:enableInteractiveSerialConsole",
Expand Down Expand Up @@ -387,6 +443,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"reimage": {
"description": "Perform reimage operation on a single server.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:reimage",
"httpMethod": "POST",
"id": "baremetalsolution.projects.locations.instances.reimage",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}:reimage",
"request": {
"$ref": "ReimageInstanceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"rename": {
"description": "RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:rename",
Expand Down Expand Up @@ -1638,7 +1722,7 @@
}
}
},
"revision": "20240214",
"revision": "20240422",
"rootUrl": "https://baremetalsolution.googleapis.com/",
"schemas": {
"AllowedClient": {
Expand Down Expand Up @@ -1707,6 +1791,12 @@
},
"type": "object"
},
"DisableHyperthreadingRequest": {
"description": "Message requesting to perform disable hyperthreading operation on a server.",
"id": "DisableHyperthreadingRequest",
"properties": {},
"type": "object"
},
"DisableInteractiveSerialConsoleRequest": {
"description": "Message for disabling the interactive serial console on an instance.",
"id": "DisableInteractiveSerialConsoleRequest",
Expand All @@ -1725,6 +1815,12 @@
"properties": {},
"type": "object"
},
"EnableHyperthreadingRequest": {
"description": "Message requesting to perform enable hyperthreading operation on a server.",
"id": "EnableHyperthreadingRequest",
"properties": {},
"type": "object"
},
"EnableInteractiveSerialConsoleRequest": {
"description": "Message for enabling the interactive serial console on an instance.",
"id": "EnableInteractiveSerialConsoleRequest",
Expand Down Expand Up @@ -3175,6 +3271,28 @@
},
"type": "object"
},
"ReimageInstanceRequest": {
"description": "Message requesting to perform reimage operation on a server.",
"id": "ReimageInstanceRequest",
"properties": {
"kmsKeyVersion": {
"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}`.",
"type": "string"
},
"osImage": {
"description": "Required. The OS image code of the image which will be used in the reimage operation.",
"type": "string"
},
"sshKeys": {
"description": "Optional. List of SSH Keys used during reimaging an instance.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RenameInstanceRequest": {
"description": "Message requesting rename of a server.",
"id": "RenameInstanceRequest",
Expand Down
Loading

0 comments on commit 0843d21

Please sign in to comment.