`__
+ for more information.
aq_strength (float):
Specify the intensity of the adaptive
quantizer (AQ). Must be between 0 and 1, where 0
@@ -1051,7 +1146,10 @@ class SegmentSettings(proto.Message):
Attributes:
segment_duration (google.protobuf.duration_pb2.Duration):
Duration of the segments in seconds. The default is
- ``"6.0s"``.
+ ``"6.0s"``. Note that ``segmentDuration`` must be greater
+ than or equal to ```gopDuration`` <#videostream>`__, and
+ ``segmentDuration`` must be divisible by
+ ```gopDuration`` <#videostream>`__.
individual_segments (bool):
Required. Create an individual segment file. The default is
``false``.
diff --git a/tests/unit/gapic/transcoder_v1beta1/test_transcoder_service.py b/tests/unit/gapic/transcoder_v1beta1/test_transcoder_service.py
index af6112f..bece6f5 100644
--- a/tests/unit/gapic/transcoder_v1beta1/test_transcoder_service.py
+++ b/tests/unit/gapic/transcoder_v1beta1/test_transcoder_service.py
@@ -531,6 +531,7 @@ def test_create_job(transport: str = "grpc", request_type=services.CreateJobRequ
priority=898,
state=resources.Job.ProcessingState.PENDING,
failure_reason="failure_reason_value",
+ ttl_after_completion_days=2670,
template_id="template_id_value",
)
response = client.create_job(request)
@@ -548,6 +549,7 @@ def test_create_job(transport: str = "grpc", request_type=services.CreateJobRequ
assert response.priority == 898
assert response.state == resources.Job.ProcessingState.PENDING
assert response.failure_reason == "failure_reason_value"
+ assert response.ttl_after_completion_days == 2670
def test_create_job_from_dict():
@@ -592,6 +594,7 @@ async def test_create_job_async(
priority=898,
state=resources.Job.ProcessingState.PENDING,
failure_reason="failure_reason_value",
+ ttl_after_completion_days=2670,
)
)
response = await client.create_job(request)
@@ -609,6 +612,7 @@ async def test_create_job_async(
assert response.priority == 898
assert response.state == resources.Job.ProcessingState.PENDING
assert response.failure_reason == "failure_reason_value"
+ assert response.ttl_after_completion_days == 2670
@pytest.mark.asyncio
@@ -1074,6 +1078,7 @@ def test_get_job(transport: str = "grpc", request_type=services.GetJobRequest):
priority=898,
state=resources.Job.ProcessingState.PENDING,
failure_reason="failure_reason_value",
+ ttl_after_completion_days=2670,
template_id="template_id_value",
)
response = client.get_job(request)
@@ -1091,6 +1096,7 @@ def test_get_job(transport: str = "grpc", request_type=services.GetJobRequest):
assert response.priority == 898
assert response.state == resources.Job.ProcessingState.PENDING
assert response.failure_reason == "failure_reason_value"
+ assert response.ttl_after_completion_days == 2670
def test_get_job_from_dict():
@@ -1135,6 +1141,7 @@ async def test_get_job_async(
priority=898,
state=resources.Job.ProcessingState.PENDING,
failure_reason="failure_reason_value",
+ ttl_after_completion_days=2670,
)
)
response = await client.get_job(request)
@@ -1152,6 +1159,7 @@ async def test_get_job_async(
assert response.priority == 898
assert response.state == resources.Job.ProcessingState.PENDING
assert response.failure_reason == "failure_reason_value"
+ assert response.ttl_after_completion_days == 2670
@pytest.mark.asyncio
From 566808f43ea57dce2ef6743c7c950e0c040252dd Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Mon, 9 Aug 2021 15:06:28 +0000
Subject: [PATCH 3/3] chore: release 0.5.0 (#82)
:robot: I have created a release \*beep\* \*boop\*
---
## [0.5.0](https://www.github.com/googleapis/python-video-transcoder/compare/v0.4.1...v0.5.0) (2021-08-07)
### Features
* Add ttl_after_completion_days field to Job ([d862900](https://www.github.com/googleapis/python-video-transcoder/commit/d86290047e9464e4026c264a6dfea51936b21c2c))
* Add video cropping feature ([#81](https://www.github.com/googleapis/python-video-transcoder/issues/81)) ([d862900](https://www.github.com/googleapis/python-video-transcoder/commit/d86290047e9464e4026c264a6dfea51936b21c2c))
* Add video padding feature ([d862900](https://www.github.com/googleapis/python-video-transcoder/commit/d86290047e9464e4026c264a6dfea51936b21c2c))
### Documentation
* Indicate v1beta1 deprecation ([d862900](https://www.github.com/googleapis/python-video-transcoder/commit/d86290047e9464e4026c264a6dfea51936b21c2c))
* Update proto documentation ([d862900](https://www.github.com/googleapis/python-video-transcoder/commit/d86290047e9464e4026c264a6dfea51936b21c2c))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
CHANGELOG.md | 15 +++++++++++++++
setup.py | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5c8424e..0fb1523 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,20 @@
# Changelog
+## [0.5.0](https://www.github.com/googleapis/python-video-transcoder/compare/v0.4.1...v0.5.0) (2021-08-07)
+
+
+### Features
+
+* Add ttl_after_completion_days field to Job ([d862900](https://www.github.com/googleapis/python-video-transcoder/commit/d86290047e9464e4026c264a6dfea51936b21c2c))
+* Add video cropping feature ([#81](https://www.github.com/googleapis/python-video-transcoder/issues/81)) ([d862900](https://www.github.com/googleapis/python-video-transcoder/commit/d86290047e9464e4026c264a6dfea51936b21c2c))
+* Add video padding feature ([d862900](https://www.github.com/googleapis/python-video-transcoder/commit/d86290047e9464e4026c264a6dfea51936b21c2c))
+
+
+### Documentation
+
+* Indicate v1beta1 deprecation ([d862900](https://www.github.com/googleapis/python-video-transcoder/commit/d86290047e9464e4026c264a6dfea51936b21c2c))
+* Update proto documentation ([d862900](https://www.github.com/googleapis/python-video-transcoder/commit/d86290047e9464e4026c264a6dfea51936b21c2c))
+
### [0.4.1](https://www.github.com/googleapis/python-video-transcoder/compare/v0.4.0...v0.4.1) (2021-07-27)
diff --git a/setup.py b/setup.py
index 6027ecc..aa6392f 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@
import os
import setuptools # type: ignore
-version = "0.4.1"
+version = "0.5.0"
package_root = os.path.abspath(os.path.dirname(__file__))
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy