Assured Workloads v1 API - Class GetViolationRequest (2.4.0)

public sealed class GetViolationRequest : IMessage<GetViolationRequest>, IEquatable<GetViolationRequest>, IDeepCloneable<GetViolationRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Assured Workloads v1 API class GetViolationRequest.

Request for fetching a Workload Violation.

Inheritance

object > GetViolationRequest

Namespace

Google.Cloud.AssuredWorkloads.V1

Assembly

Google.Cloud.AssuredWorkloads.V1.dll

Constructors

GetViolationRequest()

public GetViolationRequest()

GetViolationRequest(GetViolationRequest)

public GetViolationRequest(GetViolationRequest other)
Parameter
NameDescription
otherGetViolationRequest

Properties

Name

public string Name { get; set; }

Required. The resource name of the Violation to fetch (ie. Violation.name). Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}

Property Value
TypeDescription
string

ViolationName

public ViolationName ViolationName { get; set; }

ViolationName-typed view over the Name resource name property.

Property Value
TypeDescription
ViolationName