public sealed class ResourceRuntimeSpec : IMessage<ResourceRuntimeSpec>, IEquatable<ResourceRuntimeSpec>, IDeepCloneable<ResourceRuntimeSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class ResourceRuntimeSpec.
Configuration for the runtime on a PersistentResource instance, including
but not limited to:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eResourceRuntimeSpec\u003c/code\u003e class in the Vertex AI v1beta1 API configures the runtime settings for a PersistentResource instance.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows the setting of service accounts for running workloads.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceRuntimeSpec\u003c/code\u003e class can be used to configure a dedicated Ray Cluster.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this class is 1.0.0-beta21.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, extending from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class ResourceRuntimeSpec (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ResourceRuntimeSpec)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.ResourceRuntimeSpec) \n\n public sealed class ResourceRuntimeSpec : IMessage\u003cResourceRuntimeSpec\u003e, IEquatable\u003cResourceRuntimeSpec\u003e, IDeepCloneable\u003cResourceRuntimeSpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class ResourceRuntimeSpec.\n\nConfiguration for the runtime on a PersistentResource instance, including\nbut not limited to:\n\n- Service accounts used to run the workloads.\n- Whether to make it a dedicated Ray Cluster. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ResourceRuntimeSpec \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ResourceRuntimeSpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ResourceRuntimeSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ResourceRuntimeSpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ResourceRuntimeSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ResourceRuntimeSpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ResourceRuntimeSpec), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### ResourceRuntimeSpec()\n\n public ResourceRuntimeSpec()\n\n### ResourceRuntimeSpec(ResourceRuntimeSpec)\n\n public ResourceRuntimeSpec(ResourceRuntimeSpec other)\n\nProperties\n----------\n\n### RaySpec\n\n public RaySpec RaySpec { get; set; }\n\nOptional. Ray cluster configuration.\nRequired when creating a dedicated RayCluster on the PersistentResource.\n\n### ServiceAccountSpec\n\n public ServiceAccountSpec ServiceAccountSpec { get; set; }\n\nOptional. Configure the use of workload identity on the PersistentResource"]]