From 0c526e4b5e189409b9a920672bfc88336d49eba0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:35:52 +0000 Subject: [PATCH] chore: Update gapic-generator-python to v1.8.5 (#137) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update gapic-generator-python to v1.8.5 PiperOrigin-RevId: 511892190 Source-Link: https://github.com/googleapis/googleapis/commit/a45d9c09c1287ffdf938f4e8083e791046c0b23b Source-Link: https://github.com/googleapis/googleapis-gen/commit/1907294b1d8365ea24f8c5f2e059a64124c4ed3b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTkwNzI5NGIxZDgzNjVlYTI0ZjhjNWYyZTA1OWE2NDEyNGM0ZWQzYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * restore REST --------- Co-authored-by: Owl Bot Co-authored-by: Anthonios Partheniou --- .../video_stitcher_service/transports/rest.py | 42 +++++++++---------- .../video/stitcher_v1/types/ad_tag_details.py | 2 + .../cloud/video/stitcher_v1/types/cdn_keys.py | 2 + .../video/stitcher_v1/types/companions.py | 2 + .../cloud/video/stitcher_v1/types/events.py | 2 + .../cloud/video/stitcher_v1/types/sessions.py | 2 + .../cloud/video/stitcher_v1/types/slates.py | 2 + .../video/stitcher_v1/types/stitch_details.py | 2 + .../types/video_stitcher_service.py | 2 + 9 files changed, 37 insertions(+), 21 deletions(-) diff --git a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/services/video_stitcher_service/transports/rest.py b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/services/video_stitcher_service/transports/rest.py index a81283e0f06d..55831c29048c 100644 --- a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/services/video_stitcher_service/transports/rest.py +++ b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/services/video_stitcher_service/transports/rest.py @@ -17,7 +17,7 @@ import dataclasses import json # type: ignore import re -from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union +from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union import warnings from google.api_core import gapic_v1, path_template, rest_helpers, rest_streaming @@ -777,7 +777,7 @@ class _CreateCdnKey(VideoStitcherServiceRestStub): def __hash__(self): return hash("CreateCdnKey") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = { + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = { "cdnKeyId": "", } @@ -880,7 +880,7 @@ class _CreateLiveSession(VideoStitcherServiceRestStub): def __hash__(self): return hash("CreateLiveSession") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -979,7 +979,7 @@ class _CreateSlate(VideoStitcherServiceRestStub): def __hash__(self): return hash("CreateSlate") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = { + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = { "slateId": "", } @@ -1078,7 +1078,7 @@ class _CreateVodSession(VideoStitcherServiceRestStub): def __hash__(self): return hash("CreateVodSession") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1177,7 +1177,7 @@ class _DeleteCdnKey(VideoStitcherServiceRestStub): def __hash__(self): return hash("DeleteCdnKey") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1253,7 +1253,7 @@ class _DeleteSlate(VideoStitcherServiceRestStub): def __hash__(self): return hash("DeleteSlate") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1329,7 +1329,7 @@ class _GetCdnKey(VideoStitcherServiceRestStub): def __hash__(self): return hash("GetCdnKey") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1421,7 +1421,7 @@ class _GetLiveAdTagDetail(VideoStitcherServiceRestStub): def __hash__(self): return hash("GetLiveAdTagDetail") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1513,7 +1513,7 @@ class _GetLiveSession(VideoStitcherServiceRestStub): def __hash__(self): return hash("GetLiveSession") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1603,7 +1603,7 @@ class _GetSlate(VideoStitcherServiceRestStub): def __hash__(self): return hash("GetSlate") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1691,7 +1691,7 @@ class _GetVodAdTagDetail(VideoStitcherServiceRestStub): def __hash__(self): return hash("GetVodAdTagDetail") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1783,7 +1783,7 @@ class _GetVodSession(VideoStitcherServiceRestStub): def __hash__(self): return hash("GetVodSession") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1871,7 +1871,7 @@ class _GetVodStitchDetail(VideoStitcherServiceRestStub): def __hash__(self): return hash("GetVodStitchDetail") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -1963,7 +1963,7 @@ class _ListCdnKeys(VideoStitcherServiceRestStub): def __hash__(self): return hash("ListCdnKeys") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -2053,7 +2053,7 @@ class _ListLiveAdTagDetails(VideoStitcherServiceRestStub): def __hash__(self): return hash("ListLiveAdTagDetails") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -2145,7 +2145,7 @@ class _ListSlates(VideoStitcherServiceRestStub): def __hash__(self): return hash("ListSlates") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -2235,7 +2235,7 @@ class _ListVodAdTagDetails(VideoStitcherServiceRestStub): def __hash__(self): return hash("ListVodAdTagDetails") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -2327,7 +2327,7 @@ class _ListVodStitchDetails(VideoStitcherServiceRestStub): def __hash__(self): return hash("ListVodStitchDetails") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} @classmethod def _get_unset_required_fields(cls, message_dict): @@ -2419,7 +2419,7 @@ class _UpdateCdnKey(VideoStitcherServiceRestStub): def __hash__(self): return hash("UpdateCdnKey") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = { + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = { "updateMask": {}, } @@ -2522,7 +2522,7 @@ class _UpdateSlate(VideoStitcherServiceRestStub): def __hash__(self): return hash("UpdateSlate") - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = { + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = { "updateMask": {}, } diff --git a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/ad_tag_details.py b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/ad_tag_details.py index 50b3edcc626b..9607fdfa4140 100644 --- a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/ad_tag_details.py +++ b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/ad_tag_details.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import duration_pb2 # type: ignore diff --git a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/cdn_keys.py b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/cdn_keys.py index 77f08fdf842d..6e0cd0994255 100644 --- a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/cdn_keys.py +++ b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/cdn_keys.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence import proto # type: ignore diff --git a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/companions.py b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/companions.py index 926c3d2493bd..9414c924b845 100644 --- a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/companions.py +++ b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/companions.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence import proto # type: ignore diff --git a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/events.py b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/events.py index dd8d352b962d..738af47fd85c 100644 --- a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/events.py +++ b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/events.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import duration_pb2 # type: ignore diff --git a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/sessions.py b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/sessions.py index 3d5a908a9016..c9520cc4fa5f 100644 --- a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/sessions.py +++ b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/sessions.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import duration_pb2 # type: ignore diff --git a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/slates.py b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/slates.py index 909aba49711e..48a50221c173 100644 --- a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/slates.py +++ b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/slates.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence import proto # type: ignore diff --git a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/stitch_details.py b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/stitch_details.py index 24e5abea6973..68623683305b 100644 --- a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/stitch_details.py +++ b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/stitch_details.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import duration_pb2 # type: ignore diff --git a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/video_stitcher_service.py b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/video_stitcher_service.py index 0e721c0ea76b..d27a0194614c 100644 --- a/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/video_stitcher_service.py +++ b/packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/types/video_stitcher_service.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from __future__ import annotations + from typing import MutableMapping, MutableSequence from google.protobuf import field_mask_pb2 # type: ignore