Class OrganizationsResource.LocationsResource.WorkloadsResource.ViolationsResource.BatchAcknowledgeViolationsRequest
Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the existence of compliance violations in their workload and decide to ignore them due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. This is a batch version of AcknowledgeViolation.
Inheritance
OrganizationsResource.LocationsResource.WorkloadsResource.ViolationsResource.BatchAcknowledgeViolationsRequest
Implements
Inherited Members
Namespace: Google.Apis.Assuredworkloads.v1
Assembly: Google.Apis.Assuredworkloads.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.WorkloadsResource.ViolationsResource.BatchAcknowledgeViolationsRequest : AssuredworkloadsBaseServiceRequest<GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse>, IClientServiceRequest<GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse>, IClientServiceRequest
Constructors
BatchAcknowledgeViolationsRequest(IClientService, GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest, string)
Constructs a new BatchAcknowledgeViolations request.
Declaration
public BatchAcknowledgeViolationsRequest(IClientService service, GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest | body | |
| string | parent |
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
Parent
Optional. The parent resource shared by all violations being acknowledged. Format: organizations/{organization}/locations/{location}/workloads/{workload}
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes BatchAcknowledgeViolations parameter list.
Declaration
protected override void InitParameters()