Skip to content

Commit

Permalink
chore(docs): formatting updates (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and callmehiphop committed Apr 25, 2019
1 parent 14b5348 commit 3993ebe
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const Distribution = {
* @property {Object[]} attachments
* Contextual information about the example value. Examples are:
*
* Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.Trace
* Trace: type.googleapis.com/google.monitoring.v3.SpanContext
*
* Literal string: type.googleapis.com/google.protobuf.StringValue
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,8 @@ const MetricDescriptor = {
* labels of a `MetricDescriptor`.
*
* @property {string} type
* An existing metric type, see
* google.api.MetricDescriptor. For example,
* `custom.googleapis.com/invoice/paid/amount`.
* An existing metric type, see google.api.MetricDescriptor.
* For example, `custom.googleapis.com/invoice/paid/amount`.
*
* @property {Object.<string, string>} labels
* The set of label values that uniquely identify this metric. All
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
// to be loaded as the JS file.

/**
* 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
* 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.
*
Expand Down Expand Up @@ -69,13 +68,11 @@ const MonitoredResourceDescriptor = {
* 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
* 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",
Expand All @@ -84,10 +81,8 @@ const MonitoredResourceDescriptor = {
*
* @property {string} type
* Required. The monitored resource type. This field must match
* the `type` field of a
* MonitoredResourceDescriptor
* object. For example, the type of a Compute Engine VM instance is
* `gce_instance`.
* the `type` field of a MonitoredResourceDescriptor object. For
* example, the type of a Compute Engine VM instance is `gce_instance`.
*
* @property {Object.<string, string>} labels
* Required. Values for all of the labels listed in the associated monitored
Expand All @@ -103,12 +98,12 @@ const MonitoredResource = {
};

/**
* Auxiliary metadata for a MonitoredResource
* object. MonitoredResource objects contain the
* minimum set of information to uniquely identify a monitored resource
* instance. There is some other useful auxiliary metadata. Monitoring and
* Logging use an ingestion pipeline to extract metadata for cloud resources of
* all types, and store the metadata in this message.
* Auxiliary metadata for a MonitoredResource object.
* MonitoredResource objects contain the minimum set of information to
* uniquely identify a monitored resource instance. There is some other useful
* auxiliary metadata. Monitoring and Logging use an ingestion
* pipeline to extract metadata for cloud resources of all types, and store
* the metadata in this message.
*
* @property {Object} systemLabels
* Output only. Values for predefined system metadata labels.
Expand Down
6 changes: 3 additions & 3 deletions packages/google-cloud-monitoring/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"updateTime": "2019-04-23T11:15:47.168949Z",
"updateTime": "2019-04-25T11:36:18.815488Z",
"sources": [
{
"generator": {
Expand All @@ -12,8 +12,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "547e19e7df398e9290e8e3674d7351efc500f9b0",
"internalRef": "244712781"
"sha": "25cbfd4a5386742f5968d69bd276a0436d23bd97",
"internalRef": "245137805"
}
},
{
Expand Down

0 comments on commit 3993ebe

Please sign in to comment.