def Run(self, args): tasks_client = GetApiAdapter(self.ReleaseTrack()).tasks queue_ref = parsers.ParseQueue(args.queue, args.location) task_ref = parsers.ParseTask(args.task, queue_ref) return tasks_client.Get( task_ref, response_view=self.TASK_RESPONSE_VIEW_MAPPER.GetEnumForChoice( args.response_view))
def Run(self, args): queues_client = GetApiAdapter(self.ReleaseTrack()).queues queue_ref = parsers.ParseQueue(args.queue, args.location) return queues_client.Get(queue_ref)
def Run(self, args): tasks_client = GetApiAdapter(self.ReleaseTrack()).tasks queue_ref = parsers.ParseQueue(args.queue, args.location) task_ref = parsers.ParseTask(args.task, queue_ref) return tasks_client.Get(task_ref)
def Run(self, args): locations_client = GetApiAdapter(self.ReleaseTrack()).locations location_ref = parsers.ParseLocation(args.location) return locations_client.Get(location_ref)