4747
4848
4949_GAPIC_LIBRARY_VERSION = pkg_resources .get_distribution (
50- "google-cloud-monitoring"
50+ "google-cloud-monitoring" ,
5151).version
5252
5353
@@ -97,14 +97,14 @@ def from_service_account_file(cls, filename, *args, **kwargs):
9797 def group_path (cls , project , group ):
9898 """Return a fully-qualified group string."""
9999 return google .api_core .path_template .expand (
100- "projects/{project}/groups/{group}" , project = project , group = group
100+ "projects/{project}/groups/{group}" , project = project , group = group ,
101101 )
102102
103103 @classmethod
104104 def project_path (cls , project ):
105105 """Return a fully-qualified project string."""
106106 return google .api_core .path_template .expand (
107- "projects/{project}" , project = project
107+ "projects/{project}" , project = project ,
108108 )
109109
110110 def __init__ (
@@ -194,12 +194,12 @@ def __init__(
194194 self .transport = transport
195195 else :
196196 self .transport = group_service_grpc_transport .GroupServiceGrpcTransport (
197- address = api_endpoint , channel = channel , credentials = credentials
197+ address = api_endpoint , channel = channel , credentials = credentials ,
198198 )
199199
200200 if client_info is None :
201201 client_info = google .api_core .gapic_v1 .client_info .ClientInfo (
202- gapic_version = _GAPIC_LIBRARY_VERSION
202+ gapic_version = _GAPIC_LIBRARY_VERSION ,
203203 )
204204 else :
205205 client_info .gapic_version = _GAPIC_LIBRARY_VERSION
@@ -210,7 +210,7 @@ def __init__(
210210 # (Ordinarily, these are the defaults specified in the `*_config.py`
211211 # file next to this one.)
212212 self ._method_configs = google .api_core .gapic_v1 .config .parse_method_configs (
213- client_config ["interfaces" ][self ._INTERFACE_NAME ]
213+ client_config ["interfaces" ][self ._INTERFACE_NAME ],
214214 )
215215
216216 # Save a dictionary of cached API call functions.
@@ -409,7 +409,7 @@ def get_group(
409409 client_info = self ._client_info ,
410410 )
411411
412- request = group_service_pb2 .GetGroupRequest (name = name )
412+ request = group_service_pb2 .GetGroupRequest (name = name , )
413413 if metadata is None :
414414 metadata = []
415415 metadata = list (metadata )
@@ -494,7 +494,7 @@ def create_group(
494494 )
495495
496496 request = group_service_pb2 .CreateGroupRequest (
497- name = name , group = group , validate_only = validate_only
497+ name = name , group = group , validate_only = validate_only ,
498498 )
499499 if metadata is None :
500500 metadata = []
@@ -577,7 +577,7 @@ def update_group(
577577 )
578578
579579 request = group_service_pb2 .UpdateGroupRequest (
580- group = group , validate_only = validate_only
580+ group = group , validate_only = validate_only ,
581581 )
582582 if metadata is None :
583583 metadata = []
@@ -652,7 +652,7 @@ def delete_group(
652652 client_info = self ._client_info ,
653653 )
654654
655- request = group_service_pb2 .DeleteGroupRequest (name = name , recursive = recursive )
655+ request = group_service_pb2 .DeleteGroupRequest (name = name , recursive = recursive , )
656656 if metadata is None :
657657 metadata = []
658658 metadata = list (metadata )
@@ -766,7 +766,7 @@ def list_group_members(
766766 )
767767
768768 request = group_service_pb2 .ListGroupMembersRequest (
769- name = name , page_size = page_size , filter = filter_ , interval = interval
769+ name = name , page_size = page_size , filter = filter_ , interval = interval ,
770770 )
771771 if metadata is None :
772772 metadata = []
0 commit comments