Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Commit bd0af89

Browse files
fix!: use correct child_type annotation (#177)
* fix!: use correct child_type annotation PiperOrigin-RevId: 558967926 Source-Link: googleapis/googleapis@1c4f24e Source-Link: https://github.com/googleapis/googleapis-gen/commit/a25a4446b5d7af20457432c3856bc259d4585df9 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTI1YTQ0NDZiNWQ3YWYyMDQ1NzQzMmMzODU2YmMyNTlkNDU4NWRmOSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 36c114c commit bd0af89

File tree

6 files changed

+32
-20
lines changed

6 files changed

+32
-20
lines changed

google/cloud/video/stitcher_v1/services/video_stitcher_service/async_client.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,10 @@ async def sample_get_vod_stitch_detail():
13081308
Returns:
13091309
google.cloud.video.stitcher_v1.types.VodStitchDetail:
13101310
Detailed information related to the
1311-
interstitial of a VOD session.
1311+
interstitial of a VOD session. This
1312+
resource is only available for VOD
1313+
sessions that do not implement Google Ad
1314+
Manager ad insertion.
13121315
13131316
"""
13141317
# Create or coerce a protobuf request object.
@@ -1533,7 +1536,10 @@ async def sample_get_vod_ad_tag_detail():
15331536
Returns:
15341537
google.cloud.video.stitcher_v1.types.VodAdTagDetail:
15351538
Information related to the details
1536-
for one ad tag.
1539+
for one ad tag. This resource is only
1540+
available for VOD sessions that do not
1541+
implement Google Ad Manager ad
1542+
insertion.
15371543
15381544
"""
15391545
# Create or coerce a protobuf request object.
@@ -2765,7 +2771,7 @@ async def sample_create_live_config():
27652771
# and friendly error handling.
27662772
rpc = gapic_v1.method_async.wrap_method(
27672773
self._client._transport.create_live_config,
2768-
default_timeout=None,
2774+
default_timeout=60.0,
27692775
client_info=DEFAULT_CLIENT_INFO,
27702776
)
27712777

@@ -2883,7 +2889,7 @@ async def sample_list_live_configs():
28832889
# and friendly error handling.
28842890
rpc = gapic_v1.method_async.wrap_method(
28852891
self._client._transport.list_live_configs,
2886-
default_timeout=None,
2892+
default_timeout=60.0,
28872893
client_info=DEFAULT_CLIENT_INFO,
28882894
)
28892895

@@ -2998,7 +3004,7 @@ async def sample_get_live_config():
29983004
# and friendly error handling.
29993005
rpc = gapic_v1.method_async.wrap_method(
30003006
self._client._transport.get_live_config,
3001-
default_timeout=None,
3007+
default_timeout=60.0,
30023008
client_info=DEFAULT_CLIENT_INFO,
30033009
)
30043010

@@ -3117,7 +3123,7 @@ async def sample_delete_live_config():
31173123
# and friendly error handling.
31183124
rpc = gapic_v1.method_async.wrap_method(
31193125
self._client._transport.delete_live_config,
3120-
default_timeout=None,
3126+
default_timeout=60.0,
31213127
client_info=DEFAULT_CLIENT_INFO,
31223128
)
31233129

google/cloud/video/stitcher_v1/services/video_stitcher_service/client.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,7 +1666,10 @@ def sample_get_vod_stitch_detail():
16661666
Returns:
16671667
google.cloud.video.stitcher_v1.types.VodStitchDetail:
16681668
Detailed information related to the
1669-
interstitial of a VOD session.
1669+
interstitial of a VOD session. This
1670+
resource is only available for VOD
1671+
sessions that do not implement Google Ad
1672+
Manager ad insertion.
16701673
16711674
"""
16721675
# Create or coerce a protobuf request object.
@@ -1891,7 +1894,10 @@ def sample_get_vod_ad_tag_detail():
18911894
Returns:
18921895
google.cloud.video.stitcher_v1.types.VodAdTagDetail:
18931896
Information related to the details
1894-
for one ad tag.
1897+
for one ad tag. This resource is only
1898+
available for VOD sessions that do not
1899+
implement Google Ad Manager ad
1900+
insertion.
18951901
18961902
"""
18971903
# Create or coerce a protobuf request object.

google/cloud/video/stitcher_v1/services/video_stitcher_service/transports/base.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,22 +233,22 @@ def _prep_wrapped_messages(self, client_info):
233233
),
234234
self.create_live_config: gapic_v1.method.wrap_method(
235235
self.create_live_config,
236-
default_timeout=None,
236+
default_timeout=60.0,
237237
client_info=client_info,
238238
),
239239
self.list_live_configs: gapic_v1.method.wrap_method(
240240
self.list_live_configs,
241-
default_timeout=None,
241+
default_timeout=60.0,
242242
client_info=client_info,
243243
),
244244
self.get_live_config: gapic_v1.method.wrap_method(
245245
self.get_live_config,
246-
default_timeout=None,
246+
default_timeout=60.0,
247247
client_info=client_info,
248248
),
249249
self.delete_live_config: gapic_v1.method.wrap_method(
250250
self.delete_live_config,
251-
default_timeout=None,
251+
default_timeout=60.0,
252252
client_info=client_info,
253253
),
254254
}

google/cloud/video/stitcher_v1/types/ad_tag_details.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ class LiveAdTagDetail(proto.Message):
5656

5757

5858
class VodAdTagDetail(proto.Message):
59-
r"""Information related to the details for one ad tag.
59+
r"""Information related to the details for one ad tag. This
60+
resource is only available for VOD sessions that do not
61+
implement Google Ad Manager ad insertion.
6062
6163
Attributes:
6264
name (str):

google/cloud/video/stitcher_v1/types/sessions.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,8 @@ class VodSession(proto.Message):
7676
Output only. The generated ID of the
7777
VodSession's source media.
7878
ad_tracking (google.cloud.video.stitcher_v1.types.AdTracking):
79-
Required. Determines how the ad should be tracked. If
80-
[gam_vod_config][google.cloud.video.stitcher.v1.VodSession.gam_vod_config]
81-
is set, the value must be ``CLIENT`` because the IMA SDK
82-
handles ad tracking.
79+
Required. Determines how the ad should be
80+
tracked.
8381
gam_settings (google.cloud.video.stitcher_v1.types.VodSession.GamSettings):
8482
This field should be set with appropriate
8583
values if GAM is being used for ads.
@@ -307,8 +305,7 @@ class LiveSession(proto.Message):
307305

308306
class GamSettings(proto.Message):
309307
r"""Defines fields related to Google Ad Manager (GAM). This
310-
should be set if GAM
311-
is being used for ads.
308+
should be set if GAM is being used for ads.
312309
313310
Attributes:
314311
stream_id (str):

google/cloud/video/stitcher_v1/types/stitch_details.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232

3333
class VodStitchDetail(proto.Message):
3434
r"""Detailed information related to the interstitial of a VOD
35-
session.
35+
session. This resource is only available for VOD sessions that
36+
do not implement Google Ad Manager ad insertion.
3637
3738
Attributes:
3839
name (str):

0 commit comments

Comments
 (0)