# Class GenerateAppResourceRequest (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    GenerateAppResourceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for
AgentService.GenerateAppResource.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `agent` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.Agent` The agent resource to be used by the LLM assistant, can be empty for generating a new agent. This field is a member of `oneof`_ `resource`. |
| `tool` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.Tool` The tool resource to be used by the LLM assistant, can be empty for generating a new tool. This field is a member of `oneof`_ `resource`. |
| `toolset` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.Toolset` The toolset resource to be used by the LLM assistant, can be empty for generating a new toolset. This field is a member of `oneof`_ `resource`. |
| `app_version_context` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.GenerateAppResourceRequest.AppVersionContext` The app version context specifying the base snapshot and target agent. This field is a member of `oneof`_ `resource`. |
| `parent` | `str` Required. The resource name of the app to generate the resource for. |
| `refine_instructions` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.GenerateAppResourceRequest.RefineInstructions]` Optional. List of refine instructions to be used to refine the resource. |
| `tool_generation_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.GenerateAppResourceRequest.ToolGenerationConfig` Optional. The configuration to be used to generate the tool. |
| `app_generation_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.GenerateAppResourceRequest.AppGenerationConfig` Optional. The configuration to be used to generate the agents and tools. |
| `evaluation_generation_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.GenerateAppResourceRequest.EvaluationGenerationConfig` Optional. The configuration to be used to generate the evaluations. |
| `evaluation_personas_generation_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.GenerateAppResourceRequest.EvaluationPersonasGenerationConfig` Optional. The configuration to be used to generate the evaluation personas. |
| `quality_report_generation_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.GenerateAppResourceRequest.QualityReportGenerationConfig` Optional. The configuration to be used for quality report generation. |
| `hill_climbing_fix_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.GenerateAppResourceRequest.HillClimbingFixConfig` Optional. The configuration to be used for hill climbing fixes. |

## Classes

### AppGenerationConfig

    AppGenerationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration to be used to generate the app.

### AppVersionContext

    AppVersionContext(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

### EvaluationGenerationConfig

    EvaluationGenerationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration to be used to generate the evaluations.

### EvaluationPersonasGenerationConfig

    EvaluationPersonasGenerationConfig(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

The configuration to be used to generate the evaluation
personas.

### HillClimbingFixConfig

    HillClimbingFixConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration to be used for hill climbing fixes.

### QualityReportGenerationConfig

    QualityReportGenerationConfig(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

The configuration to be used for quality report generation.

### RefineInstructions

    RefineInstructions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The instructions to be used to refine a part of the resource.
The part of the resource can be specified with a start index,
end index and a field mask. For example, if you want to refine a
part of the agent instructions you can specify the index of the
first character of the instructions, the index of the last
character of the instructions and the field mask as
"instructions".

### ToolGenerationConfig

    ToolGenerationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration to be used to generate a tool.