Ejemplo n.º 1
0
 def Run(self, args):
   """Run the list command."""
   client = billing_client.ProjectsClient()
   account_ref = utils.ParseAccount(args.id or args.billing_account)
   return client.List(account_ref, limit=args.limit)
Ejemplo n.º 2
0
 def Run(self, args):
     client = billing_client.ProjectsClient()
     project_ref = utils.ParseProject(args.project_id)
     return client.Link(project_ref, None)
Ejemplo n.º 3
0
 def Run(self, args):
     client = billing_client.ProjectsClient()
     project_ref = utils.ParseProject(args.project_id)
     account_ref = utils.ParseAccount(args.billing_account)
     return client.Link(project_ref, account_ref)