Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.1 (#26)
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 8a52736 commit 32d33d9
Show file tree
Hide file tree
Showing 7 changed files with 1,376 additions and 106 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 @@ -234,7 +234,6 @@ async def create_channel(
r"""Creates a channel with the provided unique ID in the
specified region.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -369,7 +368,6 @@ async def list_channels(
r"""Returns a list of all channels in the specified
region.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -857,7 +855,6 @@ async def start_channel(
pipeline will be created only when the StartChannel
request is received by the server.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -972,7 +969,6 @@ async def stop_channel(
pipeline will be released when the StopChannel request
is received by the server.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -1088,7 +1084,6 @@ async def create_input(
r"""Creates an input with the provided unique ID in the
specified region.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -1693,7 +1688,6 @@ async def create_event(
r"""Creates an event with the provided unique ID in the
specified channel.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -1813,7 +1807,6 @@ async def list_events(
r"""Returns a list of all events in the specified
channel.
.. code-block:: python
from google.cloud.video import live_stream_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 @@ -500,7 +500,6 @@ def create_channel(
r"""Creates a channel with the provided unique ID in the
specified region.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -635,7 +634,6 @@ def list_channels(
r"""Returns a list of all channels in the specified
region.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -1105,7 +1103,6 @@ def start_channel(
pipeline will be created only when the StartChannel
request is received by the server.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -1220,7 +1217,6 @@ def stop_channel(
pipeline will be released when the StopChannel request
is received by the server.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -1336,7 +1332,6 @@ def create_input(
r"""Creates an input with the provided unique ID in the
specified region.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -1923,7 +1918,6 @@ def create_event(
r"""Creates an event with the provided unique ID in the
specified channel.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down Expand Up @@ -2043,7 +2037,6 @@ def list_events(
r"""Returns a list of all events in the specified
channel.
.. code-block:: python
from google.cloud.video import live_stream_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,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 @@ -414,5 +415,9 @@ def delete_event(
]:
raise NotImplementedError()

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


__all__ = ("LivestreamServiceTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -669,5 +669,9 @@ def delete_event(self) -> Callable[[service.DeleteEventRequest], empty_pb2.Empty
def close(self):
self.grpc_channel.close()

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


__all__ = ("LivestreamServiceGrpcTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Input(proto.Message):
Output only. The creation time.
update_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. The update time.
labels (Sequence[google.cloud.video.live_stream_v1.types.Input.LabelsEntry]):
labels (Mapping[str, str]):
User-defined key/value metadata.
type_ (google.cloud.video.live_stream_v1.types.Input.Type):
Source type.
Expand Down Expand Up @@ -174,7 +174,7 @@ class Channel(proto.Message):
Output only. The creation time.
update_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. The update time.
labels (Sequence[google.cloud.video.live_stream_v1.types.Channel.LabelsEntry]):
labels (Mapping[str, str]):
User-defined key/value metadata.
input_attachments (Sequence[google.cloud.video.live_stream_v1.types.InputAttachment]):
A list of input attachments that this channel
Expand Down Expand Up @@ -537,7 +537,7 @@ class Event(proto.Message):
Output only. The creation time.
update_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. The update time.
labels (Sequence[google.cloud.video.live_stream_v1.types.Event.LabelsEntry]):
labels (Mapping[str, str]):
User-defined key/value metadata.
ad_break (google.cloud.video.live_stream_v1.types.Event.AdBreakTask):
Required. Inserts a new ad opportunity.
Expand Down
Loading

0 comments on commit 32d33d9

Please sign in to comment.