Creates a new audit schedule in a given project and location.
Request
- Base URL: https://auditmanager.googleapis.com
- URL: https://auditmanager.googleapis.com/v1/{+parent}/auditSchedules
- Auth: one of:
- OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-auditmanager) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-auditmanager)
- OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)
Path parameters
Required. Project or folder that this audit schedule is for, in one of the following formats: * projects/{project}/locations/{location} * folders/{folder}/locations/{location}
Query parameters
Required. ID to use for the audit schedule, which becomes the final component of the audit schedule's resource name.
Optional. If true, only validates the request and does not create the audit schedule. This executes standard request validation (such as schema, framework existence, scope, and IAM checks) and skips the apply phase. Use this field for the following purposes: * Infrastructure as Code (IaC): Allow tools like Terraform to run dry-run mutations (e.g., terraform plan) without creating real resources or incurring costs. * User Interface Validation: Enable real-time form and permission validation in custom UIs before submitting requests. * CI/CD & Automation: Test your scripts, permissions, and parameters safely without consuming resource quotas.
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.