Skip to content

Commit 61d5ef4

Browse files
yoshi-automationJustinBeckwith
authored andcommitted
refactor: update json import paths (#254)
refactor: update json import paths
1 parent ac18bcf commit 61d5ef4

4 files changed

Lines changed: 47 additions & 17 deletions

File tree

packages/google-privacy-dlp/src/v2/dlp_service_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
'use strict';
1616

17-
const gapicConfig = require('./dlp_service_client_config');
17+
const gapicConfig = require('./dlp_service_client_config.json');
1818
const gax = require('google-gax');
1919
const merge = require('lodash.merge');
2020
const path = require('path');

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

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,29 @@
1616
// to be loaded as the JS file.
1717

1818
/**
19-
* Represents a whole calendar date, e.g. date of birth. The time of day and
20-
* time zone are either specified elsewhere or are not significant. The date
21-
* is relative to the Proleptic Gregorian Calendar. The day may be 0 to
22-
* represent a year and month where the day is not significant, e.g. credit card
23-
* expiration date. The year may be 0 to represent a month and day independent
24-
* of year, e.g. anniversary date. Related types are
25-
* google.type.TimeOfDay and
26-
* `google.protobuf.Timestamp`.
19+
* Represents a whole or partial calendar date, e.g. a birthday. The time of day
20+
* and time zone are either specified elsewhere or are not significant. The date
21+
* is relative to the Proleptic Gregorian Calendar. This can represent:
22+
*
23+
* * A full date, with non-zero year, month and day values
24+
* * A month and day value, with a zero year, e.g. an anniversary
25+
* * A year on its own, with zero month and day values
26+
* * A year and month value, with a zero day, e.g. a credit card expiration date
27+
*
28+
* Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
2729
*
2830
* @property {number} year
2931
* Year of date. Must be from 1 to 9999, or 0 if specifying a date without
3032
* a year.
3133
*
3234
* @property {number} month
33-
* Month of year. Must be from 1 to 12.
35+
* Month of year. Must be from 1 to 12, or 0 if specifying a year without a
36+
* month and day.
3437
*
3538
* @property {number} day
3639
* Day of month. Must be from 1 to 31 and valid for the year and month, or 0
37-
* if specifying a year/month where the day is not significant.
40+
* if specifying a year by itself or a year and month where the day is not
41+
* significant.
3842
*
3943
* @typedef Date
4044
* @memberof google.type

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717

1818
/**
1919
* Represents a time of day. The date and time zone are either not significant
20-
* or are specified elsewhere. An API may chose to allow leap seconds. Related
21-
* types are google.type.Date and
22-
* `google.protobuf.Timestamp`.
20+
* or are specified elsewhere. An API may choose to allow leap seconds. Related
21+
* types are google.type.Date and `google.protobuf.Timestamp`.
2322
*
2423
* @property {number} hours
2524
* Hours of day in 24 hour format. Should be from 0 to 23. An API may choose

packages/google-privacy-dlp/synth.metadata

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,38 @@
11
{
2-
"updateTime": "2019-03-08T00:45:38.662635Z",
2+
"updateTime": "2019-03-12T11:13:37.118363Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.15",
8-
"dockerImage": "googleapis/artman@sha256:9caadfa59d48224cba5f3217eb9d61a155b78ccf31e628abef385bc5b7ed3bd2"
7+
"version": "0.16.16",
8+
"dockerImage": "googleapis/artman@sha256:30babbfce7f05a62b1892c63c575aa2c8c502eb4bcc8f3bb90ec83e955d5d319"
9+
}
10+
},
11+
{
12+
"git": {
13+
"name": "googleapis",
14+
"remote": "https://github.com/googleapis/googleapis.git",
15+
"sha": "abd1c9a99c5cd7179d8e5e0c8d4c8e761054cc78",
16+
"internalRef": "237945492"
17+
}
18+
},
19+
{
20+
"template": {
21+
"name": "node_library",
22+
"origin": "synthtool.gcp",
23+
"version": "2019.2.26"
24+
}
25+
}
26+
],
27+
"destinations": [
28+
{
29+
"client": {
30+
"source": "googleapis",
31+
"apiName": "dlp",
32+
"apiVersion": "v2",
33+
"language": "nodejs",
34+
"generator": "gapic",
35+
"config": "google/privacy/dlp/artman_dlp_v2.yaml"
936
}
1037
}
1138
]

0 commit comments

Comments
 (0)