예제 #1
0
  def Run(self, args):
    location_refs = flags.FallthroughToLocationProperty(
        args.CONCEPTS.locations.Parse(),
        '--locations',
        'One or more locations in which to list environments must be provided.')

    return environments_api_util.List(
        location_refs, args.page_size, limit=args.limit)
예제 #2
0
    def Run(self, args):
        location_refs = flags.FallthroughToLocationProperty(
            args.CONCEPTS.locations.Parse(), '--locations',
            'One or more locations in which to list operations must be provided.'
        )

        return operations_api_util.List(location_refs,
                                        args.page_size,
                                        limit=args.limit,
                                        release_track=self.ReleaseTrack())