Skip to content

Commit 5e22af7

Browse files
JustinBeckwithjmdobry
authored andcommitted
First step to TypeScript upgrade (#731)
1 parent 4a4cf04 commit 5e22af7

File tree

205 files changed

+290
-230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+290
-230
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ coverage
77
# Empty API
88
apis/iam/v1alpha1.js
99
.nyc_output
10+
**/*.js
11+
**/*.js.map
12+
!samples/**/*.js
13+
.vscode

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ cache:
1818
before_install:
1919
- npm i -g nyc codecov
2020

21+
before_script:
22+
- npm run build
23+
2124
after_success:
2225
- nyc report --reporter=lcov > coverage.lcov && codecov

apis/acceleratedmobilepageurl/v1.js renamed to apis/acceleratedmobilepageurl/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,4 @@ the cached document in the Google AMP Cache.
117117
* @property {string} errorCode The error code of an API call.
118118
* @property {string} originalUrl The original non-AMP URL.
119119
*/
120-
module.exports = Acceleratedmobilepageurl;
120+
export = Acceleratedmobilepageurl;

apis/adexchangebuyer/v1.2.js renamed to apis/adexchangebuyer/v1.2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,4 +354,4 @@ function Adexchangebuyer(options) { // eslint-disable-line
354354
* @property {string} kind Resource type.
355355
* @property {string} nextPageToken Continuation token used to page through creatives. To retrieve the next page of results, set the next request's "pageToken" value to this.
356356
*/
357-
module.exports = Adexchangebuyer;
357+
export = Adexchangebuyer;

apis/adexchangebuyer/v1.3.js renamed to apis/adexchangebuyer/v1.3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,4 +1004,4 @@ function Adexchangebuyer(options) { // eslint-disable-line
10041004
* @property {adexchangebuyer(v1.3).PretargetingConfig[]} items A list of pretargeting configs
10051005
* @property {string} kind Resource type.
10061006
*/
1007-
module.exports = Adexchangebuyer;
1007+
export = Adexchangebuyer;

apis/adexchangebuyer/v1.4.js renamed to apis/adexchangebuyer/v1.4.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2085,4 +2085,4 @@ function Adexchangebuyer(options) { // eslint-disable-line
20852085
* @property {string} proposalRevisionNumber The current revision number of the proposal to be updated.
20862086
* @property {string} updateAction The proposed action on the private auction proposal.
20872087
*/
2088-
module.exports = Adexchangebuyer;
2088+
export = Adexchangebuyer;

apis/adexchangebuyer2/v2beta1.js renamed to apis/adexchangebuyer2/v2beta1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,4 +1139,4 @@ buyer.
11391139
that the invited user is associated with.
11401140
The value of this field is ignored in create operations.
11411141
*/
1142-
module.exports = Adexchangebuyer2;
1142+
export = Adexchangebuyer2;

apis/adexchangeseller/v1.1.js renamed to apis/adexchangeseller/v1.1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,4 +881,4 @@ INACTIVE: Indicates that there has been no activity on this ad unit in the last
881881
* @property {string} kind Kind of list this is, in this case adexchangeseller#urlChannels.
882882
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
883883
*/
884-
module.exports = Adexchangeseller;
884+
export = Adexchangeseller;

apis/adexchangeseller/v1.js renamed to apis/adexchangeseller/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,4 +589,4 @@ INACTIVE: Indicates that there has been no activity on this ad unit in the last
589589
* @property {string} kind Kind of list this is, in this case adexchangeseller#urlChannels.
590590
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
591591
*/
592-
module.exports = Adexchangeseller;
592+
export = Adexchangeseller;

apis/adexchangeseller/v2.0.js renamed to apis/adexchangeseller/v2.0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,4 +749,4 @@ function Adexchangeseller(options) { // eslint-disable-line
749749
* @property {string} kind Kind of list this is, in this case adexchangeseller#urlChannels.
750750
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
751751
*/
752-
module.exports = Adexchangeseller;
752+
export = Adexchangeseller;

apis/admin/datatransfer_v1.js renamed to apis/admin/datatransfer_v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,4 +287,4 @@ function Admin(options) { // eslint-disable-line
287287
* @property {string} kind Identifies the resource as a collection of data transfer requests.
288288
* @property {string} nextPageToken Continuation token which will be used to specify next page in list API.
289289
*/
290-
module.exports = Admin;
290+
export = Admin;

apis/admin/directory_v1.js renamed to apis/admin/directory_v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4311,4 +4311,4 @@ function Admin(options) { // eslint-disable-line
43114311
* @property {admin(directory_v1).VerificationCode[]} items A list of verification code resources.
43124312
* @property {string} kind The type of the resource. This is always admin#directory#verificationCodesList.
43134313
*/
4314-
module.exports = Admin;
4314+
export = Admin;

apis/admin/reports_v1.js renamed to apis/admin/reports_v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,4 +316,4 @@ function Admin(options) { // eslint-disable-line
316316
* @property {admin(reports_v1).UsageReport[]} usageReports Various application parameter records.
317317
* @property {object[]} warnings Warnings if any.
318318
*/
319-
module.exports = Admin;
319+
export = Admin;

apis/adsense/v1.3.js renamed to apis/adsense/v1.3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1591,4 +1591,4 @@ INACTIVE: Indicates that there has been no activity on this ad unit in the last
15911591
* @property {string} kind Kind of list this is, in this case adsense#urlChannels.
15921592
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
15931593
*/
1594-
module.exports = Adsense;
1594+
export = Adsense;

apis/adsense/v1.4.js renamed to apis/adsense/v1.4.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,4 +1760,4 @@ INACTIVE: Indicates that there has been no activity on this ad unit in the last
17601760
* @property {string} kind Kind of list this is, in this case adsense#urlChannels.
17611761
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
17621762
*/
1763-
module.exports = Adsense;
1763+
export = Adsense;

apis/adsensehost/v4.1.js renamed to apis/adsensehost/v4.1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,4 +1177,4 @@ INACTIVE: Indicates that there has been no activity on this ad unit in the last
11771177
* @property {string} kind Kind of list this is, in this case adsensehost#urlChannels.
11781178
* @property {string} nextPageToken Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.
11791179
*/
1180-
module.exports = Adsensehost;
1180+
export = Adsensehost;

apis/analytics/v2.4.js renamed to apis/analytics/v2.4.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,4 +293,4 @@ function Analytics(options) { // eslint-disable-line
293293
};
294294
}
295295

296-
module.exports = Analytics;
296+
export = Analytics;

apis/analytics/v3.js renamed to apis/analytics/v3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4172,4 +4172,4 @@ For write (i.e., create, update, or delete) operations, you may specify a value
41724172
* @property {string} updated Time this web property was last modified.
41734173
* @property {string} websiteUrl Website url for this web property.
41744174
*/
4175-
module.exports = Analytics;
4175+
export = Analytics;

apis/analyticsreporting/v4.js renamed to apis/analyticsreporting/v4.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,4 +602,4 @@ will result in unexpected results.
602602
* @property {analyticsreporting(v4).PivotHeaderEntry[]} pivotHeaderEntries A single pivot section header.
603603
* @property {integer} totalPivotGroupsCount The total number of groups for this pivot.
604604
*/
605-
module.exports = Analyticsreporting;
605+
export = Analyticsreporting;

apis/androidenterprise/v1.js renamed to apis/androidenterprise/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3420,4 +3420,4 @@ No attempt is made to verify that all pages are reachable from the homepage.
34203420
* @property {string} kind Identifies what kind of resource this is. Value: the fixed string "androidenterprise#usersListResponse".
34213421
* @property {androidenterprise(v1).User[]} user A user of an enterprise.
34223422
*/
3423-
module.exports = Androidenterprise;
3423+
export = Androidenterprise;

apis/androidpublisher/v1.1.js renamed to apis/androidpublisher/v1.1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,4 @@ function Androidpublisher(options) { // eslint-disable-line
183183
* @property {string} kind This kind represents a subscriptionPurchase object in the androidpublisher service.
184184
* @property {string} validUntilTimestampMsec Time at which the subscription will expire, in milliseconds since the Epoch.
185185
*/
186-
module.exports = Androidpublisher;
186+
export = Androidpublisher;

apis/androidpublisher/v1.js renamed to apis/androidpublisher/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,4 @@ function Androidpublisher(options) { // eslint-disable-line
128128
* @property {string} kind This kind represents a subscriptionPurchase object in the androidpublisher service.
129129
* @property {string} validUntilTimestampMsec Time at which the subscription will expire, in milliseconds since the Epoch.
130130
*/
131-
module.exports = Androidpublisher;
131+
export = Androidpublisher;

apis/androidpublisher/v2.js renamed to apis/androidpublisher/v2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2727,4 +2727,4 @@ function Androidpublisher(options) { // eslint-disable-line
27272727
* @property {androidpublisher(v2).TokenPagination} tokenPagination
27282728
* @property {androidpublisher(v2).VoidedPurchase[]} voidedPurchases
27292729
*/
2730-
module.exports = Androidpublisher;
2730+
export = Androidpublisher;

apis/appengine/v1.js renamed to apis/appengine/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,4 +1313,4 @@ ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for Automatic
13131313
* @property {string} method API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly
13141314
* @property {string} endTime Time that this operation completed.@OutputOnly
13151315
*/
1316-
module.exports = Appengine;
1316+
export = Appengine;

apis/appengine/v1alpha.js renamed to apis/appengine/v1alpha.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,4 +303,4 @@ function Appengine(options) { // eslint-disable-line
303303
304304
* @property {string} name Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"
305305
*/
306-
module.exports = Appengine;
306+
export = Appengine;

apis/appengine/v1beta.js renamed to apis/appengine/v1beta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1802,4 +1802,4 @@ ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for Automatic
18021802
* @property {string} publicCertificate PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: <pre> -----BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- </pre>
18031803
* @property {string} privateKey Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: <pre> -----BEGIN RSA PRIVATE KEY----- <unencrypted_key_value> -----END RSA PRIVATE KEY----- </pre> @InputOnly
18041804
*/
1805-
module.exports = Appengine;
1805+
export = Appengine;

apis/appengine/v1beta4.js renamed to apis/appengine/v1beta4.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,4 +1244,4 @@ ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for Automatic
12441244
* @property {integer} targetRequestCountPerSec Target requests per second.
12451245
* @property {integer} targetConcurrentRequests Target number of concurrent requests.
12461246
*/
1247-
module.exports = Appengine;
1247+
export = Appengine;

apis/appengine/v1beta5.js renamed to apis/appengine/v1beta5.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,4 +1245,4 @@ ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for Automatic
12451245
* @property {appengine(v1beta5).Service[]} services The services belonging to the requested application.
12461246
* @property {string} nextPageToken Continuation token for fetching the next page of results.
12471247
*/
1248-
module.exports = Appengine;
1248+
export = Appengine;

apis/appsactivity/v1.js renamed to apis/appsactivity/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,4 @@ function Appsactivity(options) { // eslint-disable-line
178178
* @property {string} permissionId The permission ID associated with this user. Equivalent to the Drive API's permission ID for this user, returned as part of the Drive Permissions resource.
179179
* @property {appsactivity(v1).Photo} photo The profile photo of the user. Not present if the user has no profile photo.
180180
*/
181-
module.exports = Appsactivity;
181+
export = Appsactivity;

apis/appstate/v1.js renamed to apis/appstate/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,4 @@ function Appstate(options) { // eslint-disable-line
255255
* @property {string} kind Uniquely identifies the type of this resource. Value is always the fixed string appstate#writeResult.
256256
* @property {integer} stateKey The written key.
257257
*/
258-
module.exports = Appstate;
258+
export = Appstate;

apis/bigquery/v2.js renamed to apis/bigquery/v2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2628,4 +2628,4 @@ function Bigquery(options) { // eslint-disable-line
26282628
* @property {boolean} useLegacySql Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
26292629
* @property {bigquery(v2).UserDefinedFunctionResource[]} userDefinedFunctionResources Describes user-defined function resources used in the query.
26302630
*/
2631-
module.exports = Bigquery;
2631+
export = Bigquery;

apis/blogger/v2.js renamed to apis/blogger/v2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,4 +501,4 @@ function Blogger(options) { // eslint-disable-line
501501
* @property {string} selfLink The API REST URL to fetch this resource from.
502502
* @property {string} url The user's profile page.
503503
*/
504-
module.exports = Blogger;
504+
export = Blogger;

apis/blogger/v3.js renamed to apis/blogger/v3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1517,4 +1517,4 @@ function Blogger(options) { // eslint-disable-line
15171517
* @property {string} selfLink The API REST URL to fetch this resource from.
15181518
* @property {string} url The user's profile page.
15191519
*/
1520-
module.exports = Blogger;
1520+
export = Blogger;

apis/books/v1.js renamed to apis/books/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2346,4 +2346,4 @@ function Books(options) { // eslint-disable-line
23462346
* @property {string} shortSeriesBookTitle Short book title in the context of the series.
23472347
* @property {object[]} volumeSeries
23482348
*/
2349-
module.exports = Books;
2349+
export = Books;

apis/calendar/v3.js renamed to apis/calendar/v3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1857,4 +1857,4 @@ For adding Google Drive file attachments use the same format as in alternateLink
18571857
* @property {string} end The (exclusive) end of the time period.
18581858
* @property {string} start The (inclusive) start of the time period.
18591859
*/
1860-
module.exports = Calendar;
1860+
export = Calendar;

apis/civicinfo/v2.js renamed to apis/civicinfo/v2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,4 +554,4 @@ For example, if this division's OCD ID is ocd-division/country:us/district:d
554554
* @property {civicinfo(v2).VoterInfoRequest} request
555555
* @property {civicinfo(v2).VoterInfoResponse} response
556556
*/
557-
module.exports = Civicinfo;
557+
export = Civicinfo;

apis/classroom/v1.js renamed to apis/classroom/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2235,4 +2235,4 @@ results are available.
22352235
results are available.
22362236
* @property {classroom(v1).Student[]} students Students who match the list request.
22372237
*/
2238-
module.exports = Classroom;
2238+
export = Classroom;

apis/cloudbilling/v1.js renamed to apis/cloudbilling/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,4 +573,4 @@ therefore projects associated with it will be unable to use paid services.
573573
`billingAccounts/012345-567890-ABCDEF` would be the resource name for
574574
billing account `012345-567890-ABCDEF`.
575575
*/
576-
module.exports = Cloudbilling;
576+
export = Cloudbilling;

apis/cloudbuild/v1.js renamed to apis/cloudbuild/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,4 +770,4 @@ build.
770770
* @property {cloudbuild(v1).BuiltImage[]} images Images that were built as a part of the build.
771771
* @property {string[]} buildStepImages List of build step digests, in order corresponding to build step indices.
772772
*/
773-
module.exports = Cloudbuild;
773+
export = Cloudbuild;

apis/clouddebugger/v2.js renamed to apis/clouddebugger/v2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,4 +1120,4 @@ The field `id` is guaranteed to be set (in addition to the echoed fileds).
11201120
* @property {clouddebugger(v2).Breakpoint} breakpoint Updated breakpoint information.
11211121
The field 'id' must be set.
11221122
*/
1123-
module.exports = Clouddebugger;
1123+
export = Clouddebugger;

apis/clouderrorreporting/v1beta1.js renamed to apis/clouderrorreporting/v1beta1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,4 +489,4 @@ and contain the result of [`(string)$exception`](http://php.net/manual/en/except
489489
If not provided, the time when the event was received by the
490490
Error Reporting system will be used.
491491
*/
492-
module.exports = Clouderrorreporting;
492+
export = Clouderrorreporting;

apis/cloudfunctions/v1.js renamed to apis/cloudfunctions/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ function Cloudfunctions(options) { // eslint-disable-line
5151
projects/project-1/locations/region-1/functions/function-1
5252
* @property {object} request The original request that started the operation.
5353
*/
54-
module.exports = Cloudfunctions;
54+
export = Cloudfunctions;

apis/cloudfunctions/v1beta2.js renamed to apis/cloudfunctions/v1beta2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,4 +509,4 @@ Google Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish`
509509
* @type object
510510
* @property {string} url Output only. The deployed url for the function.
511511
*/
512-
module.exports = Cloudfunctions;
512+
export = Cloudfunctions;

apis/cloudkms/v1.js renamed to apis/cloudkms/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,4 +1238,4 @@ allowed.
12381238
* @memberOf! cloudkms(v1)
12391239
* @type object
12401240
*/
1241-
module.exports = Cloudkms;
1241+
export = Cloudkms;

apis/cloudmonitoring/v2beta2.js renamed to apis/cloudmonitoring/v2beta2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,4 +450,4 @@ function Cloudmonitoring(options) { // eslint-disable-line
450450
* @type object
451451
* @property {string} kind Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#writeTimeseriesResponse".
452452
*/
453-
module.exports = Cloudmonitoring;
453+
export = Cloudmonitoring;

apis/cloudresourcemanager/v1.js renamed to apis/cloudresourcemanager/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2925,4 +2925,4 @@ common set of message types for APIs to use.
29252925
For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
29262926
Required
29272927
*/
2928-
module.exports = Cloudresourcemanager;
2928+
export = Cloudresourcemanager;

apis/cloudresourcemanager/v1beta1.js renamed to apis/cloudresourcemanager/v1beta1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1797,4 +1797,4 @@ Read-only.
17971797
Example: <code>415104041262</code>
17981798
Read-only.
17991799
*/
1800-
module.exports = Cloudresourcemanager;
1800+
export = Cloudresourcemanager;

apis/cloudtrace/v1.js renamed to apis/cloudtrace/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,4 +384,4 @@ numeric value formatted as a 32-byte hex string.
384384
* @type object
385385
* @property {cloudtrace(v1).Trace[]} traces List of traces.
386386
*/
387-
module.exports = Cloudtrace;
387+
export = Cloudtrace;

apis/clouduseraccounts/alpha.js renamed to apis/clouduseraccounts/alpha.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,4 +1151,4 @@ If no `etag` is provided in the call to `setIamPolicy`, then the existing policy
11511151
* @property {string} nextPageToken [Output Only] A token used to continue a truncated list request.
11521152
* @property {string} selfLink [Output Only] Server defined URL for this resource.
11531153
*/
1154-
module.exports = Clouduseraccounts;
1154+
export = Clouduseraccounts;

apis/clouduseraccounts/beta.js renamed to apis/clouduseraccounts/beta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1814,4 +1814,4 @@ function Clouduseraccounts(options) { // eslint-disable-line
18141814
* @property {string} nextPageToken [Output Only] A token used to continue a truncated list request.
18151815
* @property {string} selfLink [Output Only] Server defined URL for this resource.
18161816
*/
1817-
module.exports = Clouduseraccounts;
1817+
export = Clouduseraccounts;

apis/clouduseraccounts/vm_alpha.js renamed to apis/clouduseraccounts/vm_alpha.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,4 +1151,4 @@ If no `etag` is provided in the call to `setIamPolicy`, then the existing policy
11511151
* @property {string} nextPageToken [Output Only] A token used to continue a truncated list request.
11521152
* @property {string} selfLink [Output Only] Server defined URL for this resource.
11531153
*/
1154-
module.exports = Clouduseraccounts;
1154+
export = Clouduseraccounts;

apis/clouduseraccounts/vm_beta.js renamed to apis/clouduseraccounts/vm_beta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,4 +842,4 @@ function Clouduseraccounts(options) { // eslint-disable-line
842842
* @property {string} nextPageToken [Output Only] A token used to continue a truncated list request.
843843
* @property {string} selfLink [Output Only] Server defined URL for this resource.
844844
*/
845-
module.exports = Clouduseraccounts;
845+
export = Clouduseraccounts;

apis/compute/alpha.js renamed to apis/compute/alpha.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18301,4 +18301,4 @@ To see the latest fingerprint, make a get() request to retrieve a VpnTunnel.
1830118301
* @property {string} labelFingerprint The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
1830218302
* @property {object} labels The labels to set for this resource.
1830318303
*/
18304-
module.exports = Compute;
18304+
export = Compute;

apis/compute/beta.js renamed to apis/compute/beta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34906,4 +34906,4 @@ CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol w
3490634906
* @property {string} labelFingerprint The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
3490734907
* @property {object} labels The labels to set for this resource.
3490834908
*/
34909-
module.exports = Compute;
34909+
export = Compute;

apis/compute/v1.js renamed to apis/compute/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27616,4 +27616,4 @@ CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol w
2761627616
* @property {string} nextPageToken [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
2761727617
* @property {string} selfLink [Output Only] Server-defined URL for this resource.
2761827618
*/
27619-
module.exports = Compute;
27619+
export = Compute;

apis/consumersurveys/v2.js renamed to apis/consumersurveys/v2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,4 +618,4 @@ function Consumersurveys(options) { // eslint-disable-line
618618
* @property {string} nextPageToken
619619
* @property {string} previousPageToken
620620
*/
621-
module.exports = Consumersurveys;
621+
export = Consumersurveys;

apis/container/v1.js renamed to apis/container/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1733,4 +1733,4 @@ function Container(options) { // eslint-disable-line
17331733
* @type object
17341734
* @property {container(v1).NodeManagement} management NodeManagement configuration for the node pool.
17351735
*/
1736-
module.exports = Container;
1736+
export = Container;

apis/content/v2.js renamed to apis/content/v2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3618,4 +3618,4 @@ Acceptable values are:
36183618
* @property {string} unit The weight unit.
36193619
* @property {string} value The weight represented as a number.
36203620
*/
3621-
module.exports = Content;
3621+
export = Content;

apis/content/v2sandbox.js renamed to apis/content/v2sandbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,4 +1153,4 @@ Start date and end date are separated by a forward slash (/). The start date is
11531153
* @property {string} predefinedBillingAddress The billing address.
11541154
* @property {string} type The type of instrument. Note that real orders might have different values than the four values accepted by createTestOrder.
11551155
*/
1156-
module.exports = Content;
1156+
export = Content;

apis/customsearch/v1.js renamed to apis/customsearch/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,4 @@ function Customsearch(options) { // eslint-disable-line
204204
* @property {object} spelling
205205
* @property {object} url
206206
*/
207-
module.exports = Customsearch;
207+
export = Customsearch;

apis/dataflow/v1b3.js renamed to apis/dataflow/v1b3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2689,4 +2689,4 @@ to have failed.
26892689
is completed, contains the result of the operation.
26902690
* @property {dataflow(v1b3).ApproximateProgress} progress DEPRECATED in favor of reported_progress.
26912691
*/
2692-
module.exports = Dataflow;
2692+
export = Dataflow;

0 commit comments

Comments
 (0)