Class EnrollResourceRequest
Request message for EnrollResource.
Implements
Inherited Members
Namespace: Google.Apis.CloudAuditManager.v1.Data
Assembly: Google.Apis.CloudAuditManager.v1.dll
Syntax
public class EnrollResourceRequest : IDirectResponseSchema
Properties
Destinations
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.
Declaration
[JsonProperty("destinations")]
public virtual IList<EligibleDestination> Destinations { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<EligibleDestination> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValidateOnly
Optional. 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.
Declaration
[JsonProperty("validateOnly")]
public virtual bool? ValidateOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |