File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1783
1783
{
1784
1784
"kind" : " PropertySignature" ,
1785
1785
"canonicalReference" : " @google-cloud/functions-framework!Request_2#executionId:member" ,
1786
- "docComment" : " " ,
1786
+ "docComment" : " /** \n * Request-specified execution ID. \n */ \n " ,
1787
1787
"excerptTokens" : [
1788
1788
{
1789
1789
"kind" : " Content" ,
1838
1838
{
1839
1839
"kind" : " PropertySignature" ,
1840
1840
"canonicalReference" : " @google-cloud/functions-framework!Request_2#spanId:member" ,
1841
- "docComment" : " " ,
1841
+ "docComment" : " /** \n * Cloud Trace span ID. \n */ \n " ,
1842
1842
"excerptTokens" : [
1843
1843
{
1844
1844
"kind" : " Content" ,
1865
1865
{
1866
1866
"kind" : " PropertySignature" ,
1867
1867
"canonicalReference" : " @google-cloud/functions-framework!Request_2#traceId:member" ,
1868
- "docComment" : " " ,
1868
+ "docComment" : " /** \n * Cloud Trace trace ID. \n */ \n " ,
1869
1869
"excerptTokens" : [
1870
1870
{
1871
1871
"kind" : " Content" ,
Original file line number Diff line number Diff line change @@ -115,12 +115,9 @@ export interface LegacyEvent {
115
115
116
116
// @public (undocumented)
117
117
interface Request_2 extends Request_3 {
118
- // (undocumented)
119
118
executionId? : string ;
120
119
rawBody? : Buffer ;
121
- // (undocumented)
122
120
spanId? : string ;
123
- // (undocumented)
124
121
traceId? : string ;
125
122
}
126
123
export { Request_2 as Request }
Original file line number Diff line number Diff line change @@ -49,4 +49,4 @@ export function getCurrentContext(): ExecutionContext | undefined {
49
49
50
50
export const getCurrentExecutionId = ( ) : string | undefined => {
51
51
return getCurrentContext ( ) ?. executionId ;
52
- } ;
52
+ } ;
Original file line number Diff line number Diff line change @@ -33,10 +33,16 @@ export interface Request extends ExpressRequest {
33
33
*/
34
34
rawBody ?: Buffer ;
35
35
/**
36
- * Request-specified execution id .
36
+ * Request-specified execution ID .
37
37
*/
38
38
executionId ?: string ;
39
+ /**
40
+ * Cloud Trace trace ID.
41
+ */
39
42
traceId ?: string ;
43
+ /**
44
+ * Cloud Trace span ID.
45
+ */
40
46
spanId ?: string ;
41
47
}
42
48
You can’t perform that action at this time.
0 commit comments