**Full name**: projects.locations.schedules.create

Creates a Schedule.

### Endpoint

post `https://{service-endpoint}/v1/{parent}/schedules`   
Where `{service-endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest#rest_endpoints).

### Path parameters

`parent` `string` Required. The resource name of the Location to create the Schedule in. Format: `projects/{project}/locations/{location}`

### Request body

The request body contains an instance of `https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1/projects.locations.schedules#Schedule`.

### Response body

If successful, the response body contains a newly created instance of `https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1/projects.locations.schedules#Schedule`.

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permissions on the `parent` resource:

- `aiplatform.pipelineJobs.create`
- `aiplatform.schedules.create`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).