mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
update all json files
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
},
|
||||
"id": "datastore:v1",
|
||||
"kind": "discovery#restDescription",
|
||||
"mtlsRootUrl": "https://datastore.mtls.googleapis.com/",
|
||||
"name": "datastore",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
@@ -117,7 +118,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "The ID of the project against which to make the request.",
|
||||
"description": "Required. The ID of the project against which to make the request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
@@ -145,7 +146,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "The ID of the project against which to make the request.",
|
||||
"description": "Required. The ID of the project against which to make the request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
@@ -173,7 +174,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "The ID of the project against which to make the request.",
|
||||
"description": "Required. The ID of the project against which to make the request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
@@ -201,7 +202,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "Project ID against which to make the request.",
|
||||
"description": "Required. Project ID against which to make the request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
@@ -229,7 +230,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "Project ID against which to make the request.",
|
||||
"description": "Required. Project ID against which to make the request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
@@ -257,7 +258,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "The ID of the project against which to make the request.",
|
||||
"description": "Required. The ID of the project against which to make the request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
@@ -285,7 +286,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "The ID of the project against which to make the request.",
|
||||
"description": "Required. The ID of the project against which to make the request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
@@ -313,7 +314,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "The ID of the project against which to make the request.",
|
||||
"description": "Required. The ID of the project against which to make the request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
@@ -341,7 +342,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "The ID of the project against which to make the request.",
|
||||
"description": "Required. The ID of the project against which to make the request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
@@ -363,6 +364,66 @@
|
||||
"resources": {
|
||||
"indexes": {
|
||||
"methods": {
|
||||
"create": {
|
||||
"description": "Creates the specified index.\nA newly created index's initial state is `CREATING`. On completion of the\nreturned google.longrunning.Operation, the state will be `READY`.\nIf the index already exists, the call will return an `ALREADY_EXISTS`\nstatus.\n\nDuring index creation, the process could result in an error, in which\ncase the index will move to the `ERROR` state. The process can be recovered\nby fixing the data that caused the error, removing the index with\ndelete, then\nre-creating the index with create.\n\nIndexes with a single property cannot be created.",
|
||||
"flatPath": "v1/projects/{projectId}/indexes",
|
||||
"httpMethod": "POST",
|
||||
"id": "datastore.projects.indexes.create",
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "Project ID against which to make the request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/projects/{projectId}/indexes",
|
||||
"request": {
|
||||
"$ref": "GoogleDatastoreAdminV1Index"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "GoogleLongrunningOperation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore"
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"description": "Deletes an existing index.\nAn index can only be deleted if it is in a `READY` or `ERROR` state. On\nsuccessful execution of the request, the index will be in a `DELETING`\nstate. And on completion of the\nreturned google.longrunning.Operation, the index will be removed.\n\nDuring index deletion, the process could result in an error, in which\ncase the index will move to the `ERROR` state. The process can be recovered\nby fixing the data that caused the error, followed by calling\ndelete again.",
|
||||
"flatPath": "v1/projects/{projectId}/indexes/{indexId}",
|
||||
"httpMethod": "DELETE",
|
||||
"id": "datastore.projects.indexes.delete",
|
||||
"parameterOrder": [
|
||||
"projectId",
|
||||
"indexId"
|
||||
],
|
||||
"parameters": {
|
||||
"indexId": {
|
||||
"description": "The resource ID of the index to delete.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"description": "Project ID against which to make the request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/projects/{projectId}/indexes/{indexId}",
|
||||
"response": {
|
||||
"$ref": "GoogleLongrunningOperation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets an index.",
|
||||
"flatPath": "v1/projects/{projectId}/indexes/{indexId}",
|
||||
@@ -564,7 +625,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20190421",
|
||||
"revision": "20200311",
|
||||
"rootUrl": "https://datastore.googleapis.com/",
|
||||
"schemas": {
|
||||
"AllocateIdsRequest": {
|
||||
@@ -572,7 +633,7 @@
|
||||
"id": "AllocateIdsRequest",
|
||||
"properties": {
|
||||
"keys": {
|
||||
"description": "A list of keys with incomplete key paths for which to allocate IDs.\nNo key may be reserved/read-only.",
|
||||
"description": "Required. A list of keys with incomplete key paths for which to allocate IDs.\nNo key may be reserved/read-only.",
|
||||
"items": {
|
||||
"$ref": "Key"
|
||||
},
|
||||
@@ -900,7 +961,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"outputUrlPrefix": {
|
||||
"description": "Location for the export metadata and data files.\n\nThe full resource URL of the external storage location. Currently, only\nGoogle Cloud Storage is supported. So output_url_prefix should be of the\nform: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the\nname of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud\nStorage namespace path (this is not a Cloud Datastore namespace). For more\ninformation about Cloud Storage namespace paths, see\n[Object name\nconsiderations](https://cloud.google.com/storage/docs/naming#object-considerations).\n\nThe resulting files will be nested deeper than the specified URL prefix.\nThe final output URL will be provided in the\ngoogle.datastore.admin.v1.ExportEntitiesResponse.output_url field. That\nvalue should be used for subsequent ImportEntities operations.\n\nBy nesting the data files deeper, the same Cloud Storage bucket can be used\nin multiple ExportEntities operations without conflict.",
|
||||
"description": "Required. Location for the export metadata and data files.\n\nThe full resource URL of the external storage location. Currently, only\nGoogle Cloud Storage is supported. So output_url_prefix should be of the\nform: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the\nname of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud\nStorage namespace path (this is not a Cloud Datastore namespace). For more\ninformation about Cloud Storage namespace paths, see\n[Object name\nconsiderations](https://cloud.google.com/storage/docs/naming#object-considerations).\n\nThe resulting files will be nested deeper than the specified URL prefix.\nThe final output URL will be provided in the\ngoogle.datastore.admin.v1.ExportEntitiesResponse.output_url field. That\nvalue should be used for subsequent ImportEntities operations.\n\nBy nesting the data files deeper, the same Cloud Storage bucket can be used\nin multiple ExportEntities operations without conflict.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -953,7 +1014,7 @@
|
||||
"description": "Optionally specify which kinds/namespaces are to be imported. If provided,\nthe list must be a subset of the EntityFilter used in creating the export,\notherwise a FAILED_PRECONDITION error will be returned. If no filter is\nspecified then all entities from the export are imported."
|
||||
},
|
||||
"inputUrl": {
|
||||
"description": "The full resource URL of the external storage location. Currently, only\nGoogle Cloud Storage is supported. So input_url should be of the form:\n`gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where\n`BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is\nan optional Cloud Storage namespace path (this is not a Cloud Datastore\nnamespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written\nby the ExportEntities operation. For more information about Cloud Storage\nnamespace paths, see\n[Object name\nconsiderations](https://cloud.google.com/storage/docs/naming#object-considerations).\n\nFor more information, see\ngoogle.datastore.admin.v1.ExportEntitiesResponse.output_url.",
|
||||
"description": "Required. The full resource URL of the external storage location. Currently, only\nGoogle Cloud Storage is supported. So input_url should be of the form:\n`gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where\n`BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is\nan optional Cloud Storage namespace path (this is not a Cloud Datastore\nnamespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written\nby the ExportEntities operation. For more information about Cloud Storage\nnamespace paths, see\n[Object name\nconsiderations](https://cloud.google.com/storage/docs/naming#object-considerations).\n\nFor more information, see\ngoogle.datastore.admin.v1.ExportEntitiesResponse.output_url.",
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
@@ -971,7 +1032,7 @@
|
||||
"id": "GoogleDatastoreAdminV1Index",
|
||||
"properties": {
|
||||
"ancestor": {
|
||||
"description": "The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.\nRequired.",
|
||||
"description": "Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.",
|
||||
"enum": [
|
||||
"ANCESTOR_MODE_UNSPECIFIED",
|
||||
"NONE",
|
||||
@@ -985,26 +1046,26 @@
|
||||
"type": "string"
|
||||
},
|
||||
"indexId": {
|
||||
"description": "The resource ID of the index.\nOutput only.",
|
||||
"description": "Output only. The resource ID of the index.",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"description": "The entity kind to which this index applies.\nRequired.",
|
||||
"description": "Required. The entity kind to which this index applies.",
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"description": "Project ID.\nOutput only.",
|
||||
"description": "Output only. Project ID.",
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {
|
||||
"description": "An ordered sequence of property names and their index attributes.\nRequired.",
|
||||
"description": "Required. An ordered sequence of property names and their index attributes.",
|
||||
"items": {
|
||||
"$ref": "GoogleDatastoreAdminV1IndexedProperty"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"state": {
|
||||
"description": "The state of the index.\nOutput only.",
|
||||
"description": "Output only. The state of the index.",
|
||||
"enum": [
|
||||
"STATE_UNSPECIFIED",
|
||||
"CREATING",
|
||||
@@ -1048,7 +1109,7 @@
|
||||
"id": "GoogleDatastoreAdminV1IndexedProperty",
|
||||
"properties": {
|
||||
"direction": {
|
||||
"description": "The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.\nRequired.",
|
||||
"description": "Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.",
|
||||
"enum": [
|
||||
"DIRECTION_UNSPECIFIED",
|
||||
"ASCENDING",
|
||||
@@ -1062,7 +1123,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The property name to index.\nRequired.",
|
||||
"description": "Required. The property name to index.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -1307,7 +1368,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.",
|
||||
"description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
|
||||
"type": "string"
|
||||
},
|
||||
"response": {
|
||||
@@ -1417,7 +1478,7 @@
|
||||
"id": "LookupRequest",
|
||||
"properties": {
|
||||
"keys": {
|
||||
"description": "Keys of entities to look up.",
|
||||
"description": "Required. Keys of entities to look up.",
|
||||
"items": {
|
||||
"$ref": "Key"
|
||||
},
|
||||
@@ -1805,7 +1866,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"keys": {
|
||||
"description": "A list of keys with complete key paths whose numeric IDs should not be\nauto-allocated.",
|
||||
"description": "Required. A list of keys with complete key paths whose numeric IDs should not be\nauto-allocated.",
|
||||
"items": {
|
||||
"$ref": "Key"
|
||||
},
|
||||
@@ -1825,7 +1886,7 @@
|
||||
"id": "RollbackRequest",
|
||||
"properties": {
|
||||
"transaction": {
|
||||
"description": "The transaction identifier, returned by a call to\nDatastore.BeginTransaction.",
|
||||
"description": "Required. The transaction identifier, returned by a call to\nDatastore.BeginTransaction.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -1877,7 +1938,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Status": {
|
||||
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error\nmessage, and error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
||||
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
|
||||
"id": "Status",
|
||||
"properties": {
|
||||
"code": {
|
||||
|
||||
Reference in New Issue
Block a user