예제 #1
0
파일: list.py 프로젝트: bopopescu/packmybot
 def Display(self, args, result):
   instance_refs = []
   items = remote_completion.Iterate(result, instance_refs,
                                     self.ProjectIdToLink)
   list_printer.PrintResourceList('cloudresourcemanager.projects', items)
   cache = remote_completion.RemoteCompletion()
   cache.StoreInCache(instance_refs)
예제 #2
0
 def Display(self, _, result):
   instance_refs = []
   items = remote_completion.Iterate(result, instance_refs, self.ToSelfLink)
   list_printer.PrintResourceList(
       'cloudbilling.billingAccount',
       items,
   )
예제 #3
0
파일: list.py 프로젝트: bopopescu/packmybot
 def Display(self, args, result):
     instance_refs = []
     items = remote_completion.Iterate(result, instance_refs, self.GetRef)
     list_printer.PrintResourceList('dns.managedZones', items)
     cache = remote_completion.RemoteCompletion()
     cache.StoreInCache(instance_refs)
예제 #4
0
파일: list.py 프로젝트: bopopescu/packmybot
 def Display(self, unused_args, result):
   instance_refs = []
   items = remote_completion.Iterate(result, instance_refs, self.GetRef)
   list_printer.PrintResourceList('sql.instances.v1beta4', items)
   cache = remote_completion.RemoteCompletion()
   cache.StoreInCache(instance_refs)