mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(update): all jsons; version-up
As we are now back to serde 0.6, the patch-level was upped too.
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/wmRq-yRsUWybxv4zTNUlygH9dXc\"",
|
||||
"etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/AGY2FGWaHRZwgyAazem2sSX20dM\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "logging:v2beta1",
|
||||
"name": "logging",
|
||||
"version": "v2beta1",
|
||||
"revision": "20160104",
|
||||
"revision": "20160322",
|
||||
"title": "Google Cloud Logging API",
|
||||
"description": "The Google Cloud Logging API lets you write log entries and manage your logs, log sinks and logs-based metrics.",
|
||||
"description": "Writes log entries and manages your logs, log sinks, and logs-based metrics.",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
"icons": {
|
||||
@@ -154,21 +154,25 @@
|
||||
"items": {
|
||||
"$ref": "LogEntry"
|
||||
}
|
||||
},
|
||||
"partialSuccess": {
|
||||
"type": "boolean",
|
||||
"description": "Optional. Whether valid entries should be written even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not written, the response status will be the error associated with one of the failed entries and include error details in the form of WriteLogEntriesPartialErrors."
|
||||
}
|
||||
}
|
||||
},
|
||||
"MonitoredResource": {
|
||||
"id": "MonitoredResource",
|
||||
"type": "object",
|
||||
"description": "A specific monitored resource or a group of monitored resources.",
|
||||
"description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The `type` field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the `labels` field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for `\"gce_instance\"` has labels `\"instance_id\"` and `\"zone\"`: { \"type\": \"gce_instance\", \"labels\": { \"instance_id\": \"my-instance\", \"zone\": \"us-central1-a\" }}",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The type of monitored resource. This field must match the value of the `type` field in a MonitoredResourceDescriptor object. For example, `\"cloudsql_database\"` represents Cloud SQL databases."
|
||||
"description": "Required. The monitored resource type. This field must match the `type` field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is `\"cloudsql_database\"`."
|
||||
},
|
||||
"labels": {
|
||||
"type": "object",
|
||||
"description": "Values for some or all of the labels listed in the associated monitored resource descriptor. For example, specify a specific Cloud SQL database by supplying values for both the `\"database_id\"` and `\"zone\"` labels. Specify the set of all Cloud SQL databases in a particular location by supplying a value for only the `\"zone\"` label.",
|
||||
"description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels `\"database_id\"` and `\"zone\"`.",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -182,7 +186,7 @@
|
||||
"properties": {
|
||||
"logName": {
|
||||
"type": "string",
|
||||
"description": "Required. The resource name of the log to which this log entry belongs. The format of the name is `projects/\u003cproject-id\u003e/logs/\u003clog-id%gt;`. Examples: `\"projects/my-projectid/logs/syslog\"`, `\"projects/1234567890/logs/library.googleapis.com%2Fbook_log\"`. The log ID part of resource name must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters: [A-Za-z0-9]; and punctuation characters: forward-slash, underscore, hyphen, and period. Forward-slash (`/`) characters in the log ID must be URL-encoded."
|
||||
"description": "Required. The resource name of the log to which this log entry belongs. The format of the name is `\"projects/\n/logs/\"`. Examples: `\"projects/my-projectid/logs/syslog\"`, `\"projects/1234567890/logs/library.googleapis.com%2Fbook_log\"`. The log ID part of resource name must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters: [A-Za-z0-9]; and punctuation characters: forward-slash, underscore, hyphen, and period. Forward-slash (`/`) characters in the log ID must be URL-encoded."
|
||||
},
|
||||
"resource": {
|
||||
"$ref": "MonitoredResource",
|
||||
@@ -288,13 +292,22 @@
|
||||
"type": "string",
|
||||
"description": "The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html)."
|
||||
},
|
||||
"cacheLookup": {
|
||||
"type": "boolean",
|
||||
"description": "Whether or not a cache lookup was attempted."
|
||||
},
|
||||
"cacheHit": {
|
||||
"type": "boolean",
|
||||
"description": "Whether or not an entity was served from cache (with or without validation)."
|
||||
},
|
||||
"validatedWithOriginServer": {
|
||||
"cacheValidatedWithOriginServer": {
|
||||
"type": "boolean",
|
||||
"description": "Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if `cache_hit` is True."
|
||||
},
|
||||
"cacheFillBytes": {
|
||||
"type": "string",
|
||||
"description": "The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -344,16 +357,20 @@
|
||||
},
|
||||
"orderBy": {
|
||||
"type": "string",
|
||||
"description": "Optional. How the results should be sorted. Presently, the only permitted values are `\"timestamp\"` (default) and `\"timestamp desc\"`. The first option returns entries in order of increasing values of `LogEntry.timestamp` (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of `LogEntry.insertId`."
|
||||
"description": "Optional. How the results should be sorted. Presently, the only permitted values are `\"timestamp asc\"` (default) and `\"timestamp desc\"`. The first option returns entries in order of increasing values of `LogEntry.timestamp` (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of `LogEntry.insertId`."
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "integer",
|
||||
"description": "Optional. The maximum number of results to return from this request. Fewer results might be returned. You must check for the `nextPageToken` result to determine if additional results are available, which you can retrieve by passing the `nextPageToken` value in the `pageToken` parameter to the next request.",
|
||||
"description": "Optional. The maximum number of results to return from this request. You must check for presence of `nextPageToken` to determine if additional results are available, which you can retrieve by passing the `nextPageToken` value as the `pageToken` parameter in the next request.",
|
||||
"format": "int32"
|
||||
},
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"description": "Optional. If the `pageToken` request parameter is supplied, then the next page of results in the set are retrieved. The `pageToken` parameter must be set with the value of the `nextPageToken` result parameter from the previous request. The values of `projectIds`, `filter`, and `orderBy` must be the same as in the previous request."
|
||||
"description": "Optional. If the `pageToken` parameter is supplied, then the next page of results is retrieved. The `pageToken` parameter must be set to the value of the `nextPageToken` from the previous response. The values of `projectIds`, `filter`, and `orderBy` must be the same as in the previous request."
|
||||
},
|
||||
"partialSuccess": {
|
||||
"type": "boolean",
|
||||
"description": "Optional. If true, read access to all projects is not required and results will be returned for the subset of projects for which read access is permitted (empty subset is permitted)."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -371,7 +388,41 @@
|
||||
},
|
||||
"nextPageToken": {
|
||||
"type": "string",
|
||||
"description": "If there are more results than were returned, then `nextPageToken` is given a value in the response. To get the next batch of results, call this method again using the value of `nextPageToken` as `pageToken`."
|
||||
"description": "If there are more results than were returned, then `nextPageToken` is included in the response. To get the next set of results, call this method again using the value of `nextPageToken` as `pageToken`."
|
||||
},
|
||||
"projectIdErrors": {
|
||||
"type": "object",
|
||||
"description": "If partial_success is true, contains the project ids that had errors and the associated errors.",
|
||||
"additionalProperties": {
|
||||
"$ref": "Status"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Status": {
|
||||
"id": "Status",
|
||||
"type": "object",
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.",
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "integer",
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code.",
|
||||
"format": "int32"
|
||||
},
|
||||
"message": {
|
||||
"type": "string",
|
||||
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
|
||||
},
|
||||
"details": {
|
||||
"type": "array",
|
||||
"description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "any",
|
||||
"description": "Properties of the object. Contains field @ype with type URL."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -389,30 +440,34 @@
|
||||
},
|
||||
"nextPageToken": {
|
||||
"type": "string",
|
||||
"description": "If there are more results than were returned, then `nextPageToken` is returned in the response. To get the next batch of results, call this method again using the value of `nextPageToken` as `pageToken`."
|
||||
"description": "If there are more results than were returned, then `nextPageToken` is included in the response. To get the next set of results, call this method again using the value of `nextPageToken` as `pageToken`."
|
||||
}
|
||||
}
|
||||
},
|
||||
"MonitoredResourceDescriptor": {
|
||||
"id": "MonitoredResourceDescriptor",
|
||||
"type": "object",
|
||||
"description": "A description of a type of monitored resource.",
|
||||
"description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and `\"zone\"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Optional. The resource name of the monitored resource descriptor: `\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `\"monitoredResourceDescriptors/{type}\"`."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL."
|
||||
"description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL."
|
||||
},
|
||||
"displayName": {
|
||||
"type": "string",
|
||||
"description": "A concise name for the monitored resource type, which is displayed in user interfaces. For example, `\"Cloud SQL Database\"`."
|
||||
"description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. For example, `\"Google Cloud SQL Database\"`."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A detailed description of the monitored resource type, which is used in documentation."
|
||||
"description": "Optional. A detailed description of the monitored resource type that might be used in documentation."
|
||||
},
|
||||
"labels": {
|
||||
"type": "array",
|
||||
"description": "A set of labels that can be used to describe instances of this monitored resource type. For example, Cloud SQL databases can be labeled with their `\"database_id\"` and their `\"zone\"`.",
|
||||
"description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `\"database_id\"` and `\"zone\"`.",
|
||||
"items": {
|
||||
"$ref": "LabelDescriptor"
|
||||
}
|
||||
@@ -457,7 +512,7 @@
|
||||
},
|
||||
"nextPageToken": {
|
||||
"type": "string",
|
||||
"description": "If there are more results than were returned, then `nextPageToken` is given a value in the response. To get the next batch of results, call this method again using the value of `nextPageToken` as `pageToken`."
|
||||
"description": "If there are more results than were returned, then `nextPageToken` is included in the response. To get the next set of results, call this method again using the value of `nextPageToken` as `pageToken`."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -476,11 +531,11 @@
|
||||
},
|
||||
"filter": {
|
||||
"type": "string",
|
||||
"description": "An [advanced logs filter](/logging/docs/view/advanced_filters) that defines the log entries to be exported. The filter must be consistent with the log entry format designed by the `outputVersionFormat` parameter, regardless of the format of the log entry that was originally written to Cloud Logging. Example: `\"logName:syslog AND severity\u003e=ERROR\"`."
|
||||
"description": "An [advanced logs filter](/logging/docs/view/advanced_filters). Only log entries matching that filter are exported. The filter must be consistent with the log entry format specified by the `outputVersionFormat` parameter, regardless of the format of the log entry that was originally written to Cloud Logging. Example (V2 format): `\"logName=projects/my-projectid/logs/syslog AND severity\u003e=ERROR\"`."
|
||||
},
|
||||
"outputVersionFormat": {
|
||||
"type": "string",
|
||||
"description": "The log entry version used when exporting log entries from this sink. This version does not have to correspond to the version of the log entry when it was written to Cloud Logging.",
|
||||
"description": "The log entry version to use for this sink's exported log entries. This version does not have to correspond to the version of the log entry when it was written to Cloud Logging.",
|
||||
"enum": [
|
||||
"VERSION_FORMAT_UNSPECIFIED",
|
||||
"V2",
|
||||
@@ -503,7 +558,7 @@
|
||||
},
|
||||
"nextPageToken": {
|
||||
"type": "string",
|
||||
"description": "If there are more results than were returned, then `nextPageToken` is given a value in the response. To get the next batch of results, call this method again using the value of `nextPageToken` as `pageToken`."
|
||||
"description": "If there are more results than were returned, then `nextPageToken` is included in the response. To get the next set of results, call this method again using the value of `nextPageToken` as `pageToken`."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -640,6 +695,10 @@
|
||||
"type": "boolean",
|
||||
"description": "Whether this request is finished or active."
|
||||
},
|
||||
"first": {
|
||||
"type": "boolean",
|
||||
"description": "Whether this is the first RequestLog entry for this request. If an active request has several RequestLog entries written to Cloud Logging, this field will be set for one of them."
|
||||
},
|
||||
"instanceId": {
|
||||
"type": "string",
|
||||
"description": "An identifier for the instance that handled the request."
|
||||
@@ -780,19 +839,19 @@
|
||||
"parameters": {
|
||||
"projectName": {
|
||||
"type": "string",
|
||||
"description": "Required. The resource name of the project containing the sinks. Example: `\"projects/my-logging-project\"`, `\"projects/01234567890\"`.",
|
||||
"description": "Required. The resource name of the project containing the sinks. Example: `\"projects/my-logging-project\"`.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]*$",
|
||||
"location": "path"
|
||||
},
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"description": "Optional. If the `pageToken` request parameter is supplied, then the next page of results in the set are retrieved. The `pageToken` parameter must be set with the value of the `nextPageToken` result parameter from the previous request. The value of `projectName` must be the same as in the previous request.",
|
||||
"description": "Optional. If the `pageToken` parameter is supplied, then the next page of results is retrieved. The `pageToken` parameter must be set to the value of the `nextPageToken` from the previous response. The value of `projectName` must be the same as in the previous request.",
|
||||
"location": "query"
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "integer",
|
||||
"description": "Optional. The maximum number of results to return from this request. Fewer results might be returned. You must check for the `nextPageToken` result to determine if additional results are available, which you can retrieve by passing the `nextPageToken` value in the `pageToken` parameter to the next request.",
|
||||
"description": "Optional. The maximum number of results to return from this request. You must check for presence of `nextPageToken` to determine if additional results are available, which you can retrieve by passing the `nextPageToken` value as the `pageToken` parameter in the next request.",
|
||||
"format": "int32",
|
||||
"location": "query"
|
||||
}
|
||||
@@ -937,12 +996,12 @@
|
||||
},
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"description": "Optional. If the `pageToken` request parameter is supplied, then the next page of results in the set are retrieved. The `pageToken` parameter must be set with the value of the `nextPageToken` result parameter from the previous request. The value of `projectName` must be the same as in the previous request.",
|
||||
"description": "Optional. If the `pageToken` parameter is supplied, then the next page of results is retrieved. The `pageToken` parameter must be set to the value of the `nextPageToken` from the previous response. The value of `projectName` must be the same as in the previous request.",
|
||||
"location": "query"
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "integer",
|
||||
"description": "Optional. The maximum number of results to return from this request. Fewer results might be returned. You must check for the `nextPageToken` result to determine if additional results are available, which you can retrieve by passing the `nextPageToken` value in the `pageToken` parameter to the next request.",
|
||||
"description": "Optional. The maximum number of results to return from this request. You must check for presence of `nextPageToken` to determine if additional results are available, which you can retrieve by passing the `nextPageToken` value as the `pageToken` parameter in the next request.",
|
||||
"format": "int32",
|
||||
"location": "query"
|
||||
}
|
||||
@@ -1124,13 +1183,13 @@
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"type": "integer",
|
||||
"description": "Optional. The maximum number of results to return from this request. Fewer results might be returned. You must check for the `nextPageToken` result to determine if additional results are available, which you can retrieve by passing the `nextPageToken` value in the `pageToken` parameter to the next request.",
|
||||
"description": "Optional. The maximum number of results to return from this request. You must check for presence of `nextPageToken` to determine if additional results are available, which you can retrieve by passing the `nextPageToken` value as the `pageToken` parameter in the next request.",
|
||||
"format": "int32",
|
||||
"location": "query"
|
||||
},
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"description": "Optional. If the `pageToken` request parameter is supplied, then the next page of results in the set are retrieved. The `pageToken` parameter must be set with the value of the `nextPageToken` result parameter from the previous request.",
|
||||
"description": "Optional. If the `pageToken` parameter is supplied, then the next page of results is retrieved. The `pageToken` parameter must be set to the value of the `nextPageToken` from the previous response.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user