1717import dataclasses
1818import json # type: ignore
1919import re
20- from typing import Callable , Dict , List , Optional , Sequence , Tuple , Union
20+ from typing import Any , Callable , Dict , List , Optional , Sequence , Tuple , Union
2121import warnings
2222
2323from google .api_core import (
@@ -1121,7 +1121,7 @@ def pre_get_location(
11211121 self ,
11221122 request : locations_pb2 .GetLocationRequest ,
11231123 metadata : Sequence [Tuple [str , str ]],
1124- ) -> locations_pb2 .Location :
1124+ ) -> Tuple [ locations_pb2 .GetLocationRequest , Sequence [ Tuple [ str , str ]]] :
11251125 """Pre-rpc interceptor for get_location
11261126
11271127 Override in a subclass to manipulate the request or metadata
@@ -1130,7 +1130,7 @@ def pre_get_location(
11301130 return request , metadata
11311131
11321132 def post_get_location (
1133- self , response : locations_pb2 .GetLocationRequest
1133+ self , response : locations_pb2 .Location
11341134 ) -> locations_pb2 .Location :
11351135 """Post-rpc interceptor for get_location
11361136
@@ -1144,7 +1144,7 @@ def pre_list_locations(
11441144 self ,
11451145 request : locations_pb2 .ListLocationsRequest ,
11461146 metadata : Sequence [Tuple [str , str ]],
1147- ) -> locations_pb2 .ListLocationsResponse :
1147+ ) -> Tuple [ locations_pb2 .ListLocationsRequest , Sequence [ Tuple [ str , str ]]] :
11481148 """Pre-rpc interceptor for list_locations
11491149
11501150 Override in a subclass to manipulate the request or metadata
@@ -1153,7 +1153,7 @@ def pre_list_locations(
11531153 return request , metadata
11541154
11551155 def post_list_locations (
1156- self , response : locations_pb2 .ListLocationsRequest
1156+ self , response : locations_pb2 .ListLocationsResponse
11571157 ) -> locations_pb2 .ListLocationsResponse :
11581158 """Post-rpc interceptor for list_locations
11591159
@@ -1167,7 +1167,7 @@ def pre_get_operation(
11671167 self ,
11681168 request : operations_pb2 .GetOperationRequest ,
11691169 metadata : Sequence [Tuple [str , str ]],
1170- ) -> operations_pb2 .Operation :
1170+ ) -> Tuple [ operations_pb2 .GetOperationRequest , Sequence [ Tuple [ str , str ]]] :
11711171 """Pre-rpc interceptor for get_operation
11721172
11731173 Override in a subclass to manipulate the request or metadata
@@ -1176,7 +1176,7 @@ def pre_get_operation(
11761176 return request , metadata
11771177
11781178 def post_get_operation (
1179- self , response : operations_pb2 .GetOperationRequest
1179+ self , response : operations_pb2 .Operation
11801180 ) -> operations_pb2 .Operation :
11811181 """Post-rpc interceptor for get_operation
11821182
@@ -1334,7 +1334,7 @@ class _CreateRepository(ArtifactRegistryRestStub):
13341334 def __hash__ (self ):
13351335 return hash ("CreateRepository" )
13361336
1337- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
1337+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
13381338
13391339 @classmethod
13401340 def _get_unset_required_fields (cls , message_dict ):
@@ -1521,7 +1521,7 @@ class _DeletePackage(ArtifactRegistryRestStub):
15211521 def __hash__ (self ):
15221522 return hash ("DeletePackage" )
15231523
1524- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
1524+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
15251525
15261526 @classmethod
15271527 def _get_unset_required_fields (cls , message_dict ):
@@ -1608,7 +1608,7 @@ class _DeleteRepository(ArtifactRegistryRestStub):
16081608 def __hash__ (self ):
16091609 return hash ("DeleteRepository" )
16101610
1611- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
1611+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
16121612
16131613 @classmethod
16141614 def _get_unset_required_fields (cls , message_dict ):
@@ -1836,7 +1836,7 @@ class _GetDockerImage(ArtifactRegistryRestStub):
18361836 def __hash__ (self ):
18371837 return hash ("GetDockerImage" )
18381838
1839- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
1839+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
18401840
18411841 @classmethod
18421842 def _get_unset_required_fields (cls , message_dict ):
@@ -1932,7 +1932,7 @@ class _GetFile(ArtifactRegistryRestStub):
19321932 def __hash__ (self ):
19331933 return hash ("GetFile" )
19341934
1935- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
1935+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
19361936
19371937 @classmethod
19381938 def _get_unset_required_fields (cls , message_dict ):
@@ -2021,7 +2021,7 @@ class _GetIamPolicy(ArtifactRegistryRestStub):
20212021 def __hash__ (self ):
20222022 return hash ("GetIamPolicy" )
20232023
2024- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
2024+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
20252025
20262026 @classmethod
20272027 def _get_unset_required_fields (cls , message_dict ):
@@ -2181,7 +2181,7 @@ class _GetMavenArtifact(ArtifactRegistryRestStub):
21812181 def __hash__ (self ):
21822182 return hash ("GetMavenArtifact" )
21832183
2184- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
2184+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
21852185
21862186 @classmethod
21872187 def _get_unset_required_fields (cls , message_dict ):
@@ -2271,7 +2271,7 @@ class _GetNpmPackage(ArtifactRegistryRestStub):
22712271 def __hash__ (self ):
22722272 return hash ("GetNpmPackage" )
22732273
2274- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
2274+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
22752275
22762276 @classmethod
22772277 def _get_unset_required_fields (cls , message_dict ):
@@ -2359,7 +2359,7 @@ class _GetPackage(ArtifactRegistryRestStub):
23592359 def __hash__ (self ):
23602360 return hash ("GetPackage" )
23612361
2362- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
2362+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
23632363
23642364 @classmethod
23652365 def _get_unset_required_fields (cls , message_dict ):
@@ -2447,7 +2447,7 @@ class _GetProjectSettings(ArtifactRegistryRestStub):
24472447 def __hash__ (self ):
24482448 return hash ("GetProjectSettings" )
24492449
2450- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
2450+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
24512451
24522452 @classmethod
24532453 def _get_unset_required_fields (cls , message_dict ):
@@ -2539,7 +2539,7 @@ class _GetPythonPackage(ArtifactRegistryRestStub):
25392539 def __hash__ (self ):
25402540 return hash ("GetPythonPackage" )
25412541
2542- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
2542+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
25432543
25442544 @classmethod
25452545 def _get_unset_required_fields (cls , message_dict ):
@@ -2629,7 +2629,7 @@ class _GetRepository(ArtifactRegistryRestStub):
26292629 def __hash__ (self ):
26302630 return hash ("GetRepository" )
26312631
2632- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
2632+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
26332633
26342634 @classmethod
26352635 def _get_unset_required_fields (cls , message_dict ):
@@ -2875,7 +2875,7 @@ class _GetVPCSCConfig(ArtifactRegistryRestStub):
28752875 def __hash__ (self ):
28762876 return hash ("GetVPCSCConfig" )
28772877
2878- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
2878+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
28792879
28802880 @classmethod
28812881 def _get_unset_required_fields (cls , message_dict ):
@@ -3143,7 +3143,7 @@ class _ListDockerImages(ArtifactRegistryRestStub):
31433143 def __hash__ (self ):
31443144 return hash ("ListDockerImages" )
31453145
3146- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
3146+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
31473147
31483148 @classmethod
31493149 def _get_unset_required_fields (cls , message_dict ):
@@ -3233,7 +3233,7 @@ class _ListFiles(ArtifactRegistryRestStub):
32333233 def __hash__ (self ):
32343234 return hash ("ListFiles" )
32353235
3236- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
3236+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
32373237
32383238 @classmethod
32393239 def _get_unset_required_fields (cls , message_dict ):
@@ -3319,7 +3319,7 @@ class _ListMavenArtifacts(ArtifactRegistryRestStub):
33193319 def __hash__ (self ):
33203320 return hash ("ListMavenArtifacts" )
33213321
3322- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
3322+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
33233323
33243324 @classmethod
33253325 def _get_unset_required_fields (cls , message_dict ):
@@ -3409,7 +3409,7 @@ class _ListNpmPackages(ArtifactRegistryRestStub):
34093409 def __hash__ (self ):
34103410 return hash ("ListNpmPackages" )
34113411
3412- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
3412+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
34133413
34143414 @classmethod
34153415 def _get_unset_required_fields (cls , message_dict ):
@@ -3499,7 +3499,7 @@ class _ListPackages(ArtifactRegistryRestStub):
34993499 def __hash__ (self ):
35003500 return hash ("ListPackages" )
35013501
3502- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
3502+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
35033503
35043504 @classmethod
35053505 def _get_unset_required_fields (cls , message_dict ):
@@ -3585,7 +3585,7 @@ class _ListPythonPackages(ArtifactRegistryRestStub):
35853585 def __hash__ (self ):
35863586 return hash ("ListPythonPackages" )
35873587
3588- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
3588+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
35893589
35903590 @classmethod
35913591 def _get_unset_required_fields (cls , message_dict ):
@@ -3675,7 +3675,7 @@ class _ListRepositories(ArtifactRegistryRestStub):
36753675 def __hash__ (self ):
36763676 return hash ("ListRepositories" )
36773677
3678- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
3678+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
36793679
36803680 @classmethod
36813681 def _get_unset_required_fields (cls , message_dict ):
@@ -3915,7 +3915,7 @@ class _SetIamPolicy(ArtifactRegistryRestStub):
39153915 def __hash__ (self ):
39163916 return hash ("SetIamPolicy" )
39173917
3918- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
3918+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
39193919
39203920 @classmethod
39213921 def _get_unset_required_fields (cls , message_dict ):
@@ -4084,7 +4084,7 @@ class _TestIamPermissions(ArtifactRegistryRestStub):
40844084 def __hash__ (self ):
40854085 return hash ("TestIamPermissions" )
40864086
4087- __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , str ] = {}
4087+ __REQUIRED_FIELDS_DEFAULT_VALUES : Dict [str , Any ] = {}
40884088
40894089 @classmethod
40904090 def _get_unset_required_fields (cls , message_dict ):
0 commit comments