Show / Hide Table of Contents

Class OrganizationsResource.LocationsResource.AuditSchedulesResource.PatchRequest

Updates an existing audit schedule.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<AuditSchedule>
CloudAuditManagerBaseServiceRequest<AuditSchedule>
OrganizationsResource.LocationsResource.AuditSchedulesResource.PatchRequest
Implements
IClientServiceRequest<AuditSchedule>
IClientServiceRequest
Inherited Members
CloudAuditManagerBaseServiceRequest<AuditSchedule>.Xgafv
CloudAuditManagerBaseServiceRequest<AuditSchedule>.AccessToken
CloudAuditManagerBaseServiceRequest<AuditSchedule>.Alt
CloudAuditManagerBaseServiceRequest<AuditSchedule>.Callback
CloudAuditManagerBaseServiceRequest<AuditSchedule>.Fields
CloudAuditManagerBaseServiceRequest<AuditSchedule>.Key
CloudAuditManagerBaseServiceRequest<AuditSchedule>.OauthToken
CloudAuditManagerBaseServiceRequest<AuditSchedule>.PrettyPrint
CloudAuditManagerBaseServiceRequest<AuditSchedule>.QuotaUser
CloudAuditManagerBaseServiceRequest<AuditSchedule>.UploadType
CloudAuditManagerBaseServiceRequest<AuditSchedule>.UploadProtocol
ClientServiceRequest<AuditSchedule>.Execute()
ClientServiceRequest<AuditSchedule>.ExecuteAsStream()
ClientServiceRequest<AuditSchedule>.ExecuteAsync()
ClientServiceRequest<AuditSchedule>.ExecuteAsync(CancellationToken)
ClientServiceRequest<AuditSchedule>.ExecuteAsStreamAsync()
ClientServiceRequest<AuditSchedule>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<AuditSchedule>.CreateRequest(bool?)
ClientServiceRequest<AuditSchedule>.GenerateRequestUri()
ClientServiceRequest<AuditSchedule>.GetDefaultETagAction(string)
ClientServiceRequest<AuditSchedule>.ETagAction
ClientServiceRequest<AuditSchedule>.ModifyRequest
ClientServiceRequest<AuditSchedule>.ValidateParameters
ClientServiceRequest<AuditSchedule>.ApiVersion
ClientServiceRequest<AuditSchedule>.RequestParameters
ClientServiceRequest<AuditSchedule>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudAuditManager.v1
Assembly: Google.Apis.CloudAuditManager.v1.dll
Syntax
public class OrganizationsResource.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
ClientServiceRequest<AuditSchedule>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<AuditSchedule>.MethodName

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
ClientServiceRequest<AuditSchedule>.RestPath

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 &amp; 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
ClientServiceRequest<AuditSchedule>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudAuditManagerBaseServiceRequest<AuditSchedule>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX