1.0.0-beta87 (latest) 1.0.0-beta86

    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:

- Service accounts used to run the workloads.
- Whether to make it a dedicated Ray Cluster.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ResourceRuntimeSpec

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ResourceRuntimeSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ResourceRuntimeSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ResourceRuntimeSpec](https://docs.cloud.google.com/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](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### ResourceRuntimeSpec()

    public ResourceRuntimeSpec()

### ResourceRuntimeSpec(ResourceRuntimeSpec)

    public ResourceRuntimeSpec(ResourceRuntimeSpec other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ResourceRuntimeSpec` |

## Properties

### RaySpec

    public RaySpec RaySpec { get; set; }

Optional. Ray cluster configuration.
Required when creating a dedicated RayCluster on the PersistentResource.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RaySpec` |   |

### ServiceAccountSpec

    public ServiceAccountSpec ServiceAccountSpec { get; set; }

Optional. Configure the use of workload identity on the PersistentResource

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ServiceAccountSpec` |   |