Class ProjectsResource.LocationsResource.AuditSchedulesResource
The "auditSchedules" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudAuditManager.v1
Assembly: Google.Apis.CloudAuditManager.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AuditSchedulesResource
Constructors
AuditSchedulesResource(IClientService)
Constructs a new resource.
Declaration
public AuditSchedulesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(AuditSchedule, string)
Creates a new audit schedule in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.AuditSchedulesResource.CreateRequest Create(AuditSchedule body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| AuditSchedule | body | The body of the request. |
| string | parent | Required. Project or folder that this audit schedule is for, in one of the following formats: *
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AuditSchedulesResource.CreateRequest |
Get(string)
Gets details of a single audit schedule.
Declaration
public virtual ProjectsResource.LocationsResource.AuditSchedulesResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Name of the audit schedule to retrieve, in one of the following formats: *
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AuditSchedulesResource.GetRequest |
List(string)
Lists audit schedules in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.AuditSchedulesResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Parent for the audit schedule, in one of the following formats: *
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AuditSchedulesResource.ListRequest |
Patch(AuditSchedule, string)
Updates an existing audit schedule.
Declaration
public virtual ProjectsResource.LocationsResource.AuditSchedulesResource.PatchRequest Patch(AuditSchedule body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| AuditSchedule | body | The body of the request. |
| string | 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} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AuditSchedulesResource.PatchRequest |