def Args(parser): flags.AddResourceFlagsToParser(parser) base.Argument('--show_unset', action='store_true', required=False, default=False, help='Show available constraints.').AddToParser(parser)
def Args(parser): flags.AddIdArgToParser(parser) flags.AddResourceFlagsToParser(parser) base.Argument('--effective', action='store_true', required=False, default=False, help='Show the effective policy.').AddToParser(parser)
def Args(parser): flags.AddIdArgToParser(parser) flags.AddResourceFlagsToParser(parser) base.Argument( 'denied_value', metavar='DENIED_VALUE', nargs='+', help='The values to add to the denied_values list policy.', ).AddToParser(parser)
def Args(parser): flags.AddResourceFlagsToParser(parser) base.Argument('--show-unset', action='store_true', required=False, default=False, help=""" Show available constraints. For more information about constraints, see https://cloud.google.com/resource-manager/docs/organization-policy/understanding-constraints """).AddToParser(parser) parser.display_info.AddFormat(""" table( constraint, listPolicy.yesno(no="-", yes="SET"), booleanPolicy.yesno(no="-", yes="SET"), etag ) """)
def Args(parser): flags.AddIdArgToParser(parser) flags.AddResourceFlagsToParser(parser) base.Argument( 'allowed_value', metavar='ALLOWED_VALUE', nargs='+').AddToParser(parser)
def Args(parser): flags.AddIdArgToParser(parser) flags.AddResourceFlagsToParser(parser)
def Args(parser): flags.AddResourceFlagsToParser(parser) base.Argument( 'policy_file', list_command_path='resource-manager org-policies list --uri', help='JSON or YAML file with the OrgPolicy.').AddToParser(parser)
def Args(parser): flags.AddIdArgToParser(parser) flags.AddResourceFlagsToParser(parser) base.Argument( 'denied_value', metavar='DENIED_VALUE', nargs='+').AddToParser(parser)
def Args(parser): flags.AddResourceFlagsToParser(parser) base.Argument( 'policy_file', help='JSON or YAML file with the OrgPolicy.').AddToParser(parser)