Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.1 (#24)
Browse files Browse the repository at this point in the history
* chore: use gapic-generator-python 0.65.1

PiperOrigin-RevId: 441524537

Source-Link: googleapis/googleapis@2a27391

Source-Link: googleapis/googleapis-gen@ab6756a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWI2NzU2YTQ4Yzg5YjViY2I5ZmI3MzQ0M2NiOGU1NWQ1NzRmNDY0MyJ9

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 14, 2022
1 parent 238957e commit 8b0f30d
Show file tree
Hide file tree
Showing 9 changed files with 1,690 additions and 136 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import functools
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core.client_options import ClientOptions
Expand Down Expand Up @@ -380,7 +380,6 @@ async def list_cdn_keys(
r"""Lists all CDN keys in the specified project and
location.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -674,7 +673,6 @@ async def update_cdn_key(
r"""Updates the specified CDN key. Only update fields
specified in the call method body.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -786,7 +784,6 @@ async def create_vod_session(
returns the full tracking and playback metadata of the
session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -896,7 +893,6 @@ async def get_vod_session(
r"""Returns the full tracking, playback metadata, and
relevant ad-ops logs for the specified VOD session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -992,7 +988,6 @@ async def list_vod_stitch_details(
r"""Returns a list of detailed stitching information of
the specified VOD session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1103,7 +1098,6 @@ async def get_vod_stitch_detail(
r"""Returns the specified stitching information for the
specified VOD session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1201,7 +1195,6 @@ async def list_vod_ad_tag_details(
r"""Return the list of ad tag details for the specified
VOD session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1312,7 +1305,6 @@ async def get_vod_ad_tag_detail(
r"""Returns the specified ad tag detail for the specified
VOD session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1410,7 +1402,6 @@ async def list_live_ad_tag_details(
r"""Return the list of ad tag details for the specified
live session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1520,7 +1511,6 @@ async def get_live_ad_tag_detail(
r"""Returns the specified ad tag detail for the specified
live session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1734,7 +1724,6 @@ async def list_slates(
r"""Lists all slates in the specified project and
location.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import os
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core import client_options as client_options_lib
Expand Down Expand Up @@ -715,7 +715,6 @@ def list_cdn_keys(
r"""Lists all CDN keys in the specified project and
location.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1009,7 +1008,6 @@ def update_cdn_key(
r"""Updates the specified CDN key. Only update fields
specified in the call method body.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1121,7 +1119,6 @@ def create_vod_session(
returns the full tracking and playback metadata of the
session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1231,7 +1228,6 @@ def get_vod_session(
r"""Returns the full tracking, playback metadata, and
relevant ad-ops logs for the specified VOD session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1327,7 +1323,6 @@ def list_vod_stitch_details(
r"""Returns a list of detailed stitching information of
the specified VOD session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1438,7 +1433,6 @@ def get_vod_stitch_detail(
r"""Returns the specified stitching information for the
specified VOD session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1536,7 +1530,6 @@ def list_vod_ad_tag_details(
r"""Return the list of ad tag details for the specified
VOD session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1647,7 +1640,6 @@ def get_vod_ad_tag_detail(
r"""Returns the specified ad tag detail for the specified
VOD session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1745,7 +1737,6 @@ def list_live_ad_tag_details(
r"""Return the list of ad tag details for the specified
live session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -1855,7 +1846,6 @@ def get_live_ad_tag_detail(
r"""Returns the specified ad tag detail for the specified
live session.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down Expand Up @@ -2069,7 +2059,6 @@ def list_slates(
r"""Lists all slates in the specified project and
location.
.. code-block:: python
from google.cloud.video import stitcher_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def __init__(
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
be used for service account credentials.
"""

# Save the hostname. Default to port 443 (HTTPS) if none is specified.
if ":" not in host:
host += ":443"
Expand Down Expand Up @@ -436,5 +437,9 @@ def get_live_session(
]:
raise NotImplementedError()

@property
def kind(self) -> str:
raise NotImplementedError()


__all__ = ("VideoStitcherServiceTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -799,5 +799,9 @@ def get_live_session(
def close(self):
self.grpc_channel.close()

@property
def kind(self) -> str:
return "grpc"


__all__ = ("VideoStitcherServiceGrpcTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
VodSessionAdBreak,
VodSessionContent,
)
from .slates import Slate
from .slates import (
Slate,
)
from .stitch_details import (
AdStitchDetail,
VodStitchDetail,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class VodSession(proto.Message):
Required. URI of the media to stitch.
ad_tag_uri (str):
Required. Ad tag URI.
ad_tag_macro_map (Sequence[google.cloud.video.stitcher_v1.types.VodSession.AdTagMacroMapEntry]):
ad_tag_macro_map (Mapping[str, str]):
Key value pairs for ad tag macro replacement. If the
specified ad tag URI has macros, this field provides the
mapping to the value that will replace the macro in the ad
Expand Down Expand Up @@ -250,11 +250,11 @@ class LiveSession(proto.Message):
default_ad_tag_id is necessary when ``adTagMap`` has more
than one key. Its value must be present in the ``adTagMap``.
ad_tag_map (Sequence[google.cloud.video.stitcher_v1.types.LiveSession.AdTagMapEntry]):
ad_tag_map (Mapping[str, google.cloud.video.stitcher_v1.types.AdTag]):
Key value pairs for ad tags. Ads parsed from
ad tags must be MP4 videos each with at least
one audio track.
ad_tag_macros (Sequence[google.cloud.video.stitcher_v1.types.LiveSession.AdTagMacrosEntry]):
ad_tag_macros (Mapping[str, str]):
Key value pairs for ad tag macro replacement. If the
specified ad tag URI has macros, this field provides the
mapping to the value that will replace the macro in the ad
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class AdStitchDetail(proto.Message):
skip_reason (str):
Optional. Indicates the reason why the ad has
been skipped.
media (Sequence[google.cloud.video.stitcher_v1.types.AdStitchDetail.MediaEntry]):
media (Mapping[str, google.protobuf.struct_pb2.Value]):
Optional. The metadata of the chosen media
file for the ad.
"""
Expand Down
Loading

0 comments on commit 8b0f30d

Please sign in to comment.