Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

refactor: update json import paths #254

Merged
merged 1 commit into from
Mar 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/v2/dlp_service_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

'use strict';

const gapicConfig = require('./dlp_service_client_config');
const gapicConfig = require('./dlp_service_client_config.json');
const gax = require('google-gax');
const merge = require('lodash.merge');
const path = require('path');
Expand Down
24 changes: 14 additions & 10 deletions src/v2/doc/google/type/doc_date.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,29 @@
// to be loaded as the JS file.

/**
* Represents a whole calendar date, e.g. date of birth. The time of day and
* time zone are either specified elsewhere or are not significant. The date
* is relative to the Proleptic Gregorian Calendar. The day may be 0 to
* represent a year and month where the day is not significant, e.g. credit card
* expiration date. The year may be 0 to represent a month and day independent
* of year, e.g. anniversary date. Related types are
* google.type.TimeOfDay and
* `google.protobuf.Timestamp`.
* Represents a whole or partial calendar date, e.g. a birthday. The time of day
* and time zone are either specified elsewhere or are not significant. The date
* is relative to the Proleptic Gregorian Calendar. This can represent:
*
* * A full date, with non-zero year, month and day values
* * A month and day value, with a zero year, e.g. an anniversary
* * A year on its own, with zero month and day values
* * A year and month value, with a zero day, e.g. a credit card expiration date
*
* Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
*
* @property {number} year
* Year of date. Must be from 1 to 9999, or 0 if specifying a date without
* a year.
*
* @property {number} month
* Month of year. Must be from 1 to 12.
* Month of year. Must be from 1 to 12, or 0 if specifying a year without a
* month and day.
*
* @property {number} day
* Day of month. Must be from 1 to 31 and valid for the year and month, or 0
* if specifying a year/month where the day is not significant.
* if specifying a year by itself or a year and month where the day is not
* significant.
*
* @typedef Date
* @memberof google.type
Expand Down
5 changes: 2 additions & 3 deletions src/v2/doc/google/type/doc_timeofday.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@

/**
* Represents a time of day. The date and time zone are either not significant
* or are specified elsewhere. An API may chose to allow leap seconds. Related
* types are google.type.Date and
* `google.protobuf.Timestamp`.
* or are specified elsewhere. An API may choose to allow leap seconds. Related
* types are google.type.Date and `google.protobuf.Timestamp`.
*
* @property {number} hours
* Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
Expand Down
33 changes: 30 additions & 3 deletions synth.metadata
Original file line number Diff line number Diff line change
@@ -1,11 +1,38 @@
{
"updateTime": "2019-03-08T00:45:38.662635Z",
"updateTime": "2019-03-12T11:13:37.118363Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.15",
"dockerImage": "googleapis/artman@sha256:9caadfa59d48224cba5f3217eb9d61a155b78ccf31e628abef385bc5b7ed3bd2"
"version": "0.16.16",
"dockerImage": "googleapis/artman@sha256:30babbfce7f05a62b1892c63c575aa2c8c502eb4bcc8f3bb90ec83e955d5d319"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "abd1c9a99c5cd7179d8e5e0c8d4c8e761054cc78",
"internalRef": "237945492"
}
},
{
"template": {
"name": "node_library",
"origin": "synthtool.gcp",
"version": "2019.2.26"
}
}
],
"destinations": [
{
"client": {
"source": "googleapis",
"apiName": "dlp",
"apiVersion": "v2",
"language": "nodejs",
"generator": "gapic",
"config": "google/privacy/dlp/artman_dlp_v2.yaml"
}
}
]
Expand Down