Skip to content

Commit 3993ebe

Browse files
yoshi-automationcallmehiphop
authored andcommitted
chore(docs): formatting updates (#238)
1 parent 14b5348 commit 3993ebe

File tree

4 files changed

+22
-28
lines changed

4 files changed

+22
-28
lines changed

packages/google-cloud-monitoring/src/v3/doc/google/api/doc_distribution.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ const Distribution = {
248248
* @property {Object[]} attachments
249249
* Contextual information about the example value. Examples are:
250250
*
251-
* Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.Trace
251+
* Trace: type.googleapis.com/google.monitoring.v3.SpanContext
252252
*
253253
* Literal string: type.googleapis.com/google.protobuf.StringValue
254254
*

packages/google-cloud-monitoring/src/v3/doc/google/api/doc_metric.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,8 @@ const MetricDescriptor = {
259259
* labels of a `MetricDescriptor`.
260260
*
261261
* @property {string} type
262-
* An existing metric type, see
263-
* google.api.MetricDescriptor. For example,
264-
* `custom.googleapis.com/invoice/paid/amount`.
262+
* An existing metric type, see google.api.MetricDescriptor.
263+
* For example, `custom.googleapis.com/invoice/paid/amount`.
265264
*
266265
* @property {Object.<string, string>} labels
267266
* The set of label values that uniquely identify this metric. All

packages/google-cloud-monitoring/src/v3/doc/google/api/doc_monitored_resource.js

+16-21
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
// to be loaded as the JS file.
1717

1818
/**
19-
* An object that describes the schema of a
20-
* MonitoredResource object using a type name
21-
* and a set of labels. For example, the monitored resource descriptor for
22-
* Google Compute Engine VM instances has a type of
19+
* An object that describes the schema of a MonitoredResource object using a
20+
* type name and a set of labels. For example, the monitored resource
21+
* descriptor for Google Compute Engine VM instances has a type of
2322
* `"gce_instance"` and specifies the use of the labels `"instance_id"` and
2423
* `"zone"` to identify particular VM instances.
2524
*
@@ -69,13 +68,11 @@ const MonitoredResourceDescriptor = {
6968
* An object representing a resource that can be used for monitoring, logging,
7069
* billing, or other purposes. Examples include virtual machine instances,
7170
* databases, and storage devices such as disks. The `type` field identifies a
72-
* MonitoredResourceDescriptor object
73-
* that describes the resource's schema. Information in the `labels` field
74-
* identifies the actual resource and its attributes according to the schema.
75-
* For example, a particular Compute Engine VM instance could be represented by
76-
* the following object, because the
77-
* MonitoredResourceDescriptor for
78-
* `"gce_instance"` has labels
71+
* MonitoredResourceDescriptor object that describes the resource's
72+
* schema. Information in the `labels` field identifies the actual resource and
73+
* its attributes according to the schema. For example, a particular Compute
74+
* Engine VM instance could be represented by the following object, because the
75+
* MonitoredResourceDescriptor for `"gce_instance"` has labels
7976
* `"instance_id"` and `"zone"`:
8077
*
8178
* { "type": "gce_instance",
@@ -84,10 +81,8 @@ const MonitoredResourceDescriptor = {
8481
*
8582
* @property {string} type
8683
* Required. The monitored resource type. This field must match
87-
* the `type` field of a
88-
* MonitoredResourceDescriptor
89-
* object. For example, the type of a Compute Engine VM instance is
90-
* `gce_instance`.
84+
* the `type` field of a MonitoredResourceDescriptor object. For
85+
* example, the type of a Compute Engine VM instance is `gce_instance`.
9186
*
9287
* @property {Object.<string, string>} labels
9388
* Required. Values for all of the labels listed in the associated monitored
@@ -103,12 +98,12 @@ const MonitoredResource = {
10398
};
10499

105100
/**
106-
* Auxiliary metadata for a MonitoredResource
107-
* object. MonitoredResource objects contain the
108-
* minimum set of information to uniquely identify a monitored resource
109-
* instance. There is some other useful auxiliary metadata. Monitoring and
110-
* Logging use an ingestion pipeline to extract metadata for cloud resources of
111-
* all types, and store the metadata in this message.
101+
* Auxiliary metadata for a MonitoredResource object.
102+
* MonitoredResource objects contain the minimum set of information to
103+
* uniquely identify a monitored resource instance. There is some other useful
104+
* auxiliary metadata. Monitoring and Logging use an ingestion
105+
* pipeline to extract metadata for cloud resources of all types, and store
106+
* the metadata in this message.
112107
*
113108
* @property {Object} systemLabels
114109
* Output only. Values for predefined system metadata labels.

packages/google-cloud-monitoring/synth.metadata

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updateTime": "2019-04-23T11:15:47.168949Z",
2+
"updateTime": "2019-04-25T11:36:18.815488Z",
33
"sources": [
44
{
55
"generator": {
@@ -12,8 +12,8 @@
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "547e19e7df398e9290e8e3674d7351efc500f9b0",
16-
"internalRef": "244712781"
15+
"sha": "25cbfd4a5386742f5968d69bd276a0436d23bd97",
16+
"internalRef": "245137805"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)