mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +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"
|
||||
@@ -18,7 +18,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,
|
||||
@@ -178,7 +178,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Returns of a list of traces that match the specified filter conditions.",
|
||||
"description": "Returns a list of traces that match the specified filter conditions.",
|
||||
"flatPath": "v1/projects/{projectId}/traces",
|
||||
"httpMethod": "GET",
|
||||
"id": "cloudtrace.projects.traces.list",
|
||||
@@ -257,7 +257,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20210319",
|
||||
"revision": "20220224",
|
||||
"rootUrl": "https://cloudtrace.googleapis.com/",
|
||||
"schemas": {
|
||||
"Empty": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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"
|
||||
@@ -18,7 +18,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,
|
||||
@@ -206,13 +206,13 @@
|
||||
],
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.",
|
||||
"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.",
|
||||
"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -250,7 +250,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"updateMask": {
|
||||
"description": "Required. Field mask that specifies the fields in `trace_sink` that are to be updated. A sink field is overwritten if, and only if, it is in the update mask. `name` and `writer_identity` fields cannot be updated. An empty updateMask is considered an error. For a detailed `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask Example: `updateMask=output_config`.",
|
||||
"description": "Required. Field mask that specifies the fields in `trace_sink` that are to be updated. A sink field is overwritten if, and only if, it is in the update mask. `name` and `writer_identity` fields cannot be updated. An empty `update_mask` is considered an error. For a detailed `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask Example: `updateMask=output_config`.",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
@@ -273,7 +273,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20210319",
|
||||
"revision": "20220224",
|
||||
"rootUrl": "https://cloudtrace.googleapis.com/",
|
||||
"schemas": {
|
||||
"Empty": {
|
||||
@@ -287,7 +287,7 @@
|
||||
"id": "ListTraceSinksResponse",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "If there might be more results than appear in this response, then `nextPageToken` is included. To get the next set of results, call the same method again using the value of `nextPageToken` as `pageToken`.",
|
||||
"description": "A paginated response where more pages might be available has `next_page_token` set. To get the next set of results, call the same method again using the value of `next_page_token` as `page_token`.",
|
||||
"type": "string"
|
||||
},
|
||||
"sinks": {
|
||||
@@ -316,7 +316,7 @@
|
||||
"id": "TraceSink",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "Required. The canonical sink resource name, unique within the project. Must be of the form: project/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `\"projects/12345/traceSinks/my-project-trace-sink\"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.",
|
||||
"description": "Required. The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `\"projects/12345/traceSinks/my-project-trace-sink\"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.",
|
||||
"type": "string"
|
||||
},
|
||||
"outputConfig": {
|
||||
@@ -324,7 +324,7 @@
|
||||
"description": "Required. The export destination."
|
||||
},
|
||||
"writerIdentity": {
|
||||
"description": "Output only. A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see [Granting access for a resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). To create tables and write data this account will need the dataEditor role. Read more about roles in the [BigQuery documentation](https://cloud.google.com/bigquery/docs/access-control). E.g.: \"service-00000001@00000002.iam.gserviceaccount.com\"",
|
||||
"description": "Output only. A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see [Granting access for a resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). To create tables and to write data, this account needs the `dataEditor` role. Read more about roles in the [BigQuery documentation](https://cloud.google.com/bigquery/docs/access-control). E.g.: \"service-00000001@00000002.iam.gserviceaccount.com\"",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user