Class ProjectsResource.LocationsResource.AuditReportsResource.GenerateRequest
Registers audit report generation requests. This method returns the operation identifier that you can use to track the report generation progress.
Inheritance
ProjectsResource.LocationsResource.AuditReportsResource.GenerateRequest
Inherited Members
Namespace: Google.Apis.CloudAuditManager.v1
Assembly: Google.Apis.CloudAuditManager.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AuditReportsResource.GenerateRequest : CloudAuditManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
GenerateRequest(IClientService, GenerateAuditReportRequest, string)
Constructs a new Generate request.
Declaration
public GenerateRequest(IClientService service, GenerateAuditReportRequest body, string scope)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GenerateAuditReportRequest | body | |
| string | scope |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Scope
Required. 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}
Declaration
[RequestParameter("scope", RequestParameterType.Path)]
public virtual string Scope { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Generate parameter list.
Declaration
protected override void InitParameters()