Audit Manager V1 API - Class Google::Cloud::AuditManager::V1::CreateAuditScheduleRequest (v1.2.0)

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
Returns

#audit_schedule=

def audit_schedule=(value) -> ::Google::Cloud::AuditManager::V1::AuditSchedule
Parameter
Returns

#audit_schedule_id

def audit_schedule_id() -> ::String
Returns
  • (::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
Parameter
  • value (::String) — Required. ID to use for the audit schedule, which becomes the final component of the audit schedule's resource name.
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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}
Returns
  • (::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
Returns
  • (::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.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • 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.
Returns
  • (::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.