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

Commit c9c771a

Browse files
feat: maintenance schedules (#226)
* 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: maintenance schedules PiperOrigin-RevId: 489029238 Source-Link: googleapis/googleapis@7f891be Source-Link: https://github.com/googleapis/googleapis-gen/commit/e318ac6bb94eeeee750c1e830439ee96f54dc60a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTMxOGFjNmJiOTRlZWVlZTc1MGMxZTgzMDQzOWVlOTZmNTRkYzYwYSJ9 * 🦉 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> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 78ef907 commit c9c771a

Some content is hidden

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

42 files changed

+6524
-464
lines changed

.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/memcache_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 Memcache v1 API
33

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

docs/memcache_v1beta2/types.rst

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

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

google/cloud/memcache/__init__.py

Lines changed: 16 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.memcache import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

1721
from google.cloud.memcache_v1.services.cloud_memcache.async_client import (
1822
CloudMemcacheAsyncClient,
@@ -26,11 +30,17 @@
2630
Instance,
2731
ListInstancesRequest,
2832
ListInstancesResponse,
33+
LocationMetadata,
34+
MaintenancePolicy,
35+
MaintenanceSchedule,
2936
MemcacheParameters,
3037
MemcacheVersion,
3138
OperationMetadata,
39+
RescheduleMaintenanceRequest,
3240
UpdateInstanceRequest,
3341
UpdateParametersRequest,
42+
WeeklyMaintenanceWindow,
43+
ZoneMetadata,
3444
)
3545

3646
__all__ = (
@@ -43,9 +53,15 @@
4353
"Instance",
4454
"ListInstancesRequest",
4555
"ListInstancesResponse",
56+
"LocationMetadata",
57+
"MaintenancePolicy",
58+
"MaintenanceSchedule",
4659
"MemcacheParameters",
4760
"OperationMetadata",
61+
"RescheduleMaintenanceRequest",
4862
"UpdateInstanceRequest",
4963
"UpdateParametersRequest",
64+
"WeeklyMaintenanceWindow",
65+
"ZoneMetadata",
5066
"MemcacheVersion",
5167
)
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/memcache_v1/__init__.py

Lines changed: 16 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.memcache import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

1721
from .services.cloud_memcache import CloudMemcacheAsyncClient, CloudMemcacheClient
1822
from .types.cloud_memcache import (
@@ -23,11 +27,17 @@
2327
Instance,
2428
ListInstancesRequest,
2529
ListInstancesResponse,
30+
LocationMetadata,
31+
MaintenancePolicy,
32+
MaintenanceSchedule,
2633
MemcacheParameters,
2734
MemcacheVersion,
2835
OperationMetadata,
36+
RescheduleMaintenanceRequest,
2937
UpdateInstanceRequest,
3038
UpdateParametersRequest,
39+
WeeklyMaintenanceWindow,
40+
ZoneMetadata,
3141
)
3242

3343
__all__ = (
@@ -40,9 +50,15 @@
4050
"Instance",
4151
"ListInstancesRequest",
4252
"ListInstancesResponse",
53+
"LocationMetadata",
54+
"MaintenancePolicy",
55+
"MaintenanceSchedule",
4356
"MemcacheParameters",
4457
"MemcacheVersion",
4558
"OperationMetadata",
59+
"RescheduleMaintenanceRequest",
4660
"UpdateInstanceRequest",
4761
"UpdateParametersRequest",
62+
"WeeklyMaintenanceWindow",
63+
"ZoneMetadata",
4864
)

google/cloud/memcache_v1/gapic_metadata.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
"list_instances"
3636
]
3737
},
38+
"RescheduleMaintenance": {
39+
"methods": [
40+
"reschedule_maintenance"
41+
]
42+
},
3843
"UpdateInstance": {
3944
"methods": [
4045
"update_instance"
@@ -75,6 +80,11 @@
7580
"list_instances"
7681
]
7782
},
83+
"RescheduleMaintenance": {
84+
"methods": [
85+
"reschedule_maintenance"
86+
]
87+
},
7888
"UpdateInstance": {
7989
"methods": [
8090
"update_instance"

0 commit comments

Comments
 (0)