# Class CreateGuardrailRequest (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

Request message for
AgentService.CreateGuardrail.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The resource name of the app to create a guardrail in. |
| `guardrail_id` | `str` Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail. |
| `guardrail` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1.types.Guardrail` Required. The guardrail to create. |