Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 def Display(self, _, result):
   instance_refs = []
   items = remote_completion.Iterate(result, instance_refs, self.ToSelfLink)
   list_printer.PrintResourceList(
       'cloudbilling.billingAccount',
       items,
   )
Exemplo n.º 3
0
 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)
Exemplo n.º 4
0
 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)