@@ -11,7 +11,7 @@ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
1111DESCRIPTOR : _descriptor .FileDescriptor
1212
1313class Task (_message .Message ):
14- __slots__ = ("id" , "type" , "reference " , "status" , "payload" , "progress" , "total" , "status_message" , "error" , "log_url" , "attempt" , "created_at" , "started_at" , "finished_at" , "created_by" )
14+ __slots__ = ("id" , "type" , "resource " , "status" , "payload" , "progress" , "total" , "status_message" , "error" , "log_url" , "attempt" , "created_at" , "started_at" , "finished_at" , "created_by" )
1515 class Status (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
1616 __slots__ = ()
1717 UNKNOWN : _ClassVar [Task .Status ]
@@ -30,7 +30,7 @@ class Task(_message.Message):
3030 CANCELLED : Task .Status
3131 ID_FIELD_NUMBER : _ClassVar [int ]
3232 TYPE_FIELD_NUMBER : _ClassVar [int ]
33- REFERENCE_FIELD_NUMBER : _ClassVar [int ]
33+ RESOURCE_FIELD_NUMBER : _ClassVar [int ]
3434 STATUS_FIELD_NUMBER : _ClassVar [int ]
3535 PAYLOAD_FIELD_NUMBER : _ClassVar [int ]
3636 PROGRESS_FIELD_NUMBER : _ClassVar [int ]
@@ -45,7 +45,7 @@ class Task(_message.Message):
4545 CREATED_BY_FIELD_NUMBER : _ClassVar [int ]
4646 id : str
4747 type : str
48- reference : str
48+ resource : str
4949 status : Task .Status
5050 payload : _struct_pb2 .Struct
5151 progress : int
@@ -58,4 +58,4 @@ class Task(_message.Message):
5858 started_at : _timestamp_pb2 .Timestamp
5959 finished_at : _timestamp_pb2 .Timestamp
6060 created_by : str
61- def __init__ (self , id : _Optional [str ] = ..., type : _Optional [str ] = ..., reference : _Optional [str ] = ..., status : _Optional [_Union [Task .Status , str ]] = ..., payload : _Optional [_Union [_struct_pb2 .Struct , _Mapping ]] = ..., progress : _Optional [int ] = ..., total : _Optional [int ] = ..., status_message : _Optional [str ] = ..., error : _Optional [str ] = ..., log_url : _Optional [str ] = ..., attempt : _Optional [int ] = ..., created_at : _Optional [_Union [datetime .datetime , _timestamp_pb2 .Timestamp , _Mapping ]] = ..., started_at : _Optional [_Union [datetime .datetime , _timestamp_pb2 .Timestamp , _Mapping ]] = ..., finished_at : _Optional [_Union [datetime .datetime , _timestamp_pb2 .Timestamp , _Mapping ]] = ..., created_by : _Optional [str ] = ...) -> None : ...
61+ def __init__ (self , id : _Optional [str ] = ..., type : _Optional [str ] = ..., resource : _Optional [str ] = ..., status : _Optional [_Union [Task .Status , str ]] = ..., payload : _Optional [_Union [_struct_pb2 .Struct , _Mapping ]] = ..., progress : _Optional [int ] = ..., total : _Optional [int ] = ..., status_message : _Optional [str ] = ..., error : _Optional [str ] = ..., log_url : _Optional [str ] = ..., attempt : _Optional [int ] = ..., created_at : _Optional [_Union [datetime .datetime , _timestamp_pb2 .Timestamp , _Mapping ]] = ..., started_at : _Optional [_Union [datetime .datetime , _timestamp_pb2 .Timestamp , _Mapping ]] = ..., finished_at : _Optional [_Union [datetime .datetime , _timestamp_pb2 .Timestamp , _Mapping ]] = ..., created_by : _Optional [str ] = ...) -> None : ...
0 commit comments