Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
fix(deps): Require google-api-core >=1.34.0, >=2.11.0 (#208)
Browse files Browse the repository at this point in the history
* chore: update to gapic-generator-python 1.5.0

feat: add support for `google.cloud.<api>.__version__`
PiperOrigin-RevId: 484665853

Source-Link: googleapis/googleapis@8eb249a

Source-Link: https://github.com/googleapis/googleapis-gen/commit/c8aa327b5f478865fc3fd91e3c2768e54e26ad44
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* update version in gapic_version.py

* add .release-please-manifest.json with correct version

* add owlbot.py to exclude generated gapic_version.py

* set manifest to true in .github/release-please.yml

* add release-please-config.json

* chore: Update to gapic-generator-python 1.6.0

feat(python): Add typing to proto.Message based class attributes

feat(python): Snippetgen handling of repeated enum field

PiperOrigin-RevId: 487326846

Source-Link: googleapis/googleapis@da380c7

Source-Link: https://github.com/googleapis/googleapis-gen/commit/61ef5762ee6731a0cbbfea22fd0eecee51ab1c8e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFlZjU3NjJlZTY3MzFhMGNiYmZlYTIyZmQwZWVjZWU1MWFiMWM4ZSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: new APIs added to reflect updates to the filestore service

- Add ENTERPRISE Tier
- Add snapshot APIs: RevertInstance, ListSnapshots, CreateSnapshot, DeleteSnapshot, UpdateSnapshot
- Add multi-share APIs: ListShares, GetShare, CreateShare, DeleteShare, UpdateShare
- Add ConnectMode to NetworkConfig (for Private Service Access support)
- New status codes (SUSPENDED/SUSPENDING, REVERTING/RESUMING)
- Add SuspensionReason (for KMS related suspension)
- Add new fields to Instance information: max_capacity_gb, capacity_step_size_gb, max_share_count, capacity_gb, multi_share_enabled

PiperOrigin-RevId: 487492758

Source-Link: googleapis/googleapis@5be5981

Source-Link: https://github.com/googleapis/googleapis-gen/commit/ab0e217f560cc2c1afc11441c2eab6b6950efd2b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* update path to snippet metadata json

* chore: Update gapic-generator-python to v1.6.1

PiperOrigin-RevId: 488036204

Source-Link: googleapis/googleapis@08f275f

Source-Link: https://github.com/googleapis/googleapis-gen/commit/555c0945e60649e38739ae64bc45719cdf72178f
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU1YzA5NDVlNjA2NDllMzg3MzlhZTY0YmM0NTcxOWNkZjcyMTc4ZiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: added UpdateRuntime, UpgradeRuntime, DiagnoseRuntime, DiagnoseInstance to v1 API
feat: add Instance.reservation_affinity, nic_type, can_ip_forward to v1beta1 API
feat: add IsInstanceUpgradeableResponse.upgrade_image to v1beta1 API
feat: added Location and IAM methods
fix: deprecate AcceleratorType.NVIDIA_TESLA_K80

PiperOrigin-RevId: 489032946

Source-Link: googleapis/googleapis@1d21a86

Source-Link: https://github.com/googleapis/googleapis-gen/commit/6da6c0850b02b2f0d6ab9c5862d021c4d16dadc9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmRhNmMwODUwYjAyYjJmMGQ2YWI5YzU4NjJkMDIxYzRkMTZkYWRjOSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* docs: fix minor docstring formatting

PiperOrigin-RevId: 491386965

Source-Link: googleapis/googleapis@b706495

Source-Link: https://github.com/googleapis/googleapis-gen/commit/889a92f7631abeaf7cd24368ae632d3e4be2277f
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODg5YTkyZjc2MzFhYmVhZjdjZDI0MzY4YWU2MzJkM2U0YmUyMjc3ZiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* fix(deps): Require google-api-core >=1.34.0, >=2.11.0

fix: Drop usage of pkg_resources

fix: Fix timeout default values

docs(samples): Snippetgen should call await on the operation coroutine before calling result

PiperOrigin-RevId: 493260409

Source-Link: googleapis/googleapis@fea4387

Source-Link: https://github.com/googleapis/googleapis-gen/commit/387b7344c7529ee44be84e613b19a820508c612b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzg3YjczNDRjNzUyOWVlNDRiZTg0ZTYxM2IxOWE4MjA1MDhjNjEyYiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* add gapic_version.py

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
  • Loading branch information
3 people authored Dec 13, 2022
1 parent 19eaaa2 commit 05d9b23
Show file tree
Hide file tree
Showing 107 changed files with 14,786 additions and 1,293 deletions.
5 changes: 0 additions & 5 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,3 @@ exclude_lines =
pragma: NO COVER
# Ignore debug-only repr
def __repr__
# Ignore pkg_resources exceptions.
# This is added at the module level as a safeguard for if someone
# generates the code and tries to run it without pip installing. This
# makes it virtually impossible to test properly.
except pkg_resources.DistributionNotFound
1 change: 1 addition & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
releaseType: python
handleGHRelease: true
manifest: true
# NOTE: this section is generated by synthtool.languages.python
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
branches:
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.4.4"
}
1 change: 0 additions & 1 deletion docs/notebooks_v1/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Types for Google Cloud Notebooks v1 API

.. automodule:: google.cloud.notebooks_v1.types
:members:
:undoc-members:
:show-inheritance:
1 change: 0 additions & 1 deletion docs/notebooks_v1beta1/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Types for Google Cloud Notebooks v1beta1 API

.. automodule:: google.cloud.notebooks_v1beta1.types
:members:
:undoc-members:
:show-inheritance:
14 changes: 14 additions & 0 deletions google/cloud/notebooks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.notebooks import gapic_version as package_version

__version__ = package_version.__version__


from google.cloud.notebooks_v1.services.managed_notebook_service.async_client import (
ManagedNotebookServiceAsyncClient,
Expand All @@ -26,6 +30,7 @@
from google.cloud.notebooks_v1.services.notebook_service.client import (
NotebookServiceClient,
)
from google.cloud.notebooks_v1.types.diagnostic_config import DiagnosticConfig
from google.cloud.notebooks_v1.types.environment import (
ContainerImage,
Environment,
Expand All @@ -38,6 +43,7 @@
from google.cloud.notebooks_v1.types.managed_service import (
CreateRuntimeRequest,
DeleteRuntimeRequest,
DiagnoseRuntimeRequest,
GetRuntimeRequest,
ListRuntimesRequest,
ListRuntimesResponse,
Expand All @@ -48,6 +54,8 @@
StartRuntimeRequest,
StopRuntimeRequest,
SwitchRuntimeRequest,
UpdateRuntimeRequest,
UpgradeRuntimeRequest,
)
from google.cloud.notebooks_v1.types.runtime import (
EncryptionConfig,
Expand All @@ -72,6 +80,7 @@
DeleteExecutionRequest,
DeleteInstanceRequest,
DeleteScheduleRequest,
DiagnoseInstanceRequest,
GetEnvironmentRequest,
GetExecutionRequest,
GetInstanceHealthRequest,
Expand Down Expand Up @@ -113,6 +122,7 @@
"ManagedNotebookServiceAsyncClient",
"NotebookServiceClient",
"NotebookServiceAsyncClient",
"DiagnosticConfig",
"ContainerImage",
"Environment",
"VmImage",
Expand All @@ -124,6 +134,7 @@
"InstanceConfig",
"CreateRuntimeRequest",
"DeleteRuntimeRequest",
"DiagnoseRuntimeRequest",
"GetRuntimeRequest",
"ListRuntimesRequest",
"ListRuntimesResponse",
Expand All @@ -134,6 +145,8 @@
"StartRuntimeRequest",
"StopRuntimeRequest",
"SwitchRuntimeRequest",
"UpdateRuntimeRequest",
"UpgradeRuntimeRequest",
"EncryptionConfig",
"LocalDisk",
"LocalDiskInitializeParams",
Expand All @@ -154,6 +167,7 @@
"DeleteExecutionRequest",
"DeleteInstanceRequest",
"DeleteScheduleRequest",
"DiagnoseInstanceRequest",
"GetEnvironmentRequest",
"GetExecutionRequest",
"GetInstanceHealthRequest",
Expand Down
16 changes: 16 additions & 0 deletions google/cloud/notebooks/gapic_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.4.4" # {x-release-please-version}
14 changes: 14 additions & 0 deletions google/cloud/notebooks_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.notebooks import gapic_version as package_version

__version__ = package_version.__version__


from .services.managed_notebook_service import (
ManagedNotebookServiceAsyncClient,
ManagedNotebookServiceClient,
)
from .services.notebook_service import NotebookServiceAsyncClient, NotebookServiceClient
from .types.diagnostic_config import DiagnosticConfig
from .types.environment import ContainerImage, Environment, VmImage
from .types.event import Event
from .types.execution import Execution, ExecutionTemplate
Expand All @@ -27,6 +32,7 @@
from .types.managed_service import (
CreateRuntimeRequest,
DeleteRuntimeRequest,
DiagnoseRuntimeRequest,
GetRuntimeRequest,
ListRuntimesRequest,
ListRuntimesResponse,
Expand All @@ -37,6 +43,8 @@
StartRuntimeRequest,
StopRuntimeRequest,
SwitchRuntimeRequest,
UpdateRuntimeRequest,
UpgradeRuntimeRequest,
)
from .types.runtime import (
EncryptionConfig,
Expand All @@ -61,6 +69,7 @@
DeleteExecutionRequest,
DeleteInstanceRequest,
DeleteScheduleRequest,
DiagnoseInstanceRequest,
GetEnvironmentRequest,
GetExecutionRequest,
GetInstanceHealthRequest,
Expand Down Expand Up @@ -111,6 +120,9 @@
"DeleteInstanceRequest",
"DeleteRuntimeRequest",
"DeleteScheduleRequest",
"DiagnoseInstanceRequest",
"DiagnoseRuntimeRequest",
"DiagnosticConfig",
"EncryptionConfig",
"Environment",
"Event",
Expand Down Expand Up @@ -170,9 +182,11 @@
"UpdateInstanceConfigRequest",
"UpdateInstanceMetadataItemsRequest",
"UpdateInstanceMetadataItemsResponse",
"UpdateRuntimeRequest",
"UpdateShieldedInstanceConfigRequest",
"UpgradeInstanceInternalRequest",
"UpgradeInstanceRequest",
"UpgradeRuntimeRequest",
"UpgradeType",
"VirtualMachine",
"VirtualMachineConfig",
Expand Down
40 changes: 40 additions & 0 deletions google/cloud/notebooks_v1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"delete_runtime"
]
},
"DiagnoseRuntime": {
"methods": [
"diagnose_runtime"
]
},
"GetRuntime": {
"methods": [
"get_runtime"
Expand Down Expand Up @@ -59,6 +64,16 @@
"methods": [
"switch_runtime"
]
},
"UpdateRuntime": {
"methods": [
"update_runtime"
]
},
"UpgradeRuntime": {
"methods": [
"upgrade_runtime"
]
}
}
},
Expand All @@ -75,6 +90,11 @@
"delete_runtime"
]
},
"DiagnoseRuntime": {
"methods": [
"diagnose_runtime"
]
},
"GetRuntime": {
"methods": [
"get_runtime"
Expand Down Expand Up @@ -114,6 +134,16 @@
"methods": [
"switch_runtime"
]
},
"UpdateRuntime": {
"methods": [
"update_runtime"
]
},
"UpgradeRuntime": {
"methods": [
"upgrade_runtime"
]
}
}
}
Expand Down Expand Up @@ -164,6 +194,11 @@
"delete_schedule"
]
},
"DiagnoseInstance": {
"methods": [
"diagnose_instance"
]
},
"GetEnvironment": {
"methods": [
"get_environment"
Expand Down Expand Up @@ -334,6 +369,11 @@
"delete_schedule"
]
},
"DiagnoseInstance": {
"methods": [
"diagnose_instance"
]
},
"GetEnvironment": {
"methods": [
"get_environment"
Expand Down
16 changes: 16 additions & 0 deletions google/cloud/notebooks_v1/gapic_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.4.4" # {x-release-please-version}
Loading

0 comments on commit 05d9b23

Please sign in to comment.