Reference documentation and code samples for the Audit Manager V1 API class Google::Cloud::AuditManager::V1::CreateAuditScheduleRequest.
Request message for CreateAuditSchedule.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#audit_schedule
def audit_schedule() -> ::Google::Cloud::AuditManager::V1::AuditSchedule- (::Google::Cloud::AuditManager::V1::AuditSchedule) — Required. Audit schedule to create.
#audit_schedule=
def audit_schedule=(value) -> ::Google::Cloud::AuditManager::V1::AuditSchedule- value (::Google::Cloud::AuditManager::V1::AuditSchedule) — Required. Audit schedule to create.
- (::Google::Cloud::AuditManager::V1::AuditSchedule) — Required. Audit schedule to create.
#audit_schedule_id
def audit_schedule_id() -> ::String- (::String) — Required. ID to use for the audit schedule, which becomes the final component of the audit schedule's resource name.
#audit_schedule_id=
def audit_schedule_id=(value) -> ::String- value (::String) — Required. ID to use for the audit schedule, which becomes the final component of the audit schedule's resource name.
- (::String) — Required. ID to use for the audit schedule, which becomes the final component of the audit schedule's resource name.
#parent
def parent() -> ::String-
(::String) —
Required. Project or folder that this audit schedule is for, in one of the following formats:
projects/{project}/locations/{location}folders/{folder}/locations/{location}
#parent=
def parent=(value) -> ::String-
value (::String) —
Required. Project or folder that this audit schedule is for, in one of the following formats:
projects/{project}/locations/{location}folders/{folder}/locations/{location}
-
(::String) —
Required. Project or folder that this audit schedule is for, in one of the following formats:
projects/{project}/locations/{location}folders/{folder}/locations/{location}
#validate_only
def validate_only() -> ::Boolean-
(::Boolean) —
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.
- Infrastructure as Code (IaC): Allow tools like Terraform to run
dry-run mutations (e.g.,
#validate_only=
def validate_only=(value) -> ::Boolean-
value (::Boolean) —
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.
- Infrastructure as Code (IaC): Allow tools like Terraform to run
dry-run mutations (e.g.,
-
(::Boolean) —
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.
- Infrastructure as Code (IaC): Allow tools like Terraform to run
dry-run mutations (e.g.,