Skip to content

Commit 1e02287

Browse files
yoshi-automationJustinBeckwith
authored andcommitted
chore: sync latest proto docs (#245)
1 parent 745c4b4 commit 1e02287

File tree

4 files changed

+28
-23
lines changed

4 files changed

+28
-23
lines changed

packages/google-privacy-dlp/src/v2/doc/google/rpc/doc_status.js

+17-14
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,25 @@
1616
// to be loaded as the JS file.
1717

1818
/**
19-
* The `Status` type defines a logical error model that is suitable for different
20-
* programming environments, including REST APIs and RPC APIs. It is used by
21-
* [gRPC](https://github.com/grpc). The error model is designed to be:
19+
* The `Status` type defines a logical error model that is suitable for
20+
* different programming environments, including REST APIs and RPC APIs. It is
21+
* used by [gRPC](https://github.com/grpc). The error model is designed to be:
2222
*
2323
* - Simple to use and understand for most users
2424
* - Flexible enough to meet unexpected needs
2525
*
2626
* # Overview
2727
*
28-
* The `Status` message contains three pieces of data: error code, error message,
29-
* and error details. The error code should be an enum value of
30-
* google.rpc.Code, but it may accept additional error codes if needed. The
31-
* error message should be a developer-facing English message that helps
32-
* developers *understand* and *resolve* the error. If a localized user-facing
33-
* error message is needed, put the localized message in the error details or
34-
* localize it in the client. The optional error details may contain arbitrary
35-
* information about the error. There is a predefined set of error detail types
36-
* in the package `google.rpc` that can be used for common error conditions.
28+
* The `Status` message contains three pieces of data: error code, error
29+
* message, and error details. The error code should be an enum value of
30+
* google.rpc.Code, but it may accept additional error codes
31+
* if needed. The error message should be a developer-facing English message
32+
* that helps developers *understand* and *resolve* the error. If a localized
33+
* user-facing error message is needed, put the localized message in the error
34+
* details or localize it in the client. The optional error details may contain
35+
* arbitrary information about the error. There is a predefined set of error
36+
* detail types in the package `google.rpc` that can be used for common error
37+
* conditions.
3738
*
3839
* # Language mapping
3940
*
@@ -70,12 +71,14 @@
7071
* be used directly after any stripping needed for security/privacy reasons.
7172
*
7273
* @property {number} code
73-
* The status code, which should be an enum value of google.rpc.Code.
74+
* The status code, which should be an enum value of
75+
* google.rpc.Code.
7476
*
7577
* @property {string} message
7678
* A developer-facing error message, which should be in English. Any
7779
* user-facing error message should be localized and sent in the
78-
* google.rpc.Status.details field, or localized by the client.
80+
* google.rpc.Status.details field, or localized
81+
* by the client.
7982
*
8083
* @property {Object[]} details
8184
* A list of messages that carry the error details. There is a common set of

packages/google-privacy-dlp/src/v2/doc/google/type/doc_date.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
* is relative to the Proleptic Gregorian Calendar. The day may be 0 to
2222
* represent a year and month where the day is not significant, e.g. credit card
2323
* expiration date. The year may be 0 to represent a month and day independent
24-
* of year, e.g. anniversary date. Related types are google.type.TimeOfDay
25-
* and `google.protobuf.Timestamp`.
24+
* of year, e.g. anniversary date. Related types are
25+
* google.type.TimeOfDay and
26+
* `google.protobuf.Timestamp`.
2627
*
2728
* @property {number} year
2829
* Year of date. Must be from 1 to 9999, or 0 if specifying a date without

packages/google-privacy-dlp/src/v2/doc/google/type/doc_timeofday.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
/**
1919
* Represents a time of day. The date and time zone are either not significant
2020
* or are specified elsewhere. An API may chose to allow leap seconds. Related
21-
* types are google.type.Date and `google.protobuf.Timestamp`.
21+
* types are google.type.Date and
22+
* `google.protobuf.Timestamp`.
2223
*
2324
* @property {number} hours
2425
* Hours of day in 24 hour format. Should be from 0 to 23. An API may choose

packages/google-privacy-dlp/synth.metadata

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"updateTime": "2019-02-20T12:12:56.680743Z",
2+
"updateTime": "2019-02-27T12:12:35.233749Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.13",
8-
"dockerImage": "googleapis/artman@sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa"
7+
"version": "0.16.14",
8+
"dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "96cb68536cdb3c1d95c624ec0d32466cfd5fd882",
16-
"internalRef": "234655328"
15+
"sha": "29f098cb03a9983cc9cb15993de5da64419046f2",
16+
"internalRef": "235621085"
1717
}
1818
},
1919
{
2020
"template": {
2121
"name": "node_library",
2222
"origin": "synthtool.gcp",
23-
"version": "2019.1.16"
23+
"version": "2019.2.26"
2424
}
2525
}
2626
],

0 commit comments

Comments
 (0)