Show / Hide Table of Contents

Class FoldersResource.LocationsResource.AuditSchedulesResource.CreateRequest

Creates a new audit schedule in a given project and location.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<AuditSchedule>
CloudAuditManagerBaseServiceRequest<AuditSchedule>
FoldersResource.LocationsResource.AuditSchedulesResource.CreateRequest
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 FoldersResource.LocationsResource.AuditSchedulesResource.CreateRequest : CloudAuditManagerBaseServiceRequest<AuditSchedule>, IClientServiceRequest<AuditSchedule>, IClientServiceRequest

Constructors

CreateRequest(IClientService, AuditSchedule, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, AuditSchedule body, string parent)
Parameters
Type Name Description
IClientService service
AuditSchedule body
string parent

Properties

AuditScheduleId

Required. ID to use for the audit schedule, which becomes the final component of the audit schedule's resource name.

Declaration
[RequestParameter("auditScheduleId", RequestParameterType.Query)]
public virtual string AuditScheduleId { get; set; }
Property Value
Type Description
string

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

Parent

Required. Project or folder that this audit schedule is for, in one of the following formats: * projects/{project}/locations/{location} * folders/{folder}/locations/{location}

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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

ValidateOnly

Optional. 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 &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 Create parameter list.

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

Implements

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