public sealed class ResourcesConsumed : IMessage<ResourcesConsumed>, IEquatable<ResourcesConsumed>, IDeepCloneable<ResourcesConsumed>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class ResourcesConsumed.
Statistics information about resource consumption.
Output only. The number of replica hours used. Note that many replicas may
run in parallel, and additionally any given work may be queued for some
time. Therefore this value is not strictly related to wall time.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eResourcesConsumed\u003c/code\u003e class is \u003ccode\u003e1.0.0-beta21\u003c/code\u003e, which is part of the Google Cloud AI Platform V1Beta1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResourcesConsumed\u003c/code\u003e provides statistics on resource consumption within the Vertex AI v1beta1 API and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and has inherited members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that takes another \u003ccode\u003eResourcesConsumed\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eReplicaHours\u003c/code\u003e is a property of the class that outputs the number of replica hours used, which may not directly correlate to wall time due to parallel execution and queuing.\u003c/p\u003e\n"]]],[],null,[]]