Skip to content

Commit 240165c

Browse files
dpebotJustinBeckwith
authored andcommitted
Switch to let/const (#97)
1 parent 5695e4e commit 240165c

27 files changed

Lines changed: 296 additions & 296 deletions

File tree

packages/google-cloud-videointelligence/src/v1/doc/google/cloud/videointelligence/v1/doc_video_intelligence.js

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
* @memberof google.cloud.videointelligence.v1
6363
* @see [google.cloud.videointelligence.v1.AnnotateVideoRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
6464
*/
65-
var AnnotateVideoRequest = {
65+
const AnnotateVideoRequest = {
6666
// This is for documentation. Actual contents will be loaded by gRPC.
6767
};
6868

@@ -100,7 +100,7 @@ var AnnotateVideoRequest = {
100100
* @memberof google.cloud.videointelligence.v1
101101
* @see [google.cloud.videointelligence.v1.VideoContext definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
102102
*/
103-
var VideoContext = {
103+
const VideoContext = {
104104
// This is for documentation. Actual contents will be loaded by gRPC.
105105
};
106106

@@ -128,7 +128,7 @@ var VideoContext = {
128128
* @memberof google.cloud.videointelligence.v1
129129
* @see [google.cloud.videointelligence.v1.LabelDetectionConfig definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
130130
*/
131-
var LabelDetectionConfig = {
131+
const LabelDetectionConfig = {
132132
// This is for documentation. Actual contents will be loaded by gRPC.
133133
};
134134

@@ -144,7 +144,7 @@ var LabelDetectionConfig = {
144144
* @memberof google.cloud.videointelligence.v1
145145
* @see [google.cloud.videointelligence.v1.ShotChangeDetectionConfig definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
146146
*/
147-
var ShotChangeDetectionConfig = {
147+
const ShotChangeDetectionConfig = {
148148
// This is for documentation. Actual contents will be loaded by gRPC.
149149
};
150150

@@ -160,7 +160,7 @@ var ShotChangeDetectionConfig = {
160160
* @memberof google.cloud.videointelligence.v1
161161
* @see [google.cloud.videointelligence.v1.ExplicitContentDetectionConfig definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
162162
*/
163-
var ExplicitContentDetectionConfig = {
163+
const ExplicitContentDetectionConfig = {
164164
// This is for documentation. Actual contents will be loaded by gRPC.
165165
};
166166

@@ -179,7 +179,7 @@ var ExplicitContentDetectionConfig = {
179179
* @memberof google.cloud.videointelligence.v1
180180
* @see [google.cloud.videointelligence.v1.FaceDetectionConfig definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
181181
*/
182-
var FaceDetectionConfig = {
182+
const FaceDetectionConfig = {
183183
// This is for documentation. Actual contents will be loaded by gRPC.
184184
};
185185

@@ -202,7 +202,7 @@ var FaceDetectionConfig = {
202202
* @memberof google.cloud.videointelligence.v1
203203
* @see [google.cloud.videointelligence.v1.VideoSegment definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
204204
*/
205-
var VideoSegment = {
205+
const VideoSegment = {
206206
// This is for documentation. Actual contents will be loaded by gRPC.
207207
};
208208

@@ -221,7 +221,7 @@ var VideoSegment = {
221221
* @memberof google.cloud.videointelligence.v1
222222
* @see [google.cloud.videointelligence.v1.LabelSegment definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
223223
*/
224-
var LabelSegment = {
224+
const LabelSegment = {
225225
// This is for documentation. Actual contents will be loaded by gRPC.
226226
};
227227

@@ -241,7 +241,7 @@ var LabelSegment = {
241241
* @memberof google.cloud.videointelligence.v1
242242
* @see [google.cloud.videointelligence.v1.LabelFrame definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
243243
*/
244-
var LabelFrame = {
244+
const LabelFrame = {
245245
// This is for documentation. Actual contents will be loaded by gRPC.
246246
};
247247

@@ -263,7 +263,7 @@ var LabelFrame = {
263263
* @memberof google.cloud.videointelligence.v1
264264
* @see [google.cloud.videointelligence.v1.Entity definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
265265
*/
266-
var Entity = {
266+
const Entity = {
267267
// This is for documentation. Actual contents will be loaded by gRPC.
268268
};
269269

@@ -297,7 +297,7 @@ var Entity = {
297297
* @memberof google.cloud.videointelligence.v1
298298
* @see [google.cloud.videointelligence.v1.LabelAnnotation definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
299299
*/
300-
var LabelAnnotation = {
300+
const LabelAnnotation = {
301301
// This is for documentation. Actual contents will be loaded by gRPC.
302302
};
303303

@@ -319,7 +319,7 @@ var LabelAnnotation = {
319319
* @memberof google.cloud.videointelligence.v1
320320
* @see [google.cloud.videointelligence.v1.ExplicitContentFrame definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
321321
*/
322-
var ExplicitContentFrame = {
322+
const ExplicitContentFrame = {
323323
// This is for documentation. Actual contents will be loaded by gRPC.
324324
};
325325

@@ -337,7 +337,7 @@ var ExplicitContentFrame = {
337337
* @memberof google.cloud.videointelligence.v1
338338
* @see [google.cloud.videointelligence.v1.ExplicitContentAnnotation definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
339339
*/
340-
var ExplicitContentAnnotation = {
340+
const ExplicitContentAnnotation = {
341341
// This is for documentation. Actual contents will be loaded by gRPC.
342342
};
343343

@@ -362,7 +362,7 @@ var ExplicitContentAnnotation = {
362362
* @memberof google.cloud.videointelligence.v1
363363
* @see [google.cloud.videointelligence.v1.NormalizedBoundingBox definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
364364
*/
365-
var NormalizedBoundingBox = {
365+
const NormalizedBoundingBox = {
366366
// This is for documentation. Actual contents will be loaded by gRPC.
367367
};
368368

@@ -378,7 +378,7 @@ var NormalizedBoundingBox = {
378378
* @memberof google.cloud.videointelligence.v1
379379
* @see [google.cloud.videointelligence.v1.FaceSegment definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
380380
*/
381-
var FaceSegment = {
381+
const FaceSegment = {
382382
// This is for documentation. Actual contents will be loaded by gRPC.
383383
};
384384

@@ -402,7 +402,7 @@ var FaceSegment = {
402402
* @memberof google.cloud.videointelligence.v1
403403
* @see [google.cloud.videointelligence.v1.FaceFrame definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
404404
*/
405-
var FaceFrame = {
405+
const FaceFrame = {
406406
// This is for documentation. Actual contents will be loaded by gRPC.
407407
};
408408

@@ -426,7 +426,7 @@ var FaceFrame = {
426426
* @memberof google.cloud.videointelligence.v1
427427
* @see [google.cloud.videointelligence.v1.FaceAnnotation definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
428428
*/
429-
var FaceAnnotation = {
429+
const FaceAnnotation = {
430430
// This is for documentation. Actual contents will be loaded by gRPC.
431431
};
432432

@@ -480,7 +480,7 @@ var FaceAnnotation = {
480480
* @memberof google.cloud.videointelligence.v1
481481
* @see [google.cloud.videointelligence.v1.VideoAnnotationResults definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
482482
*/
483-
var VideoAnnotationResults = {
483+
const VideoAnnotationResults = {
484484
// This is for documentation. Actual contents will be loaded by gRPC.
485485
};
486486

@@ -498,7 +498,7 @@ var VideoAnnotationResults = {
498498
* @memberof google.cloud.videointelligence.v1
499499
* @see [google.cloud.videointelligence.v1.AnnotateVideoResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
500500
*/
501-
var AnnotateVideoResponse = {
501+
const AnnotateVideoResponse = {
502502
// This is for documentation. Actual contents will be loaded by gRPC.
503503
};
504504

@@ -527,7 +527,7 @@ var AnnotateVideoResponse = {
527527
* @memberof google.cloud.videointelligence.v1
528528
* @see [google.cloud.videointelligence.v1.VideoAnnotationProgress definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
529529
*/
530-
var VideoAnnotationProgress = {
530+
const VideoAnnotationProgress = {
531531
// This is for documentation. Actual contents will be loaded by gRPC.
532532
};
533533

@@ -545,7 +545,7 @@ var VideoAnnotationProgress = {
545545
* @memberof google.cloud.videointelligence.v1
546546
* @see [google.cloud.videointelligence.v1.AnnotateVideoProgress definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto}
547547
*/
548-
var AnnotateVideoProgress = {
548+
const AnnotateVideoProgress = {
549549
// This is for documentation. Actual contents will be loaded by gRPC.
550550
};
551551

@@ -555,7 +555,7 @@ var AnnotateVideoProgress = {
555555
* @enum {number}
556556
* @memberof google.cloud.videointelligence.v1
557557
*/
558-
var Feature = {
558+
const Feature = {
559559

560560
/**
561561
* Unspecified.
@@ -589,7 +589,7 @@ var Feature = {
589589
* @enum {number}
590590
* @memberof google.cloud.videointelligence.v1
591591
*/
592-
var LabelDetectionMode = {
592+
const LabelDetectionMode = {
593593

594594
/**
595595
* Unspecified.
@@ -618,7 +618,7 @@ var LabelDetectionMode = {
618618
* @enum {number}
619619
* @memberof google.cloud.videointelligence.v1
620620
*/
621-
var Likelihood = {
621+
const Likelihood = {
622622

623623
/**
624624
* Unspecified likelihood.

packages/google-cloud-videointelligence/src/v1/doc/google/longrunning/doc_operations.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
* @memberof google.longrunning
5959
* @see [google.longrunning.Operation definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
6060
*/
61-
var Operation = {
61+
const Operation = {
6262
// This is for documentation. Actual contents will be loaded by gRPC.
6363
};
6464

@@ -72,7 +72,7 @@ var Operation = {
7272
* @memberof google.longrunning
7373
* @see [google.longrunning.GetOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
7474
*/
75-
var GetOperationRequest = {
75+
const GetOperationRequest = {
7676
// This is for documentation. Actual contents will be loaded by gRPC.
7777
};
7878

@@ -95,7 +95,7 @@ var GetOperationRequest = {
9595
* @memberof google.longrunning
9696
* @see [google.longrunning.ListOperationsRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
9797
*/
98-
var ListOperationsRequest = {
98+
const ListOperationsRequest = {
9999
// This is for documentation. Actual contents will be loaded by gRPC.
100100
};
101101

@@ -114,7 +114,7 @@ var ListOperationsRequest = {
114114
* @memberof google.longrunning
115115
* @see [google.longrunning.ListOperationsResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
116116
*/
117-
var ListOperationsResponse = {
117+
const ListOperationsResponse = {
118118
// This is for documentation. Actual contents will be loaded by gRPC.
119119
};
120120

@@ -128,7 +128,7 @@ var ListOperationsResponse = {
128128
* @memberof google.longrunning
129129
* @see [google.longrunning.CancelOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
130130
*/
131-
var CancelOperationRequest = {
131+
const CancelOperationRequest = {
132132
// This is for documentation. Actual contents will be loaded by gRPC.
133133
};
134134

@@ -142,6 +142,6 @@ var CancelOperationRequest = {
142142
* @memberof google.longrunning
143143
* @see [google.longrunning.DeleteOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
144144
*/
145-
var DeleteOperationRequest = {
145+
const DeleteOperationRequest = {
146146
// This is for documentation. Actual contents will be loaded by gRPC.
147147
};

packages/google-cloud-videointelligence/src/v1/doc/google/protobuf/doc_any.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,6 @@
131131
* @memberof google.protobuf
132132
* @see [google.protobuf.Any definition in proto format]{@link https://github.com/google/protobuf/blob/master/src/google/protobuf/any.proto}
133133
*/
134-
var Any = {
134+
const Any = {
135135
// This is for documentation. Actual contents will be loaded by gRPC.
136136
};

packages/google-cloud-videointelligence/src/v1/doc/google/protobuf/doc_duration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@
9292
* @memberof google.protobuf
9393
* @see [google.protobuf.Duration definition in proto format]{@link https://github.com/google/protobuf/blob/master/src/google/protobuf/duration.proto}
9494
*/
95-
var Duration = {
95+
const Duration = {
9696
// This is for documentation. Actual contents will be loaded by gRPC.
9797
};

packages/google-cloud-videointelligence/src/v1/doc/google/rpc/doc_status.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@
8787
* @memberof google.rpc
8888
* @see [google.rpc.Status definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto}
8989
*/
90-
var Status = {
90+
const Status = {
9191
// This is for documentation. Actual contents will be loaded by gRPC.
9292
};

0 commit comments

Comments
 (0)