mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
update dependencies
This commit is contained in:
@@ -170,34 +170,6 @@
|
||||
"resources": {
|
||||
"keys": {
|
||||
"methods": {
|
||||
"clone": {
|
||||
"description": "DEPRECATED: API customers can call `GetKey` and then `CreateKey` methods to create a copy of an existing key. Retire `CloneKey` method to eliminate the unnessary method from API Keys API. Clones the existing key's restriction and display name to a new API key. The service account must have the `apikeys.keys.get` and `apikeys.keys.create` permissions in the project. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
|
||||
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/keys/{keysId}:clone",
|
||||
"httpMethod": "POST",
|
||||
"id": "apikeys.projects.locations.keys.clone",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The resource name of the API key to be cloned in the same project.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/keys/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v2/{+name}:clone",
|
||||
"request": {
|
||||
"$ref": "V2CloneKeyRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Operation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"create": {
|
||||
"description": "Creates a new API key. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
|
||||
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/keys",
|
||||
@@ -322,11 +294,6 @@
|
||||
"parent"
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Deprecated: Use `show_deleted` instead. Only list keys that conform to the specified filter. The allowed filter strings are `state:ACTIVE` and `state:DELETED`. By default, ListKeys returns only active keys.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "Optional. Specifies the maximum number of results to be returned at a time.",
|
||||
"format": "int32",
|
||||
@@ -346,7 +313,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"showDeleted": {
|
||||
"description": "Optional. Indicate that keys are marked as deleted within 30 days should also be returned. Normally only active keys are returned.",
|
||||
"description": "Optional. Indicate that keys deleted in the past 30 days should also be returned.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
}
|
||||
@@ -377,7 +344,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"updateMask": {
|
||||
"description": "The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name` and `restrictions`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value \"*\", the service treats it equivalent to replace all allowed mutable fields.",
|
||||
"description": "The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name`, `restrictions`, and `annotations`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value \"*\", the service treats it equivalent to replace all allowed mutable fields.",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -429,7 +396,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20220305",
|
||||
"revision": "20230118",
|
||||
"rootUrl": "https://apikeys.googleapis.com/",
|
||||
"schemas": {
|
||||
"Operation": {
|
||||
@@ -555,17 +522,6 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"V2CloneKeyRequest": {
|
||||
"description": "Request message for `CloneKey` method.",
|
||||
"id": "V2CloneKeyRequest",
|
||||
"properties": {
|
||||
"keyId": {
|
||||
"description": "User specified key id (optional). If specified, it will become the final component of the key resource name. The id must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the id must match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. The id must NOT be a UUID-like string.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"V2GetKeyStringResponse": {
|
||||
"description": "Response message for `GetKeyString` method.",
|
||||
"id": "V2GetKeyStringResponse",
|
||||
@@ -595,6 +551,13 @@
|
||||
"description": "The representation of a key managed by the API Keys API.",
|
||||
"id": "V2Key",
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects.",
|
||||
"type": "object"
|
||||
},
|
||||
"createTime": {
|
||||
"description": "Output only. A timestamp identifying the time this key was originally created.",
|
||||
"format": "google-datetime",
|
||||
|
||||
Reference in New Issue
Block a user