Skip to content

Commit f95894a

Browse files
committed
fix(dataproc): add mising fields in yarnApplication proto
1 parent 53f72fb commit f95894a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

  • packages/google-cloud-dataproc/google/cloud/dataproc_v1/types

packages/google-cloud-dataproc/google/cloud/dataproc_v1/types/jobs.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,10 @@ class YarnApplication(proto.Message):
11401140
application-specific information. The URL uses
11411141
the internal hostname, and requires a proxy
11421142
server for resolution and, possibly, access.
1143+
vcore_seconds (int):
1144+
Optional. The cumulative CPU time consumed by the application for a job, measured in vcore-seconds.
1145+
memory_mb_seconds (int):
1146+
Optional. The cumulative memory usage of the application for a job, measured in mb-seconds.
11431147
"""
11441148

11451149
class State(proto.Enum):
@@ -1194,6 +1198,16 @@ class State(proto.Enum):
11941198
proto.STRING,
11951199
number=4,
11961200
)
1201+
vcore_seconds: int = proto.Field(
1202+
proto.INT64,
1203+
number=5,
1204+
optional=True,
1205+
)
1206+
memory_mb_seconds: int = proto.Field(
1207+
proto.INT64,
1208+
number=6,
1209+
optional=True,
1210+
)
11971211

11981212

11991213
class Job(proto.Message):

0 commit comments

Comments
 (0)