Skip to content

Commit 78ff882

Browse files
chore: Update gapic-generator-python to v1.8.5 (#195)
* chore: Update gapic-generator-python to v1.8.5 PiperOrigin-RevId: 511892190 Source-Link: googleapis/googleapis@a45d9c0 Source-Link: googleapis/googleapis-gen@1907294 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTkwNzI5NGIxZDgzNjVlYTI0ZjhjNWYyZTA1OWE2NDEyNGM0ZWQzYiJ9 * 🦉 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 f10d988 commit 78ff882

4 files changed

Lines changed: 18 additions & 14 deletions

File tree

packages/google-cloud-service-management/google/cloud/servicemanagement_v1/services/service_manager/transports/rest.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import dataclasses
1818
import json # type: ignore
1919
import re
20-
from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union
20+
from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
2121
import warnings
2222

2323
from google.api_core import (
@@ -618,7 +618,7 @@ class _CreateService(ServiceManagerRestStub):
618618
def __hash__(self):
619619
return hash("CreateService")
620620

621-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
621+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
622622

623623
@classmethod
624624
def _get_unset_required_fields(cls, message_dict):
@@ -716,7 +716,7 @@ class _CreateServiceConfig(ServiceManagerRestStub):
716716
def __hash__(self):
717717
return hash("CreateServiceConfig")
718718

719-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
719+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
720720

721721
@classmethod
722722
def _get_unset_required_fields(cls, message_dict):
@@ -852,7 +852,7 @@ class _CreateServiceRollout(ServiceManagerRestStub):
852852
def __hash__(self):
853853
return hash("CreateServiceRollout")
854854

855-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
855+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
856856

857857
@classmethod
858858
def _get_unset_required_fields(cls, message_dict):
@@ -952,7 +952,7 @@ class _DeleteService(ServiceManagerRestStub):
952952
def __hash__(self):
953953
return hash("DeleteService")
954954

955-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
955+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
956956

957957
@classmethod
958958
def _get_unset_required_fields(cls, message_dict):
@@ -1041,7 +1041,7 @@ class _GenerateConfigReport(ServiceManagerRestStub):
10411041
def __hash__(self):
10421042
return hash("GenerateConfigReport")
10431043

1044-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1044+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
10451045

10461046
@classmethod
10471047
def _get_unset_required_fields(cls, message_dict):
@@ -1142,7 +1142,7 @@ class _GetService(ServiceManagerRestStub):
11421142
def __hash__(self):
11431143
return hash("GetService")
11441144

1145-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1145+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
11461146

11471147
@classmethod
11481148
def _get_unset_required_fields(cls, message_dict):
@@ -1231,7 +1231,7 @@ class _GetServiceConfig(ServiceManagerRestStub):
12311231
def __hash__(self):
12321232
return hash("GetServiceConfig")
12331233

1234-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1234+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
12351235

12361236
@classmethod
12371237
def _get_unset_required_fields(cls, message_dict):
@@ -1362,7 +1362,7 @@ class _GetServiceRollout(ServiceManagerRestStub):
13621362
def __hash__(self):
13631363
return hash("GetServiceRollout")
13641364

1365-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1365+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
13661366

13671367
@classmethod
13681368
def _get_unset_required_fields(cls, message_dict):
@@ -1458,7 +1458,7 @@ class _ListServiceConfigs(ServiceManagerRestStub):
14581458
def __hash__(self):
14591459
return hash("ListServiceConfigs")
14601460

1461-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1461+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
14621462

14631463
@classmethod
14641464
def _get_unset_required_fields(cls, message_dict):
@@ -1550,7 +1550,7 @@ class _ListServiceRollouts(ServiceManagerRestStub):
15501550
def __hash__(self):
15511551
return hash("ListServiceRollouts")
15521552

1553-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
1553+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
15541554
"filter": "",
15551555
}
15561556

@@ -1719,7 +1719,7 @@ class _SubmitConfigSource(ServiceManagerRestStub):
17191719
def __hash__(self):
17201720
return hash("SubmitConfigSource")
17211721

1722-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1722+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
17231723

17241724
@classmethod
17251725
def _get_unset_required_fields(cls, message_dict):
@@ -1819,7 +1819,7 @@ class _UndeleteService(ServiceManagerRestStub):
18191819
def __hash__(self):
18201820
return hash("UndeleteService")
18211821

1822-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1822+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
18231823

18241824
@classmethod
18251825
def _get_unset_required_fields(cls, message_dict):

packages/google-cloud-service-management/google/cloud/servicemanagement_v1/types/resources.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
from google.api import config_change_pb2 # type: ignore

packages/google-cloud-service-management/google/cloud/servicemanagement_v1/types/servicemanager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
from google.api import service_pb2 # type: ignore

packages/google-cloud-service-management/samples/generated_samples/snippet_metadata_google.api.servicemanagement.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-service-management",
11-
"version": "1.6.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)