You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/google-cloud-videointelligence/samples/generated/v1beta2/video_intelligence_service.annotate_video.js
+11-11
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,12 @@ function main(features) {
21
21
*/
22
22
/**
23
23
* Input video location. Currently, only
24
-
* [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
24
+
* Google Cloud Storage(https://cloud.google.com/storage/) URIs are
25
25
* supported, which must be specified in the following format:
26
26
* `gs://bucket-id/object-id` (other URI formats return
27
-
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
28
-
* more information, see [Request
29
-
* URIs](https://cloud.google.com/storage/docs/request-endpoints). A video URI
27
+
* google.rpc.Code.INVALID_ARGUMENTgoogle.rpc.Code.INVALID_ARGUMENT). For
28
+
* more information, see Request
29
+
* URIs(https://cloud.google.com/storage/docs/request-endpoints). A video URI
30
30
* may include wildcards in `object-id`, and thus identify multiple videos.
31
31
* Supported wildcards: '*' to match 0 or more characters;
32
32
* '?' to match 1 character. If unset, the input video should be embedded
@@ -46,15 +46,15 @@ function main(features) {
46
46
/**
47
47
* Additional video context and/or feature-specific parameters.
48
48
*/
49
-
// const videoContext = ''
49
+
// const videoContext = {}
50
50
/**
51
51
* Optional. Location where the output (in JSON format) should be stored.
52
-
* Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
52
+
* Currently, only Google Cloud Storage(https://cloud.google.com/storage/)
53
53
* URIs are supported, which must be specified in the following format:
54
54
* `gs://bucket-id/object-id` (other URI formats return
55
-
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
Copy file name to clipboardExpand all lines: packages/google-cloud-videointelligence/samples/generated/v1p1beta1/video_intelligence_service.annotate_video.js
+11-11
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,12 @@ function main(features) {
21
21
*/
22
22
/**
23
23
* Input video location. Currently, only
24
-
* [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
24
+
* Google Cloud Storage(https://cloud.google.com/storage/) URIs are
25
25
* supported, which must be specified in the following format:
26
26
* `gs://bucket-id/object-id` (other URI formats return
27
-
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
28
-
* more information, see [Request
29
-
* URIs](https://cloud.google.com/storage/docs/request-endpoints). A video URI
27
+
* google.rpc.Code.INVALID_ARGUMENTgoogle.rpc.Code.INVALID_ARGUMENT). For
28
+
* more information, see Request
29
+
* URIs(https://cloud.google.com/storage/docs/request-endpoints). A video URI
30
30
* may include wildcards in `object-id`, and thus identify multiple videos.
31
31
* Supported wildcards: '*' to match 0 or more characters;
32
32
* '?' to match 1 character. If unset, the input video should be embedded
@@ -46,15 +46,15 @@ function main(features) {
46
46
/**
47
47
* Additional video context and/or feature-specific parameters.
48
48
*/
49
-
// const videoContext = ''
49
+
// const videoContext = {}
50
50
/**
51
51
* Optional. Location where the output (in JSON format) should be stored.
52
-
* Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
52
+
* Currently, only Google Cloud Storage(https://cloud.google.com/storage/)
53
53
* URIs are supported, which must be specified in the following format:
54
54
* `gs://bucket-id/object-id` (other URI formats return
55
-
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
Copy file name to clipboardExpand all lines: packages/google-cloud-videointelligence/samples/generated/v1p2beta1/video_intelligence_service.annotate_video.js
+9-9
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@ function main(features) {
21
21
*/
22
22
/**
23
23
* Input video location. Currently, only
24
-
* [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
24
+
* Google Cloud Storage(https://cloud.google.com/storage/) URIs are
25
25
* supported, which must be specified in the following format:
26
26
* `gs://bucket-id/object-id` (other URI formats return
27
-
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
Copy file name to clipboardExpand all lines: packages/google-cloud-videointelligence/samples/generated/v1p3beta1/streaming_video_intelligence_service.streaming_annotate_video.js
+3-3
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ function main() {
24
24
* request. The first `AnnotateStreamingVideoRequest` message must only
25
25
* contain a `video_config` message.
26
26
*/
27
-
// const videoConfig = ''
27
+
// const videoConfig = {}
28
28
/**
29
29
* The video data to be annotated. Chunks of video data are sequentially
30
30
* sent in `StreamingAnnotateVideoRequest` messages. Except the initial
Copy file name to clipboardExpand all lines: packages/google-cloud-videointelligence/samples/generated/v1p3beta1/video_intelligence_service.annotate_video.js
+11-11
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,12 @@ function main(features) {
21
21
*/
22
22
/**
23
23
* Input video location. Currently, only
24
-
* [Cloud Storage](https://cloud.google.com/storage/) URIs are
24
+
* Cloud Storage(https://cloud.google.com/storage/) URIs are
25
25
* supported. URIs must be specified in the following format:
26
26
* `gs://bucket-id/object-id` (other URI formats return
27
-
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
28
-
* more information, see [Request
29
-
* URIs](https://cloud.google.com/storage/docs/request-endpoints). To identify
27
+
* google.rpc.Code.INVALID_ARGUMENTgoogle.rpc.Code.INVALID_ARGUMENT). For
28
+
* more information, see Request
29
+
* URIs(https://cloud.google.com/storage/docs/request-endpoints). To identify
30
30
* multiple videos, a video URI may include wildcards in the `object-id`.
31
31
* Supported wildcards: '*' to match 0 or more characters;
32
32
* '?' to match 1 character. If unset, the input video should be embedded
@@ -46,15 +46,15 @@ function main(features) {
46
46
/**
47
47
* Additional video context and/or feature-specific parameters.
48
48
*/
49
-
// const videoContext = ''
49
+
// const videoContext = {}
50
50
/**
51
51
* Optional. Location where the output (in JSON format) should be stored.
52
-
* Currently, only [Cloud Storage](https://cloud.google.com/storage/)
52
+
* Currently, only Cloud Storage(https://cloud.google.com/storage/)
53
53
* URIs are supported. These must be specified in the following format:
54
54
* `gs://bucket-id/object-id` (other URI formats return
55
-
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
0 commit comments