1.0.0-beta10 (latest) 1.0.0-beta09

    public sealed class GenerateAppResourceRequest : IMessage<GenerateAppResourceRequest>, IEquatable<GenerateAppResourceRequest>, IDeepCloneable<GenerateAppResourceRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class GenerateAppResourceRequest.

Request message for
\[AgentService.GenerateAppResource\]\[google.cloud.ces.v1beta.AgentService.GenerateAppResource\].

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Ces.V1Beta.dll

## Constructors

### GenerateAppResourceRequest()

    public GenerateAppResourceRequest()

### GenerateAppResourceRequest(GenerateAppResourceRequest)

    public GenerateAppResourceRequest(GenerateAppResourceRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest` |

## Properties

### Agent

    public Agent Agent { get; set; }

The agent resource to be used by the LLM assistant, can be empty for
generating a new agent.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.Agent` |   |

### AppGenerationConfig

    public GenerateAppResourceRequest.Types.AppGenerationConfig AppGenerationConfig { get; set; }

Optional. The configuration to be used to generate the agents and tools.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Types.AppGenerationConfig` |   |

### AppVersionContext

    public GenerateAppResourceRequest.Types.AppVersionContext AppVersionContext { get; set; }

The app version context specifying the base snapshot and target agent.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Types.AppVersionContext` |   |

### EvaluationGenerationConfig

    public GenerateAppResourceRequest.Types.EvaluationGenerationConfig EvaluationGenerationConfig { get; set; }

Optional. The configuration to be used to generate the evaluations.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Types.EvaluationGenerationConfig` |   |

### EvaluationPersonasGenerationConfig

    public GenerateAppResourceRequest.Types.EvaluationPersonasGenerationConfig EvaluationPersonasGenerationConfig { get; set; }

Optional. The configuration to be used to generate the evaluation personas.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Types.EvaluationPersonasGenerationConfig` |   |

### HillClimbingFixConfig

    public GenerateAppResourceRequest.Types.HillClimbingFixConfig HillClimbingFixConfig { get; set; }

Optional. The configuration to be used for hill climbing fixes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Types.HillClimbingFixConfig` |   |

### Parent

    public string Parent { get; set; }

Required. The resource name of the app to generate the resource for.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsAppName

    public AppName ParentAsAppName { get; set; }

[AppName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.AppName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest#Google_Cloud_Ces_V1Beta_GenerateAppResourceRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.AppName` |   |

### QualityReportGenerationConfig

    public GenerateAppResourceRequest.Types.QualityReportGenerationConfig QualityReportGenerationConfig { get; set; }

Optional. The configuration to be used for quality report generation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Types.QualityReportGenerationConfig` |   |

### RefineInstructions

    public RepeatedField<GenerateAppResourceRequest.Types.RefineInstructions> RefineInstructions { get; }

Optional. List of refine instructions to be used to refine the resource.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Types.RefineInstructions` |   |

### ResourceCase

    public GenerateAppResourceRequest.ResourceOneofCase ResourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.ResourceOneofCase` |   |

### Tool

    public Tool Tool { get; set; }

The tool resource to be used by the LLM assistant, can be empty for
generating a new tool.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.Tool` |   |

### ToolGenerationConfig

    public GenerateAppResourceRequest.Types.ToolGenerationConfig ToolGenerationConfig { get; set; }

Optional. The configuration to be used to generate the tool.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.GenerateAppResourceRequest.Types.ToolGenerationConfig` |   |

### Toolset

    public Toolset Toolset { get; set; }

The toolset resource to be used by the LLM assistant, can be empty for
generating a new toolset.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.Toolset` |   |