Service Client: Google::Cloud::Auditmanager::V1::Auditmanager::AuditManagerClient
Client stub representing the remote AuditManager gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to auditmanager.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Auditmanager::V1::Auditmanager - Compiled Protocol Buffers messages for google/cloud/auditmanager/v1/auditmanager.proto
SYNOPSIS
use Google::Cloud::Auditmanager::V1::Auditmanager;
my $msg = Google::Cloud::Auditmanager::V1::Auditmanager::EnrollResourceRequest->new({
scope => $scope,
destinations => $destinations,
validate_only => $validate_only,
});
# Read or update a field
my $val = $msg->scope();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Auditmanager::V1::Auditmanager::EnrollResourceRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/auditmanager/v1/auditmanager.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Auditmanager::V1::Auditmanager::EnrollResourceRequest
Request message for [EnrollResource][google.cloud.auditmanager.v1.AuditManager.EnrollResource].
Inherits from Protobuf::Message.
Accessors
$msg->scope()/$msg->scope($value)Type:
StringRequired. Organization, folder, or project to enroll in Audit Manager, in one of the following formats:
* `projects/{project}/locations/{location}` * `folders/{folder}/locations/{location}` * `organizations/{organization}/locations/{location}`
$msg->destinations()/$msg->destinations($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::EnrollResourceRequest::EligibleDestination)Required. Cloud Storage buckets that you can upload your audit reports to during the audit process.
When you enroll an organization or folder, you can choose a Cloud Storage bucket from any project in the organization or folder. If you run an audit at the project level using the service agent at the organization or folder level, all the buckets that are associated with the service agent are available.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If `true`, only validates the request and does not enroll the resource. This executes standard request validation (such as schema, IAM, and destination 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.
Google::Cloud::Auditmanager::V1::Auditmanager::GenerateAuditScopeReportRequest
Request message for [GenerateAuditScopeReport][google.cloud.auditmanager.v1.AuditManager.GenerateAuditScopeReport].
Inherits from Protobuf::Message.
Accessors
$msg->scope()/$msg->scope($value)Type:
StringRequired. Project or folder that the audit scope report is generated for, in one of the following formats:
* `projects/{project}/locations/{location}` * `folders/{folder}/locations/{location}` * `organizations/{organization}/locations/{location}`
$msg->compliance_standard()/$msg->compliance_standard($value)Type:
StringOptional. Deprecated. The standard (industry or regulatory requirements) that the audit scope report is run against.
Use the `compliance_framework` field instead.
$msg->report_format()/$msg->report_format($value)Type:
Enum(Google::Cloud::Auditmanager::V1::GenerateAuditScopeReportRequest::AuditScopeReportFormat)Required. Format for the audit scope report.
$msg->compliance_framework()/$msg->compliance_framework($value)Type:
StringRequired. Framework (set of controls) that the audit scope report is generated against. For example, `NIST_800_53`.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If `true`, only validates the request and does not generate the audit scope 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 consuming resource quotas.
$msg->parameter_overrides()/$msg->parameter_overrides($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::GenerateAuditScopeReportRequest::ParameterOverridesEntry)Optional. Maps dynamic parameter overrides by Cloud Control resource name at execution time. For example, `{"organizations/123/locations/global/cloudControls/control-1": {parameters: [...]}}`
Enum: GenerateAuditScopeReportRequest::AuditScopeReportFormat
AUDIT_SCOPE_REPORT_FORMAT_UNSPECIFIED=>0AUDIT_SCOPE_REPORT_FORMAT_ODF=>1
Google::Cloud::Auditmanager::V1::Auditmanager::GenerateAuditReportRequest
Request message for [GenerateAuditReport][google.cloud.auditmanager.v1.AuditManager.GenerateAuditReport].
Inherits from Protobuf::Message.
Accessors
$msg->gcs_uri()/$msg->gcs_uri($value)Type:
StringURL for the Cloud Storage bucket where the report and evidence is uploaded. You must select a bucket that was provided during the enrollment process.
$msg->scope()/$msg->scope($value)Type:
StringRequired. 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}`
$msg->compliance_standard()/$msg->compliance_standard($value)Type:
StringOptional. Deprecated. Compliance standard for the audit report.
Use the `compliance_framework` field instead.
$msg->report_format()/$msg->report_format($value)Type:
Enum(Google::Cloud::Auditmanager::V1::GenerateAuditReportRequest::AuditReportFormat)Required. Format for the audit report.
$msg->compliance_framework()/$msg->compliance_framework($value)Type:
StringRequired. The framework that's used for the audit report. For example, `NIST_800_53`.
$msg->parameter_overrides()/$msg->parameter_overrides($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::GenerateAuditReportRequest::ParameterOverridesEntry)Optional. Maps dynamic parameter overrides by Cloud Control resource name at execution time. For example, `{"organizations/123/locations/global/cloudControls/control-1": {parameters: [...]}}`
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. 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.
Enum: GenerateAuditReportRequest::AuditReportFormat
AUDIT_REPORT_FORMAT_UNSPECIFIED=>0AUDIT_REPORT_FORMAT_ODF=>1
Google::Cloud::Auditmanager::V1::Auditmanager::GetResourceEnrollmentStatusRequest
Request message for [GetResourceEnrollmentStatus][google.cloud.auditmanager.v1.AuditManager.GetResourceEnrollmentStatus].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource enrollment status, in one of the following formats:
* `folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}` * `projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}` * `organizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}`
Google::Cloud::Auditmanager::V1::Auditmanager::ListResourceEnrollmentStatusesRequest
Request message for [ListResourceEnrollmentStatuses][google.cloud.auditmanager.v1.AuditManager.ListResourceEnrollmentStatuses].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent organization or folder to list enrollment statuses for, in one of the following formats:
* `folders/{folder}/locations/{location}` * `organizations/{organization}/locations/{location}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum number of items to return in a single page. The service might return fewer items than this value. If unspecified, the service picks an appropriate default. The maximum value is 100; values above 100 are reduced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous call, to retrieve the next page of results.
Google::Cloud::Auditmanager::V1::Auditmanager::ListResourceEnrollmentStatusesResponse
Response message for [ListResourceEnrollmentStatuses][google.cloud.auditmanager.v1.AuditManager.ListResourceEnrollmentStatuses].
Inherits from Protobuf::Message.
Accessors
$msg->resource_enrollment_statuses()/$msg->resource_enrollment_statuses($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::ResourceEnrollmentStatus)Resources with their enrollment status.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput only. A token that you can send as the `page_token` in a subsequent request to retrieve the next page of results. If this field is empty, there are no subsequent pages.
Google::Cloud::Auditmanager::V1::Auditmanager::ListAuditReportsRequest
Request message for [ListAuditReports][google.cloud.auditmanager.v1.AuditManager.ListAuditReports].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent organization, folder, or project to list reports for, in one of the following formats:
* `projects/{project}/locations/{location}` * `folders/{folder}/locations/{location}` * `organizations/{organization}/locations/{location}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum number of items to return in a single page. The service might return fewer items than this value. If unspecified, the service picks an appropriate default. The maximum value is 100; values above 100 are reduced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous call, to retrieve the next page of results.
Google::Cloud::Auditmanager::V1::Auditmanager::ListAuditReportsResponse
Response message for [ListAuditReports][google.cloud.auditmanager.v1.AuditManager.ListAuditReports].
Inherits from Protobuf::Message.
Accessors
$msg->audit_reports()/$msg->audit_reports($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::AuditReport)Output only. Audit reports.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput only. A token that you can send as the `page_token` in a subsequent request to retrieve the next page of results. If this field is empty, there are no subsequent pages.
Google::Cloud::Auditmanager::V1::Auditmanager::GetAuditReportRequest
Request message for [GetAuditReport][google.cloud.auditmanager.v1.AuditManager.GetAuditReport].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the audit report, in one of the following formats:
* `projects/{project}/locations/{location}/auditReports/{audit_report}` * `folders/{folder}/locations/{location}/auditReports/{audit_report}` * `organizations/{organization}/locations/{location}/auditReports/{audit_report}`
Google::Cloud::Auditmanager::V1::Auditmanager::ListControlsRequest
Request message for [ListControls][google.cloud.auditmanager.v1.AuditManager.ListControls].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Standard to list controls for, in one of the following formats:
* `projects/{project}/locations/{location}/standards/{standard}` * `folders/{folder}/locations/{location}/standards/{standard}` * `organizations/{organization}/locations/{location}/standards/{standard}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum number of items to return in a single page. The service might return fewer items than this value. If unspecified, the service picks an appropriate default. The maximum value is 100; values above 100 are reduced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous call, to retrieve the next page of results.
Google::Cloud::Auditmanager::V1::Auditmanager::ListControlsResponse
Response message for [ListControls][google.cloud.auditmanager.v1.AuditManager.ListControls].
Inherits from Protobuf::Message.
Accessors
$msg->controls()/$msg->controls($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::Control)Output only. Controls for a given regulatory standard.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput only. A token that you can send as the `page_token` in a subsequent request to retrieve the next page of results. If this field is empty, there are no subsequent pages.
Google::Cloud::Auditmanager::V1::Auditmanager::ReportGenerationProgress
Details about the current status of the report-generation process.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Auditmanager::V1::OperationState)Output only. Current state of execution for report generation.
$msg->failure_reason()/$msg->failure_reason($value)Type:
StringOutput only. Reason for failure during the audit report generation process. This field is set only if the `OperationState` attribute is `OPERATION_STATE_FAILED`.
$msg->evaluation_percent_complete()/$msg->evaluation_percent_complete($value)Type:
DoubleProgress of the evaluation process. The progress is defined in terms of percentage complete.
$msg->report_generation_percent_complete()/$msg->report_generation_percent_complete($value)Type:
DoubleReport generation progress, defined in terms of percentage complete. Until evaluation is complete, this value is always `0`.
$msg->report_uploading_percent_complete()/$msg->report_uploading_percent_complete($value)Type:
DoubleReport uploading progress, defined in terms of percentage complete. Until evaluation and report generation are complete, this value is always `0`.
$msg->destination_gcs_bucket()/$msg->destination_gcs_bucket($value)Type:
StringOutput only. Cloud Storage bucket where the audit report is uploaded to after the evaluation process is completed.
$msg->audit_report()/$msg->audit_report($value)Type:
StringOutput only. Name of the audit report.
Google::Cloud::Auditmanager::V1::Auditmanager::Enrollment
Organization, folder, or project to enroll for audit reports.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the enrollment, in one of the following formats:
* `projects/{project}/locations/{location}/enrollments/{enrollment}` * `folders/{folder}/locations/{location}/enrollments/{enrollment}` * `organizations/{organization}/locations/{location}/enrollments/{enrollment}`
$msg->destination_details()/$msg->destination_details($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::DestinationDetails)Output only. Cloud Storage buckets where you want to upload the audit reports.
Google::Cloud::Auditmanager::V1::Auditmanager::AuditScopeReport
Audit scope report.
Inherits from Protobuf::Message.
Accessors
$msg->scope_report_contents()/$msg->scope_report_contents($value)Type:
BytesAudit scope report content in byte format.
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name for the audit scope report, in one of the following formats:
* `projects/{project}/locations/{location}/auditScopeReports/{audit_scope_report}` * `folders/{folder}/locations/{location}/auditScopeReports/{audit_scope_report}` * `organizations/{organization}/locations/{location}/auditScopeReports/{audit_scope_report}`
Google::Cloud::Auditmanager::V1::Auditmanager::OperationMetadata
Metadata for the long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time that the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time that the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. A server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. The name of the verb that was executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. A human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Whether you requested that the operation be cancelled. Operations that were cancelled successfully have an [Operation.error][google.longrunning.Operation.error] value with a status code [Code.CANCELLED][google.rpc.Status.code.CANCELLED].
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. The API version used to start the operation. For example, `v1`.
Google::Cloud::Auditmanager::V1::Auditmanager::ResourceEnrollmentStatus
An organization, folder, or project with its enrollment status.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the resource enrollment status, in one of the following formats:
* `folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}` * `projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}` * `organizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}`
$msg->enrollment()/$msg->enrollment($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::Enrollment)Output only. Enrolled destination details for the organization, folder, or project.
$msg->enrolled()/$msg->enrolled($value)Type:
BoolOutput only. Deprecated. Whether the organization, folder, or project is enrolled. Use `enrollment_state` instead.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. Display name for the organization, folder, or project.
$msg->enrollment_state()/$msg->enrollment_state($value)Type:
Enum(Google::Cloud::Auditmanager::V1::ResourceEnrollmentStatus::ResourceEnrollmentState)Output only. Enrollment state of the organization, folder, or project.
Enum: ResourceEnrollmentStatus::ResourceEnrollmentState
RESOURCE_ENROLLMENT_STATE_UNSPECIFIED=>0NOT_ENROLLED=>1INHERITED=>2ENROLLED=>3
Google::Cloud::Auditmanager::V1::Auditmanager::AuditReport
An audit report.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the audit report, in one of the following formats:
* `projects/{project}/locations/{location}/auditReports/{audit_report}` * `folders/{folder}/locations/{location}/auditReports/{audit_report}` * `organizations/{organization}/locations/{location}/auditReports/{audit_report}`
$msg->report_summary()/$msg->report_summary($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::ReportSummary)Output only. Report summary that includes information about compliance and violation counts.
$msg->operation_id()/$msg->operation_id($value)Type:
StringOutput only. Client operation ID for the audit report.
$msg->destination_details()/$msg->destination_details($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::DestinationDetails)Output only. Cloud Storage bucket where the audit report is uploaded to.
$msg->compliance_standard()/$msg->compliance_standard($value)Type:
StringOutput only. Deprecated. Compliance standard to be audited against.
Use the `compliance_framework` field instead.
$msg->scope()/$msg->scope($value)Type:
StringOutput only. Organization, folder, or project that the report is generated for, in one of the following formats:
* `projects/{project}/locations/{location}` * `folders/{folder}/locations/{location}` * `organizations/{organization}/locations/{location}`
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Creation time of the audit report.
$msg->control_details()/$msg->control_details($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::ControlDetails)Output only. Overall status of the controls.
$msg->report_generation_state()/$msg->report_generation_state($value)Type:
Enum(Google::Cloud::Auditmanager::V1::AuditReport::ReportGenerationState)Output only. State of audit report generation.
$msg->compliance_framework()/$msg->compliance_framework($value)Type:
StringOutput only. Compliance framework to use for the audit report. For example, `CIS_GCP_FOUNDATIONS_V1_2_0`.
$msg->scope_id()/$msg->scope_id($value)Type:
StringOutput only. Project number, folder ID, or organization ID that the audit report was generated for.
$msg->cloud_control_parameter_states()/$msg->cloud_control_parameter_states($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::AuditReport::CloudControlParameterStatesEntry)Output only. Parameter values provided by the user and values for tunable parameters, stored in the DB, keyed by control name.
Enum: AuditReport::ReportGenerationState
REPORT_GENERATION_STATE_UNSPECIFIED=>0IN_PROGRESS=>1COMPLETED=>2FAILED=>3SUMMARY_UNKNOWN=>4
Google::Cloud::Auditmanager::V1::Auditmanager::ControlFamily
Regulatory family of the control.
Inherits from Protobuf::Message.
Accessors
$msg->family_id()/$msg->family_id($value)Type:
StringID of the regulatory control family. To find the list of supported control families, use the [ListControls][google.cloud.auditmanager.v1.AuditManager.ListControls] method and review the `control_family` field in the response.
$msg->display_name()/$msg->display_name($value)Type:
StringDisplay name of the regulatory control family.
Google::Cloud::Auditmanager::V1::Auditmanager::Control
A control.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringOutput only. Control identifier that's used to fetch the findings. The identifier is the same as the control report name.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. Display name of the control.
$msg->family()/$msg->family($value)Type:
Enum(Google::Cloud::Auditmanager::V1::Control::Family)Output only. Category that the control belongs to.
$msg->control_family()/$msg->control_family($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::ControlFamily)Output only. Regulatory family of the control.
$msg->description()/$msg->description($value)Type:
StringOutput only. Description of the control.
$msg->responsibility_type()/$msg->responsibility_type($value)Type:
StringOutput only. Who is responsible for implementing this control. Set to one of the following values: `GOOGLE`, `CUSTOMER`, or `SHARED`.
$msg->google_responsibility_description()/$msg->google_responsibility_description($value)Type:
StringOutput only. A description of Google's responsibility for this control.
$msg->google_responsibility_implementation()/$msg->google_responsibility_implementation($value)Type:
StringOutput only. A description of how Google implements its responsibility for this control.
$msg->customer_responsibility_description()/$msg->customer_responsibility_description($value)Type:
StringOutput only. A description of your responsibility for this control.
$msg->customer_responsibility_implementation()/$msg->customer_responsibility_implementation($value)Type:
StringOutput only. A description of how you can implement your responsibility for this control.
Enum: Control::Family
FAMILY_UNSPECIFIED=>0AC=>1AT=>2AU=>3CA=>4CM=>5CP=>6IA=>7IR=>8MA=>9MP=>10PE=>11PL=>12PS=>13RA=>14SA=>15SC=>16SI=>17SR=>18
Google::Cloud::Auditmanager::V1::Auditmanager::DestinationDetails
Cloud Storage bucket where the audit report is uploaded to.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_bucket_uri()/$msg->gcs_bucket_uri($value)Type:
StringURI for the Cloud Storage bucket, in the format `gs://{bucket_name}`.
Google::Cloud::Auditmanager::V1::Auditmanager::ReportSummary
Additional information about the number of checks that were made during an audit operation.
Inherits from Protobuf::Message.
Accessors
$msg->total_count()/$msg->total_count($value)Type:
Int32Total number of evaluated checks.
$msg->compliant_count()/$msg->compliant_count($value)Type:
Int32Number of compliant checks.
$msg->violation_count()/$msg->violation_count($value)Type:
Int32Number of checks with violations.
$msg->manual_review_needed_count()/$msg->manual_review_needed_count($value)Type:
Int32Number of checks that require a manual review.
$msg->error_count()/$msg->error_count($value)Type:
Int32Number of checks that can't be performed due to errors.
Google::Cloud::Auditmanager::V1::Auditmanager::ControlDetails
Evaluation details for a control.
Inherits from Protobuf::Message.
Accessors
$msg->control()/$msg->control($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::Control)Control that the findings are being reported for.
$msg->compliance_state()/$msg->compliance_state($value)Type:
Enum(Google::Cloud::Auditmanager::V1::ComplianceState)Output only. Overall status of the findings for the control.
$msg->control_report_summary()/$msg->control_report_summary($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::ReportSummary)A control report summary that provides a high-level overview of the compliance controls and the assessment status.
Google::Cloud::Auditmanager::V1::Auditmanager::CreateAuditScheduleRequest
Request message for [CreateAuditSchedule][google.cloud.auditmanager.v1.AuditManager.CreateAuditSchedule].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Project or folder that this audit schedule is for, in one of the following formats:
* `projects/{project}/locations/{location}` * `folders/{folder}/locations/{location}`
$msg->audit_schedule()/$msg->audit_schedule($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::AuditSchedule)Required. Audit schedule to create.
$msg->audit_schedule_id()/$msg->audit_schedule_id($value)Type:
StringRequired. ID to use for the audit schedule, which becomes the final component of the audit schedule's resource name.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. 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.
Google::Cloud::Auditmanager::V1::Auditmanager::UpdateAuditScheduleRequest
Request message for [UpdateAuditSchedule][google.cloud.auditmanager.v1.AuditManager.UpdateAuditSchedule].
Inherits from Protobuf::Message.
Accessors
$msg->audit_schedule()/$msg->audit_schedule($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::AuditSchedule)Required. Audit schedule to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. List of fields to update.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If `true`, only validates the request and does not update 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.
Google::Cloud::Auditmanager::V1::Auditmanager::GetAuditScheduleRequest
Request message for [GetAuditSchedule][google.cloud.auditmanager.v1.AuditManager.GetAuditSchedule].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the audit schedule to retrieve, in one of the following formats:
* `projects/{project}/locations/{location}/auditSchedules/{audit_schedule}` * `folders/{folder}/locations/{location}/auditSchedules/{audit_schedule}` * `organizations/{organization}/locations/{location}/auditSchedules/{audit_schedule}`
Google::Cloud::Auditmanager::V1::Auditmanager::ListAuditSchedulesRequest
Request message for [ListAuditSchedules][google.cloud.auditmanager.v1.AuditManager.ListAuditSchedules].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent for the audit schedule, in one of the following formats:
* `projects/{project}/locations/{location}` * `folders/{folder}/locations/{location}` * `organizations/{organization}/locations/{location}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum number of items to return in a single page. The service might return fewer items than this value. If unspecified, the service picks an appropriate default. The maximum value is 100; values above 100 are reduced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous call, to retrieve the next page of results.
Google::Cloud::Auditmanager::V1::Auditmanager::ListAuditSchedulesResponse
Response message for [ListAuditSchedules][google.cloud.auditmanager.v1.AuditManager.ListAuditSchedules].
Inherits from Protobuf::Message.
Accessors
$msg->audit_schedules()/$msg->audit_schedules($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::AuditSchedule)List of audit schedules.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that you can send as the `page_token` in a subsequent request to retrieve the next page of results. If this field is empty, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that can't be reached.
Google::Cloud::Auditmanager::V1::Auditmanager::AuditSchedule
An audit schedule, in one of the following formats:
* `projects/{project}/locations/{location}/auditSchedules/{audit_schedule}` * `folders/{folder}/locations/{location}/auditSchedules/{audit_schedule}`
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Unique identifier for the audit schedule. Format: projects/{project}/locations/{location}/auditSchedules/{audit_schedule} folders/{folder}/locations/{location}/auditSchedules/{audit_schedule} organizations/{organization}/locations/{location}/auditSchedules/{audit_schedule}
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. Display name for the audit schedule.
$msg->gcs_uri()/$msg->gcs_uri($value)Type:
StringRequired. Cloud Storage bucket where Audit Manager can upload the audit report and evidence. The format is `gs://{bucket_name}`.
$msg->compliance_framework()/$msg->compliance_framework($value)Type:
StringRequired. Framework (set of controls) that the audit scope report is generated against. For example, `NIST_800_53`.
$msg->report_format()/$msg->report_format($value)Type:
Enum(Google::Cloud::Auditmanager::V1::AuditSchedule::AuditReportFormat)Required. Format for the audit report.
$msg->schedule_config()/$msg->schedule_config($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::ScheduleConfig)Required. Configuration that defines when and how often audit runs are automatically triggered for this schedule.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Auditmanager::V1::ScheduleState)Optional. State of the audit schedule. While most states are managed by the system, you can use [UpdateAuditSchedule][google.cloud.auditmanager.v1.AuditManager.UpdateAuditSchedule] to start, pause, or delete the schedule.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the schedule was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the schedule was last updated.
$msg->next_run_time()/$msg->next_run_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Calculated timestamp for the next scheduled run.
$msg->last_trigger_time()/$msg->last_trigger_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the audit run was last triggered.
$msg->error_message()/$msg->error_message($value)Type:
StringOutput only. Describes the error if the schedule is in an error state.
$msg->parameter_overrides()/$msg->parameter_overrides($value)Type:
Message(Google::Cloud::Auditmanager::V1::Auditmanager::AuditSchedule::ParameterOverridesEntry)Optional. Maps dynamic parameter overrides by Cloud Control resource name at execution time. For example, `{"organizations/123/locations/global/cloudControls/control-1": {parameters: [...]}}`
Enum: AuditSchedule::AuditReportFormat
AUDIT_REPORT_FORMAT_UNSPECIFIED=>0AUDIT_REPORT_FORMAT_ODF=>1
Google::Cloud::Auditmanager::V1::Auditmanager::ScheduleConfig
Timing and frequency parameters for recurring audit runs.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Required. Date and time when the first audit run is triggered. Subsequent runs are based on this time and the chosen frequency.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Optional. Date that the schedule stops. If not specified, the schedule runs indefinitely.
$msg->frequency()/$msg->frequency($value)Type:
Enum(Google::Cloud::Auditmanager::V1::ScheduleConfig::Frequency)Required. Frequency of audit runs.
$msg->time_zone()/$msg->time_zone($value)Type:
StringOptional. Time zone for the audit schedule in IANA format (for example, `America/New_York`). The time zone is used to interpret the `start_time` and the `end_time`, and to calculate subsequent run dates. If not specified, the time zone default is UTC.
Enum: ScheduleConfig::Frequency
FREQUENCY_UNSPECIFIED=>0DAILY=>1WEEKLY=>2MONTHLY=>3QUARTERLY=>4ANNUALLY=>5
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Auditmanager::V1::Auditmanager::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.