Beispiel #1
0
  def Args(parser):
    parser.display_info.AddFormat('table(updateTime)')

    base.URI_FLAG.RemoveFromParser(parser)
    base.PAGE_SIZE_FLAG.RemoveFromParser(parser)
    resource_args.AddDeviceResourceArg(parser, 'for which to list configs',
                                       positional=False)
Beispiel #2
0
 def Args(parser):
   resource_args.AddDeviceResourceArg(parser,
                                      'for which to update credentials',
                                      positional=False)
   flags.GetIndexFlag('credential', 'to update').AddToParser(parser)
   flags.AddDeviceCredentialFlagsToParser(parser, combine_flags=False,
                                          only_modifiable=True)
Beispiel #3
0
  def Args(parser):
    parser.display_info.AddFormat(
        'table(index, publicKey.format, expirationTime)')

    base.URI_FLAG.RemoveFromParser(parser)
    base.PAGE_SIZE_FLAG.RemoveFromParser(parser)
    resource_args.AddDeviceResourceArg(parser, 'for which to list credentials',
                                       positional=False)
 def Args(parser):
     resource_args.AddDeviceResourceArg(parser,
                                        'to which the credential belongs',
                                        positional=False)
     flags.GetIndexFlag('credential', 'to describe').AddToParser(parser)
Beispiel #5
0
 def Args(parser):
     resource_args.AddDeviceResourceArg(parser,
                                        'for the configuration to describe',
                                        positional=False)
Beispiel #6
0
 def Args(parser):
     resource_args.AddDeviceResourceArg(parser, 'to delete')
Beispiel #7
0
 def Args(parser):
   parser.display_info.AddFormat('get[terminator=""](.)')
   resource_args.AddDeviceResourceArg(
       parser,
       'for the configuration to get the value of',
       positional=False)
 def Args(parser):
     resource_args.AddDeviceResourceArg(parser,
                                        'for which to create credentials',
                                        positional=False)
     flags.AddDeviceCredentialFlagsToParser(parser, combine_flags=False)
Beispiel #9
0
 def Args(parser):
     resource_args.AddDeviceResourceArg(parser,
                                        'from which to delete credentials',
                                        positional=False)
     flags.GetIndexFlag('credential', 'to delete').AddToParser(parser)
Beispiel #10
0
 def Args(parser):
     resource_args.AddDeviceResourceArg(parser, 'to update')
     flags.AddDeviceFlagsToParser(parser, default_for_blocked_flags=False)
     flags.GATEWAY_AUTH_METHOD_ENUM_MAPPER.choice_arg.AddToParser(parser)
     flags.AddLogLevelFlagToParser(parser)
Beispiel #11
0
 def Args(parser):
     resource_args.AddDeviceResourceArg(parser, 'to update')
     flags.AddDeviceFlagsToParser(parser, default_for_blocked_flags=False)
     flags.AddLogLevelFlagToParser(parser)
Beispiel #12
0
 def Args(parser):
   resource_args.AddDeviceResourceArg(parser,
                                      'for the configuration to update',
                                      positional=False)
   flags.AddDeviceConfigFlagsToParser(parser)
Beispiel #13
0
 def Args(parser):
     resource_args.AddDeviceResourceArg(parser,
                                        'for which to clear credentials',
                                        positional=False)
 def Args(parser):
     resource_args.AddDeviceResourceArg(parser, 'to create')
     flags.AddDeviceFlagsToParser(parser)
     flags.AddDeviceCredentialFlagsToParser(parser)
Beispiel #15
0
 def Args(parser):
     """Adds args for this command."""
     iot_resource_args.AddDeviceResourceArg(parser, 'test', positional=True)
     kms_resource_args.AddKmsKeyResourceArg(parser,
                                            'test',
                                            region_fallthrough=True)