예제 #1
0
  def Args(parser):
    parser.add_argument('--display-name',
                        help='A textual name to display for the account.')

    parser.add_argument('name',
                        metavar='NAME',
                        type=iam_util.AccountNameValidator(),
                        help='The internal name of the new service account. '
                        'Used to generate an IAM_ACCOUNT (an IAM internal '
                        'email address used as an identifier of service '
                        'account), which must be passed to subsequent '
                        'commands.')
예제 #2
0
 def RunSubTest(self, name):
     return iam_util.AccountNameValidator()(name)