Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.1 (#120)
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 bed0eb1 commit 359ddf7
Show file tree
Hide file tree
Showing 7 changed files with 1,160 additions and 104 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 @@ -242,7 +242,6 @@ async def list_services(
also returns all services the calling user has
"servicemanagement.services.get" permission for.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -357,7 +356,6 @@ async def get_service(
r"""Gets a managed service. Authentication is required
unless the service is public.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -459,7 +457,6 @@ async def create_service(
Operation<response: ManagedService>
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -569,7 +566,6 @@ async def delete_service(
Operation<response: google.protobuf.Empty>
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -691,7 +687,6 @@ async def undelete_service(
Operation<response: UndeleteServiceResponse>
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -798,7 +793,6 @@ async def list_service_configs(
r"""Lists the history of the service configuration for a
managed service, from the newest to the oldest.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -905,7 +899,6 @@ async def get_service_config(
r"""Gets a service configuration (version) for a managed
service.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1044,7 +1037,6 @@ async def create_service_config(
referenced by existing rollouts are kept for each service. The
rest will be deleted eventually.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1175,7 +1167,6 @@ async def submit_config_source(
Operation<response: SubmitConfigSourceResponse>
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1304,7 +1295,6 @@ async def list_service_rollouts(
rollouts for a managed service, from the newest to the
oldest.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1427,7 +1417,6 @@ async def get_service_rollout(
r"""Gets a service configuration
[rollout][google.api.servicemanagement.v1.Rollout].
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1549,7 +1538,6 @@ async def create_service_rollout(
Operation<response: Rollout>
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1677,7 +1665,6 @@ async def generate_config_report(
method will compare GenerateConfigReportRequest.new_value with
the last pushed service configuration.
.. code-block:: python
from google.cloud import servicemanagement_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 @@ -446,7 +446,6 @@ def list_services(
also returns all services the calling user has
"servicemanagement.services.get" permission for.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -561,7 +560,6 @@ def get_service(
r"""Gets a managed service. Authentication is required
unless the service is public.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -663,7 +661,6 @@ def create_service(
Operation<response: ManagedService>
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -773,7 +770,6 @@ def delete_service(
Operation<response: google.protobuf.Empty>
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -895,7 +891,6 @@ def undelete_service(
Operation<response: UndeleteServiceResponse>
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1002,7 +997,6 @@ def list_service_configs(
r"""Lists the history of the service configuration for a
managed service, from the newest to the oldest.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1109,7 +1103,6 @@ def get_service_config(
r"""Gets a service configuration (version) for a managed
service.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1248,7 +1241,6 @@ def create_service_config(
referenced by existing rollouts are kept for each service. The
rest will be deleted eventually.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1379,7 +1371,6 @@ def submit_config_source(
Operation<response: SubmitConfigSourceResponse>
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1508,7 +1499,6 @@ def list_service_rollouts(
rollouts for a managed service, from the newest to the
oldest.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1631,7 +1621,6 @@ def get_service_rollout(
r"""Gets a service configuration
[rollout][google.api.servicemanagement.v1.Rollout].
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1753,7 +1742,6 @@ def create_service_rollout(
Operation<response: Rollout>
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down Expand Up @@ -1881,7 +1869,6 @@ def generate_config_report(
method will compare GenerateConfigReportRequest.new_value with
the last pushed service configuration.
.. code-block:: python
from google.cloud import servicemanagement_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,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 @@ -339,5 +340,9 @@ def generate_config_report(
]:
raise NotImplementedError()

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


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

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


__all__ = ("ServiceManagerGrpcTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class TrafficPercentStrategy(proto.Message):
}
Attributes:
percentages (Sequence[google.cloud.servicemanagement_v1.types.Rollout.TrafficPercentStrategy.PercentagesEntry]):
percentages (Mapping[str, float]):
Maps service configuration IDs to their
corresponding traffic percentage. Key is the
service configuration ID, Value is the traffic
Expand Down
Loading

0 comments on commit 359ddf7

Please sign in to comment.