mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-18 17:30:03 +01:00
Update all json files; make some fixes to make it work at all
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
|
||||
},
|
||||
"https://www.googleapis.com/auth/trace.append": {
|
||||
"description": "Write Trace data for a project or application"
|
||||
@@ -15,7 +15,7 @@
|
||||
"baseUrl": "https://cloudtrace.googleapis.com/",
|
||||
"batchPath": "batch",
|
||||
"canonicalName": "Cloud Trace",
|
||||
"description": "Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenCensus. ",
|
||||
"description": "Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry. ",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://cloud.google.com/trace",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
@@ -113,7 +113,7 @@
|
||||
"traces": {
|
||||
"methods": {
|
||||
"batchWrite": {
|
||||
"description": "Sends new spans to new or existing traces. You cannot update existing spans.",
|
||||
"description": "Batch writes new spans to new or existing traces. You cannot update existing spans.",
|
||||
"flatPath": "v2/projects/{projectsId}/traces:batchWrite",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudtrace.projects.traces.batchWrite",
|
||||
@@ -155,7 +155,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The resource name of the span in the following format: projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. [SPAN_ID] is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array. It should not be zero.",
|
||||
"description": "Required. The resource name of the span in the following format: * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` `[TRACE_ID]` is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. It should not be zero. `[SPAN_ID]` is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array. It should not be zero. .",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/traces/[^/]+/spans/[^/]+$",
|
||||
"required": true,
|
||||
@@ -181,7 +181,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20210319",
|
||||
"revision": "20220224",
|
||||
"rootUrl": "https://cloudtrace.googleapis.com/",
|
||||
"schemas": {
|
||||
"Annotation": {
|
||||
@@ -200,7 +200,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"AttributeValue": {
|
||||
"description": "The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.",
|
||||
"description": "The allowed types for `[VALUE]` in a `[KEY]:[VALUE]` attribute.",
|
||||
"id": "AttributeValue",
|
||||
"properties": {
|
||||
"boolValue": {
|
||||
@@ -220,14 +220,14 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Attributes": {
|
||||
"description": "A set of attributes, each in the format `[KEY]:[VALUE]`.",
|
||||
"description": "A set of attributes as key-value pairs.",
|
||||
"id": "Attributes",
|
||||
"properties": {
|
||||
"attributeMap": {
|
||||
"additionalProperties": {
|
||||
"$ref": "AttributeValue"
|
||||
},
|
||||
"description": "The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values `true` and `false`. For example: \"/instance_id\": { \"string_value\": { \"value\": \"my-instance\" } } \"/http/request_bytes\": { \"int_value\": 300 } \"abc.com/myattribute\": { \"bool_value\": false }",
|
||||
"description": "A set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the boolean values `true` or `false`. For example: \"/instance_id\": { \"string_value\": { \"value\": \"my-instance\" } } \"/http/request_bytes\": { \"int_value\": 300 } \"abc.com/myattribute\": { \"bool_value\": false }",
|
||||
"type": "object"
|
||||
},
|
||||
"droppedAttributesCount": {
|
||||
@@ -243,7 +243,7 @@
|
||||
"id": "BatchWriteSpansRequest",
|
||||
"properties": {
|
||||
"spans": {
|
||||
"description": "Required. A list of new spans. The span names must not match existing spans, or the results are undefined.",
|
||||
"description": "Required. A list of new spans. The span names must not match existing spans, otherwise the results are undefined.",
|
||||
"items": {
|
||||
"$ref": "Span"
|
||||
},
|
||||
@@ -264,14 +264,14 @@
|
||||
"properties": {
|
||||
"attributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "A set of attributes on the link. You have have up to 32 attributes per link."
|
||||
"description": "A set of attributes on the link. Up to 32 attributes can be specified per link."
|
||||
},
|
||||
"spanId": {
|
||||
"description": "The [SPAN_ID] for a span within a trace.",
|
||||
"description": "The `[SPAN_ID]` for a span within a trace.",
|
||||
"type": "string"
|
||||
},
|
||||
"traceId": {
|
||||
"description": "The [TRACE_ID] for a trace within a project.",
|
||||
"description": "The `[TRACE_ID]` for a trace within a project.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
@@ -315,12 +315,12 @@
|
||||
"id": "MessageEvent",
|
||||
"properties": {
|
||||
"compressedSizeBytes": {
|
||||
"description": "The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.",
|
||||
"description": "The number of compressed bytes sent or received. If missing, the compressed size is assumed to be the same size as the uncompressed size.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents. It is recommended to be unique within a Span.",
|
||||
"description": "An identifier for the MessageEvent's message that can be used to match `SENT` and `RECEIVED` MessageEvents.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -362,7 +362,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Span": {
|
||||
"description": "A span represents a single operation within a trace. Spans can be nested to form a trace tree. Often, a trace contains a root span that describes the end-to-end latency, and one or more subspans for its sub-operations. A trace can also contain multiple root spans, or none at all. Spans do not need to be contiguous\u2014there may be gaps or overlaps between spans in a trace.",
|
||||
"description": "A span represents a single operation within a trace. Spans can be nested to form a trace tree. Often, a trace contains a root span that describes the end-to-end latency, and one or more subspans for its sub-operations. A trace can also contain multiple root spans, or none at all. Spans do not need to be contiguous\u2014there might be gaps or overlaps between spans in a trace.",
|
||||
"id": "Span",
|
||||
"properties": {
|
||||
"attributes": {
|
||||
@@ -376,7 +376,7 @@
|
||||
},
|
||||
"displayName": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "Required. A description of the span's operation (up to 128 bytes). Trace displays the description in the Google Cloud Platform Console. For example, the display name can be a qualified method name or a file name and a line number where the operation is called. A best practice is to use the same display name within an application and at the same call point. This makes it easier to correlate spans in different traces."
|
||||
"description": "Required. A description of the span's operation (up to 128 bytes). Cloud Trace displays the description in the Cloud Console. For example, the display name can be a qualified method name or a file name and a line number where the operation is called. A best practice is to use the same display name within an application and at the same call point. This makes it easier to correlate spans in different traces."
|
||||
},
|
||||
"endTime": {
|
||||
"description": "Required. The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server application handler stops running.",
|
||||
@@ -388,11 +388,11 @@
|
||||
"description": "Links associated with the span. You can have up to 128 links per Span."
|
||||
},
|
||||
"name": {
|
||||
"description": "Required. The resource name of the span in the following format: projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. [SPAN_ID] is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array. It should not be zero.",
|
||||
"description": "Required. The resource name of the span in the following format: * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` `[TRACE_ID]` is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. It should not be zero. `[SPAN_ID]` is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array. It should not be zero. .",
|
||||
"type": "string"
|
||||
},
|
||||
"parentSpanId": {
|
||||
"description": "The [SPAN_ID] of this span's parent span. If this is a root span, then this field must be empty.",
|
||||
"description": "The `[SPAN_ID]` of this span's parent span. If this is a root span, then this field must be empty.",
|
||||
"type": "string"
|
||||
},
|
||||
"sameProcessAsParentSpan": {
|
||||
@@ -400,7 +400,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"spanId": {
|
||||
"description": "Required. The [SPAN_ID] portion of the span's resource name.",
|
||||
"description": "Required. The `[SPAN_ID]` portion of the span's resource name.",
|
||||
"type": "string"
|
||||
},
|
||||
"spanKind": {
|
||||
|
||||
Reference in New Issue
Block a user