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

Commit 05d9b23

Browse files
fix(deps): Require google-api-core >=1.34.0, >=2.11.0 (#208)
* 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 <partheniou@google.com>
1 parent 19eaaa2 commit 05d9b23

File tree

107 files changed

+14786
-1293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+14786
-1293
lines changed

‎.coveragerc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,3 @@ exclude_lines =
1010
pragma: NO COVER
1111
# Ignore debug-only repr
1212
def __repr__
13-
# Ignore pkg_resources exceptions.
14-
# This is added at the module level as a safeguard for if someone
15-
# generates the code and tries to run it without pip installing. This
16-
# makes it virtually impossible to test properly.
17-
except pkg_resources.DistributionNotFound

‎.github/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
releaseType: python
22
handleGHRelease: true
3+
manifest: true
34
# NOTE: this section is generated by synthtool.languages.python
45
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
56
branches:

‎.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.4.4"
3+
}

‎docs/notebooks_v1/types.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Types for Google Cloud Notebooks v1 API
33

44
.. automodule:: google.cloud.notebooks_v1.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:

‎docs/notebooks_v1beta1/types.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Types for Google Cloud Notebooks v1beta1 API
33

44
.. automodule:: google.cloud.notebooks_v1beta1.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:

‎google/cloud/notebooks/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from google.cloud.notebooks import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

1721
from google.cloud.notebooks_v1.services.managed_notebook_service.async_client import (
1822
ManagedNotebookServiceAsyncClient,
@@ -26,6 +30,7 @@
2630
from google.cloud.notebooks_v1.services.notebook_service.client import (
2731
NotebookServiceClient,
2832
)
33+
from google.cloud.notebooks_v1.types.diagnostic_config import DiagnosticConfig
2934
from google.cloud.notebooks_v1.types.environment import (
3035
ContainerImage,
3136
Environment,
@@ -38,6 +43,7 @@
3843
from google.cloud.notebooks_v1.types.managed_service import (
3944
CreateRuntimeRequest,
4045
DeleteRuntimeRequest,
46+
DiagnoseRuntimeRequest,
4147
GetRuntimeRequest,
4248
ListRuntimesRequest,
4349
ListRuntimesResponse,
@@ -48,6 +54,8 @@
4854
StartRuntimeRequest,
4955
StopRuntimeRequest,
5056
SwitchRuntimeRequest,
57+
UpdateRuntimeRequest,
58+
UpgradeRuntimeRequest,
5159
)
5260
from google.cloud.notebooks_v1.types.runtime import (
5361
EncryptionConfig,
@@ -72,6 +80,7 @@
7280
DeleteExecutionRequest,
7381
DeleteInstanceRequest,
7482
DeleteScheduleRequest,
83+
DiagnoseInstanceRequest,
7584
GetEnvironmentRequest,
7685
GetExecutionRequest,
7786
GetInstanceHealthRequest,
@@ -113,6 +122,7 @@
113122
"ManagedNotebookServiceAsyncClient",
114123
"NotebookServiceClient",
115124
"NotebookServiceAsyncClient",
125+
"DiagnosticConfig",
116126
"ContainerImage",
117127
"Environment",
118128
"VmImage",
@@ -124,6 +134,7 @@
124134
"InstanceConfig",
125135
"CreateRuntimeRequest",
126136
"DeleteRuntimeRequest",
137+
"DiagnoseRuntimeRequest",
127138
"GetRuntimeRequest",
128139
"ListRuntimesRequest",
129140
"ListRuntimesResponse",
@@ -134,6 +145,8 @@
134145
"StartRuntimeRequest",
135146
"StopRuntimeRequest",
136147
"SwitchRuntimeRequest",
148+
"UpdateRuntimeRequest",
149+
"UpgradeRuntimeRequest",
137150
"EncryptionConfig",
138151
"LocalDisk",
139152
"LocalDiskInitializeParams",
@@ -154,6 +167,7 @@
154167
"DeleteExecutionRequest",
155168
"DeleteInstanceRequest",
156169
"DeleteScheduleRequest",
170+
"DiagnoseInstanceRequest",
157171
"GetEnvironmentRequest",
158172
"GetExecutionRequest",
159173
"GetInstanceHealthRequest",
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2022 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "1.4.4" # {x-release-please-version}

‎google/cloud/notebooks_v1/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from google.cloud.notebooks import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

1721
from .services.managed_notebook_service import (
1822
ManagedNotebookServiceAsyncClient,
1923
ManagedNotebookServiceClient,
2024
)
2125
from .services.notebook_service import NotebookServiceAsyncClient, NotebookServiceClient
26+
from .types.diagnostic_config import DiagnosticConfig
2227
from .types.environment import ContainerImage, Environment, VmImage
2328
from .types.event import Event
2429
from .types.execution import Execution, ExecutionTemplate
@@ -27,6 +32,7 @@
2732
from .types.managed_service import (
2833
CreateRuntimeRequest,
2934
DeleteRuntimeRequest,
35+
DiagnoseRuntimeRequest,
3036
GetRuntimeRequest,
3137
ListRuntimesRequest,
3238
ListRuntimesResponse,
@@ -37,6 +43,8 @@
3743
StartRuntimeRequest,
3844
StopRuntimeRequest,
3945
SwitchRuntimeRequest,
46+
UpdateRuntimeRequest,
47+
UpgradeRuntimeRequest,
4048
)
4149
from .types.runtime import (
4250
EncryptionConfig,
@@ -61,6 +69,7 @@
6169
DeleteExecutionRequest,
6270
DeleteInstanceRequest,
6371
DeleteScheduleRequest,
72+
DiagnoseInstanceRequest,
6473
GetEnvironmentRequest,
6574
GetExecutionRequest,
6675
GetInstanceHealthRequest,
@@ -111,6 +120,9 @@
111120
"DeleteInstanceRequest",
112121
"DeleteRuntimeRequest",
113122
"DeleteScheduleRequest",
123+
"DiagnoseInstanceRequest",
124+
"DiagnoseRuntimeRequest",
125+
"DiagnosticConfig",
114126
"EncryptionConfig",
115127
"Environment",
116128
"Event",
@@ -170,9 +182,11 @@
170182
"UpdateInstanceConfigRequest",
171183
"UpdateInstanceMetadataItemsRequest",
172184
"UpdateInstanceMetadataItemsResponse",
185+
"UpdateRuntimeRequest",
173186
"UpdateShieldedInstanceConfigRequest",
174187
"UpgradeInstanceInternalRequest",
175188
"UpgradeInstanceRequest",
189+
"UpgradeRuntimeRequest",
176190
"UpgradeType",
177191
"VirtualMachine",
178192
"VirtualMachineConfig",

‎google/cloud/notebooks_v1/gapic_metadata.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"delete_runtime"
2121
]
2222
},
23+
"DiagnoseRuntime": {
24+
"methods": [
25+
"diagnose_runtime"
26+
]
27+
},
2328
"GetRuntime": {
2429
"methods": [
2530
"get_runtime"
@@ -59,6 +64,16 @@
5964
"methods": [
6065
"switch_runtime"
6166
]
67+
},
68+
"UpdateRuntime": {
69+
"methods": [
70+
"update_runtime"
71+
]
72+
},
73+
"UpgradeRuntime": {
74+
"methods": [
75+
"upgrade_runtime"
76+
]
6277
}
6378
}
6479
},
@@ -75,6 +90,11 @@
7590
"delete_runtime"
7691
]
7792
},
93+
"DiagnoseRuntime": {
94+
"methods": [
95+
"diagnose_runtime"
96+
]
97+
},
7898
"GetRuntime": {
7999
"methods": [
80100
"get_runtime"
@@ -114,6 +134,16 @@
114134
"methods": [
115135
"switch_runtime"
116136
]
137+
},
138+
"UpdateRuntime": {
139+
"methods": [
140+
"update_runtime"
141+
]
142+
},
143+
"UpgradeRuntime": {
144+
"methods": [
145+
"upgrade_runtime"
146+
]
117147
}
118148
}
119149
}
@@ -164,6 +194,11 @@
164194
"delete_schedule"
165195
]
166196
},
197+
"DiagnoseInstance": {
198+
"methods": [
199+
"diagnose_instance"
200+
]
201+
},
167202
"GetEnvironment": {
168203
"methods": [
169204
"get_environment"
@@ -334,6 +369,11 @@
334369
"delete_schedule"
335370
]
336371
},
372+
"DiagnoseInstance": {
373+
"methods": [
374+
"diagnose_instance"
375+
]
376+
},
337377
"GetEnvironment": {
338378
"methods": [
339379
"get_environment"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2022 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "1.4.4" # {x-release-please-version}

0 commit comments

Comments
 (0)