Class FoldersResource.LocationsResource.AuditSchedulesResource.PatchRequest
Updates an existing audit schedule.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudAuditManager.v1
Assembly: Google.Apis.CloudAuditManager.v1.dll
Syntax
public class FoldersResource.LocationsResource.AuditSchedulesResource.PatchRequest : CloudAuditManagerBaseServiceRequest<AuditSchedule>, IClientServiceRequest<AuditSchedule>, IClientServiceRequest
Constructors
PatchRequest(IClientService, AuditSchedule, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, AuditSchedule body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| AuditSchedule | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Identifier. 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}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
UpdateMask
Optional. List of fields to update.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ValidateOnly
Optional. 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.
Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()