Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.1 (#199)
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] committed Apr 14, 2022
1 parent 19f7d79 commit 0207480
Show file tree
Hide file tree
Showing 14 changed files with 900 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 @@ -222,7 +222,6 @@ async def create_budget(
information on the limits of the number of budgets you can
create.
.. code-block:: python
from google.cloud.billing import budgets_v1
Expand Down Expand Up @@ -337,7 +336,6 @@ async def update_budget(
fields that are not exposed in this API will not be
changed by this method.
.. code-block:: python
from google.cloud.billing import budgets_v1
Expand Down Expand Up @@ -469,7 +467,6 @@ async def get_budget(
the return value, though they may have been set in the
Cloud Console.
.. code-block:: python
from google.cloud.billing import budgets_v1
Expand Down Expand Up @@ -586,7 +583,6 @@ async def list_budgets(
the return value, though they may have been set in the
Cloud Console.
.. code-block:: python
from google.cloud.billing import budgets_v1
Expand Down Expand Up @@ -705,7 +701,6 @@ async def delete_budget(
r"""Deletes a budget. Returns successfully if already
deleted.
.. code-block:: python
from google.cloud.billing import budgets_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 @@ -441,7 +441,6 @@ def create_budget(
information on the limits of the number of budgets you can
create.
.. code-block:: python
from google.cloud.billing import budgets_v1
Expand Down Expand Up @@ -556,7 +555,6 @@ def update_budget(
fields that are not exposed in this API will not be
changed by this method.
.. code-block:: python
from google.cloud.billing import budgets_v1
Expand Down Expand Up @@ -678,7 +676,6 @@ def get_budget(
the return value, though they may have been set in the
Cloud Console.
.. code-block:: python
from google.cloud.billing import budgets_v1
Expand Down Expand Up @@ -785,7 +782,6 @@ def list_budgets(
the return value, though they may have been set in the
Cloud Console.
.. code-block:: python
from google.cloud.billing import budgets_v1
Expand Down Expand Up @@ -894,7 +890,6 @@ def delete_budget(
r"""Deletes a budget. Returns successfully if already
deleted.
.. code-block:: python
from google.cloud.billing import budgets_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,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 @@ -249,5 +250,9 @@ def delete_budget(
]:
raise NotImplementedError()

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


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

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


__all__ = ("BudgetServiceGrpcTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class Filter(proto.Message):
account, usage from the parent account will be included. If
the field is omitted, the report will include usage from the
parent account and all subaccounts, if they exist.
labels (Sequence[google.cloud.billing.budgets_v1.types.Filter.LabelsEntry]):
labels (Mapping[str, google.protobuf.struct_pb2.ListValue]):
Optional. A single label and value pair
specifying that usage from only this set of
labeled resources should be included in the
Expand Down
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 @@ -219,7 +219,6 @@ async def create_budget(
information on the limits of the number of budgets you can
create.
.. code-block:: python
from google.cloud.billing import budgets_v1beta1
Expand Down Expand Up @@ -303,7 +302,6 @@ async def update_budget(
fields that are not exposed in this API will not be
changed by this method.
.. code-block:: python
from google.cloud.billing import budgets_v1beta1
Expand Down Expand Up @@ -399,7 +397,6 @@ async def get_budget(
the return value, though they may have been set in the
Cloud Console.
.. code-block:: python
from google.cloud.billing import budgets_v1beta1
Expand Down Expand Up @@ -494,7 +491,6 @@ async def list_budgets(
the return value, though they may have been set in the
Cloud Console.
.. code-block:: python
from google.cloud.billing import budgets_v1beta1
Expand Down Expand Up @@ -590,7 +586,6 @@ async def delete_budget(
r"""Deletes a budget. Returns successfully if already
deleted.
.. code-block:: python
from google.cloud.billing import budgets_v1beta1
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 @@ -438,7 +438,6 @@ def create_budget(
information on the limits of the number of budgets you can
create.
.. code-block:: python
from google.cloud.billing import budgets_v1beta1
Expand Down Expand Up @@ -523,7 +522,6 @@ def update_budget(
fields that are not exposed in this API will not be
changed by this method.
.. code-block:: python
from google.cloud.billing import budgets_v1beta1
Expand Down Expand Up @@ -610,7 +608,6 @@ def get_budget(
the return value, though they may have been set in the
Cloud Console.
.. code-block:: python
from google.cloud.billing import budgets_v1beta1
Expand Down Expand Up @@ -696,7 +693,6 @@ def list_budgets(
the return value, though they may have been set in the
Cloud Console.
.. code-block:: python
from google.cloud.billing import budgets_v1beta1
Expand Down Expand Up @@ -783,7 +779,6 @@ def delete_budget(
r"""Deletes a budget. Returns successfully if already
deleted.
.. code-block:: python
from google.cloud.billing import budgets_v1beta1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,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 @@ -249,5 +250,9 @@ def delete_budget(
]:
raise NotImplementedError()

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


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

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


__all__ = ("BudgetServiceGrpcTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ class Filter(proto.Message):
account, usage from the parent account will be included. If
omitted, the report will include usage from the parent
account and all subaccounts, if they exist.
labels (Sequence[google.cloud.billing.budgets_v1beta1.types.Filter.LabelsEntry]):
labels (Mapping[str, google.protobuf.struct_pb2.ListValue]):
Optional. A single label and value pair specifying that
usage from only this set of labeled resources should be
included in the budget. If omitted, the report will include
Expand Down
Loading

0 comments on commit 0207480

Please sign in to comment.