Class OrganizationsResource.LocationsResource.WorkloadsResource.ViolationsResource.AcknowledgeRequest
Acknowledges an existing violation. By acknowledging a violation, users acknowledge the existence of a compliance violation in their workload and decide to ignore it due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted.
Inheritance
OrganizationsResource.LocationsResource.WorkloadsResource.ViolationsResource.AcknowledgeRequest
Implements
Inherited Members
AssuredworkloadsBaseServiceRequest<GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse>.Fields
ClientServiceRequest<GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse>.CreateRequest(bool?)
Namespace: Google.Apis.Assuredworkloads.v1
Assembly: Google.Apis.Assuredworkloads.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.WorkloadsResource.ViolationsResource.AcknowledgeRequest : AssuredworkloadsBaseServiceRequest<GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse>, IClientServiceRequest<GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse>, IClientServiceRequest
Constructors
AcknowledgeRequest(IClientService, GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest, string)
Constructs a new Acknowledge request.
Declaration
public AcknowledgeRequest(IClientService service, GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest | body | |
string | name |
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
Name
Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Acknowledge parameter list.
Declaration
protected override void InitParameters()