def create_service():
 credentials = GoogleCredentials.get_application_default()
 return discovery.build('storage', 'v1', credentials=credentials)

def create_service ( ) : credentials = GoogleCredentials . get_application_default ( ) return discovery . build ( 'storage' , 'v1' , credentials = credentials )
creates the service object for calling the cloud storage api .