public sealed class CreateAuditScheduleRequest : IMessage<CreateAuditScheduleRequest>, IEquatable<CreateAuditScheduleRequest>, IDeepCloneable<CreateAuditScheduleRequest>, IBufferMessage, IMessageReference documentation and code samples for the Audit Manager v1 API class CreateAuditScheduleRequest.
Request message for [CreateAuditSchedule][google.cloud.auditmanager.v1.AuditManager.CreateAuditSchedule].
Implements
IMessageCreateAuditScheduleRequest, IEquatableCreateAuditScheduleRequest, IDeepCloneableCreateAuditScheduleRequest, IBufferMessage, IMessageNamespace
Google.Cloud.AuditManager.V1Assembly
Google.Cloud.AuditManager.V1.dll
Constructors
CreateAuditScheduleRequest()
public CreateAuditScheduleRequest()CreateAuditScheduleRequest(CreateAuditScheduleRequest)
public CreateAuditScheduleRequest(CreateAuditScheduleRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAuditScheduleRequest |
Properties
AuditSchedule
public AuditSchedule AuditSchedule { get; set; }Required. Audit schedule to create.
| Property Value | |
|---|---|
| Type | Description |
AuditSchedule |
|
AuditScheduleId
public string AuditScheduleId { get; set; }Required. ID to use for the audit schedule, which becomes the final component of the audit schedule's resource name.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Parent
public string Parent { get; set; }Required. Project or folder that this audit schedule is for, in one of the following formats:
projects/{project}/locations/{location}folders/{folder}/locations/{location}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsEnrollmentStatusScopeName
public EnrollmentStatusScopeName ParentAsEnrollmentStatusScopeName { get; set; }EnrollmentStatusScopeName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
EnrollmentStatusScopeName |
|
ParentAsFolderLocationName
public FolderLocationName ParentAsFolderLocationName { get; set; }FolderLocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
FolderLocationName |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
ParentAsOrganizationLocationName
public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }OrganizationLocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
OrganizationLocationName |
|
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }IResourceName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
IResourceName |
|
ValidateOnly
public bool ValidateOnly { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
bool |
|