|
47 | 47 |
|
48 | 48 |
|
49 | 49 | class VideoIntelligenceServiceClient(object):
|
50 |
| - """Service that implements Google Cloud Video Intelligence API.""" |
| 50 | + """Service that implements the Video Intelligence API.""" |
51 | 51 |
|
52 | 52 | SERVICE_ADDRESS = "videointelligence.googleapis.com:443"
|
53 | 53 | """The default address of the service."""
|
@@ -233,33 +233,33 @@ def annotate_video(
|
233 | 233 |
|
234 | 234 | Args:
|
235 | 235 | features (list[~google.cloud.videointelligence_v1.types.Feature]): Required. Requested video annotation features.
|
236 |
| - input_uri (str): Input video location. Currently, only `Google Cloud |
237 |
| - Storage <https://cloud.google.com/storage/>`__ URIs are supported, which |
| 236 | + input_uri (str): Input video location. Currently, only `Cloud |
| 237 | + Storage <https://cloud.google.com/storage/>`__ URIs are supported. URIs |
238 | 238 | must be specified in the following format: ``gs://bucket-id/object-id``
|
239 | 239 | (other URI formats return ``google.rpc.Code.INVALID_ARGUMENT``). For
|
240 | 240 | more information, see `Request
|
241 |
| - URIs <https://cloud.google.com/storage/docs/request-endpoints>`__. A |
242 |
| - video URI may include wildcards in ``object-id``, and thus identify |
243 |
| - multiple videos. Supported wildcards: '*' to match 0 or more characters; |
| 241 | + URIs <https://cloud.google.com/storage/docs/request-endpoints>`__. To |
| 242 | + identify multiple videos, a video URI may include wildcards in the |
| 243 | + ``object-id``. Supported wildcards: '*' to match 0 or more characters; |
244 | 244 | '?' to match 1 character. If unset, the input video should be embedded
|
245 |
| - in the request as ``input_content``. If set, ``input_content`` should be |
| 245 | + in the request as ``input_content``. If set, ``input_content`` must be |
246 | 246 | unset.
|
247 | 247 | input_content (bytes): The video data bytes. If unset, the input video(s) should be
|
248 |
| - specified via ``input_uri``. If set, ``input_uri`` should be unset. |
| 248 | + specified via the ``input_uri``. If set, ``input_uri`` must be unset. |
249 | 249 | video_context (Union[dict, ~google.cloud.videointelligence_v1.types.VideoContext]): Additional video context and/or feature-specific parameters.
|
250 | 250 |
|
251 | 251 | If a dict is provided, it must be of the same form as the protobuf
|
252 | 252 | message :class:`~google.cloud.videointelligence_v1.types.VideoContext`
|
253 | 253 | output_uri (str): Optional. Location where the output (in JSON format) should be
|
254 |
| - stored. Currently, only `Google Cloud |
255 |
| - Storage <https://cloud.google.com/storage/>`__ URIs are supported, which |
| 254 | + stored. Currently, only `Cloud |
| 255 | + Storage <https://cloud.google.com/storage/>`__ URIs are supported. These |
256 | 256 | must be specified in the following format: ``gs://bucket-id/object-id``
|
257 | 257 | (other URI formats return ``google.rpc.Code.INVALID_ARGUMENT``). For
|
258 | 258 | more information, see `Request
|
259 | 259 | URIs <https://cloud.google.com/storage/docs/request-endpoints>`__.
|
260 | 260 | location_id (str): Optional. Cloud region where annotation should take place. Supported
|
261 |
| - cloud regions: ``us-east1``, ``us-west1``, ``europe-west1``, |
262 |
| - ``asia-east1``. If no region is specified, a region will be determined |
| 261 | + cloud regions are: ``us-east1``, ``us-west1``, ``europe-west1``, |
| 262 | + ``asia-east1``. If no region is specified, the region will be determined |
263 | 263 | based on video file location.
|
264 | 264 | retry (Optional[google.api_core.retry.Retry]): A retry object used
|
265 | 265 | to retry requests. If ``None`` is specified, requests will
|
|
0 commit comments