File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -280,22 +280,25 @@ public final class Context: CustomDebugStringConvertible {
280
280
public let deadline: DispatchWallTime
281
281
282
282
/// The UIN of cloud function actor.
283
- public static let uin: String
283
+ public let uin: String
284
284
285
285
/// The APPID that the cloud function belongs to.
286
- public static let appid: String
286
+ public let appid: String
287
287
288
288
/// The Tencent Cloud region that the cloud function is in.
289
- public static let region: String
289
+ public let region: TencentCloud.Region ?
290
290
291
291
/// The name of the cloud function.
292
- public static let name: String
292
+ public let name: String
293
293
294
294
/// The namespace of the cloud function.
295
- public static let namespace: String
295
+ public let namespace: String
296
296
297
297
/// The version of the cloud function.
298
- public static let version: Version
298
+ public let version: Version
299
+
300
+ /// The role credential from SCF environment.
301
+ public let credential: TencentCloud.Credential?
299
302
300
303
/// `Logger` to log with.
301
304
///
You can’t perform that action at this time.
0 commit comments