1# -*- coding: utf-8 -*- #
2# Copyright 2016 Google LLC. All Rights Reserved.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#    http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16"""The command group for the RuntimeConfig CLI."""
17
18from __future__ import absolute_import
19from __future__ import division
20from __future__ import unicode_literals
21
22from googlecloudsdk.api_lib.runtime_config import transforms
23from googlecloudsdk.calliope import base
24
25
26@base.ReleaseTracks(base.ReleaseTrack.BETA)
27class RuntimeConfig(base.Group):
28  """Manage runtime configuration resources."""
29  category = base.MANAGEMENT_TOOLS_CATEGORY
30
31  @staticmethod
32  def Args(parser):
33    parser.display_info.AddTransforms(transforms.GetTransforms())
34
35  def Filter(self, context, args):
36    del context, args
37    base.DisableUserProjectQuota()
38