Audit Manager v1 API - Class GenerateAuditReportRequest (1.2.0)

public sealed class GenerateAuditReportRequest : IMessage<GenerateAuditReportRequest>, IEquatable<GenerateAuditReportRequest>, IDeepCloneable<GenerateAuditReportRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Audit Manager v1 API class GenerateAuditReportRequest.

Request message for [GenerateAuditReport][google.cloud.auditmanager.v1.AuditManager.GenerateAuditReport].

Inheritance

object > GenerateAuditReportRequest

Namespace

Google.Cloud.AuditManager.V1

Assembly

Google.Cloud.AuditManager.V1.dll

Constructors

GenerateAuditReportRequest()

public GenerateAuditReportRequest()

GenerateAuditReportRequest(GenerateAuditReportRequest)

public GenerateAuditReportRequest(GenerateAuditReportRequest other)
Parameter
Name Description
other GenerateAuditReportRequest

Properties

ComplianceFramework

public string ComplianceFramework { get; set; }

Required. The framework that's used for the audit report. For example, NIST_800_53.

Property Value
Type Description
string

ComplianceStandard

[Obsolete]
public string ComplianceStandard { get; set; }

Optional. Deprecated. Compliance standard for the audit report.

Use the compliance_framework field instead.

Property Value
Type Description
string

DestinationCase

public GenerateAuditReportRequest.DestinationOneofCase DestinationCase { get; }
Property Value
Type Description
GenerateAuditReportRequestDestinationOneofCase

GcsUri

public string GcsUri { get; set; }

URL for the Cloud Storage bucket where the report and evidence is uploaded. You must select a bucket that was provided during the enrollment process.

Property Value
Type Description
string

HasGcsUri

public bool HasGcsUri { get; }

Gets whether the "gcs_uri" field is set

Property Value
Type Description
bool

ReportFormat

public GenerateAuditReportRequest.Types.AuditReportFormat ReportFormat { get; set; }

Required. Format for the audit report.

Property Value
Type Description
GenerateAuditReportRequestTypesAuditReportFormat

Scope

public string Scope { get; set; }

Required. Organization, folder, or project that the audit applies to, in one of the following formats:

  • projects/{project}/locations/{location}
  • folders/{folder}/locations/{location}
  • organizations/{organization}/locations/{location}
Property Value
Type Description
string

ValidateOnly

public bool ValidateOnly { get; set; }

Optional. If true, only validates the request and does not generate the audit report. 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 triggering expensive Long-Running Operations (LROs) or consuming resource quotas.
Property Value
Type Description
bool