Skip to content

Commit c1075e6

Browse files
yoshi-automationtseaver
authored andcommitted
chore(videointelligence): tweak docstrings, client configuration (via synth) (#9434)
1 parent 40d7c98 commit c1075e6

5 files changed

Lines changed: 306 additions & 269 deletions

File tree

packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/video_intelligence_service_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,19 +241,19 @@ def annotate_video(
241241
request as ``input_content``. If set, ``input_content`` should be unset.
242242
input_content (bytes): The video data bytes. If unset, the input video(s) should be specified
243243
via ``input_uri``. If set, ``input_uri`` should be unset.
244-
features (list[~google.cloud.videointelligence_v1.types.Feature]): Requested video annotation features.
244+
features (list[~google.cloud.videointelligence_v1.types.Feature]): Required. Requested video annotation features.
245245
video_context (Union[dict, ~google.cloud.videointelligence_v1.types.VideoContext]): Additional video context and/or feature-specific parameters.
246246
247247
If a dict is provided, it must be of the same form as the protobuf
248248
message :class:`~google.cloud.videointelligence_v1.types.VideoContext`
249-
output_uri (str): Optional location where the output (in JSON format) should be stored.
249+
output_uri (str): Optional. Location where the output (in JSON format) should be stored.
250250
Currently, only `Google Cloud
251251
Storage <https://cloud.google.com/storage/>`__ URIs are supported, which
252252
must be specified in the following format: ``gs://bucket-id/object-id``
253253
(other URI formats return ``google.rpc.Code.INVALID_ARGUMENT``). For
254254
more information, see `Request
255255
URIs <https://cloud.google.com/storage/docs/reference-uris>`__.
256-
location_id (str): Optional cloud region where annotation should take place. Supported
256+
location_id (str): Optional. Cloud region where annotation should take place. Supported
257257
cloud regions: ``us-east1``, ``us-west1``, ``europe-west1``,
258258
``asia-east1``. If no region is specified, a region will be determined
259259
based on video file location.

packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/video_intelligence_service_client_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"methods": {
2020
"AnnotateVideo": {
21-
"timeout_millis": 600000,
21+
"timeout_millis": 60000,
2222
"retry_codes_name": "idempotent",
2323
"retry_params_name": "default",
2424
}

0 commit comments

Comments
 (0)