From 40e473d3910114c1d949b59000b1cc27a5324f3d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Fri, 4 Jan 2019 15:10:43 -0800 Subject: [PATCH] fix(docs): removed unused gRPC message types fix(docs): removed unused gRPC message types --- src/v2/doc/google/api/doc_distribution.js | 56 --------------------- src/v2/doc/google/api/doc_metric.js | 20 -------- src/v2/doc/google/logging/v2/doc_logging.js | 19 ------- synth.metadata | 36 ++++++++----- 4 files changed, 24 insertions(+), 107 deletions(-) diff --git a/src/v2/doc/google/api/doc_distribution.js b/src/v2/doc/google/api/doc_distribution.js index dd297f6f..7fd05a5f 100644 --- a/src/v2/doc/google/api/doc_distribution.js +++ b/src/v2/doc/google/api/doc_distribution.js @@ -92,23 +92,6 @@ const Distribution = { // This is for documentation. Actual contents will be loaded by gRPC. - /** - * The range of the population values. - * - * @property {number} min - * The minimum of the population values. - * - * @property {number} max - * The maximum of the population values. - * - * @typedef Range - * @memberof google.api - * @see [google.api.Distribution.Range definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/api/distribution.proto} - */ - Range: { - // This is for documentation. Actual contents will be loaded by gRPC. - }, - /** * `BucketOptions` describes the bucket boundaries used to create a histogram * for the distribution. The buckets can be in a linear sequence, an @@ -227,44 +210,5 @@ const Distribution = { Explicit: { // This is for documentation. Actual contents will be loaded by gRPC. } - }, - - /** - * Exemplars are example points that may be used to annotate aggregated - * distribution values. They are metadata that gives information about a - * particular value added to a Distribution bucket, such as a trace ID that - * was active when a value was added. They may contain further information, - * such as a example values and timestamps, origin, etc. - * - * @property {number} value - * Value of the exemplar point. This value determines to which bucket the - * exemplar belongs. - * - * @property {Object} timestamp - * The observation (sampling) time of the above value. - * - * This object should have the same structure as [Timestamp]{@link google.protobuf.Timestamp} - * - * @property {Object[]} attachments - * Contextual information about the example value. Examples are: - * - * Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.Trace - * - * Literal string: type.googleapis.com/google.protobuf.StringValue - * - * Labels dropped during aggregation: - * type.googleapis.com/google.monitoring.v3.DroppedLabels - * - * There may be only a single attachment of any given message type in a - * single exemplar, and this is enforced by the system. - * - * This object should have the same structure as [Any]{@link google.protobuf.Any} - * - * @typedef Exemplar - * @memberof google.api - * @see [google.api.Distribution.Exemplar definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/api/distribution.proto} - */ - Exemplar: { - // This is for documentation. Actual contents will be loaded by gRPC. } }; \ No newline at end of file diff --git a/src/v2/doc/google/api/doc_metric.js b/src/v2/doc/google/api/doc_metric.js index ec52c27b..85066f82 100644 --- a/src/v2/doc/google/api/doc_metric.js +++ b/src/v2/doc/google/api/doc_metric.js @@ -252,24 +252,4 @@ const MetricDescriptor = { */ MONEY: 6 } -}; - -/** - * A specific metric, identified by specifying values for all of the - * labels of a `MetricDescriptor`. - * - * @property {string} type - * An existing metric type, see google.api.MetricDescriptor. - * For example, `custom.googleapis.com/invoice/paid/amount`. - * - * @property {Object.} labels - * The set of label values that uniquely identify this metric. All - * labels listed in the `MetricDescriptor` must be assigned values. - * - * @typedef Metric - * @memberof google.api - * @see [google.api.Metric definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/api/metric.proto} - */ -const Metric = { - // This is for documentation. Actual contents will be loaded by gRPC. }; \ No newline at end of file diff --git a/src/v2/doc/google/logging/v2/doc_logging.js b/src/v2/doc/google/logging/v2/doc_logging.js index 2dc88eb9..70cf459b 100644 --- a/src/v2/doc/google/logging/v2/doc_logging.js +++ b/src/v2/doc/google/logging/v2/doc_logging.js @@ -138,25 +138,6 @@ const WriteLogEntriesResponse = { // This is for documentation. Actual contents will be loaded by gRPC. }; -/** - * Error details for WriteLogEntries with partial success. - * - * @property {Object.} logEntryErrors - * When `WriteLogEntriesRequest.partial_success` is true, records the error - * status for entries that were not written due to a permanent error, keyed - * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. - * - * Failed requests for which no entries are written will not include - * per-entry errors. - * - * @typedef WriteLogEntriesPartialErrors - * @memberof google.logging.v2 - * @see [google.logging.v2.WriteLogEntriesPartialErrors definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/logging/v2/logging.proto} - */ -const WriteLogEntriesPartialErrors = { - // This is for documentation. Actual contents will be loaded by gRPC. -}; - /** * The parameters to `ListLogEntries`. * diff --git a/synth.metadata b/synth.metadata index f26e69af..95191d00 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,26 +1,38 @@ { + "updateTime": "2019-01-03T17:50:33.539672Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.4", + "dockerImage": "googleapis/artman@sha256:8b45fae963557c3299921037ecbb86f0689f41b1b4aea73408ebc50562cb2857" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "2a5caab4315cb5ab3d5c97c90c6d4e9441052b16", + "internalRef": "227195651" } }, { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "template": { + "name": "node_library", + "origin": "synthtool.gcp", + "version": "2018.12.6" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "logging", + "apiVersion": "v2", + "language": "nodejs", + "generator": "gapic", + "config": "google/logging/artman_logging.yaml" } } ]