Assured Workloads v1 API - Class ListViolationsResponse (2.4.0)

public sealed class ListViolationsResponse : IMessage<ListViolationsResponse>, IEquatable<ListViolationsResponse>, IDeepCloneable<ListViolationsResponse>, IBufferMessage, IMessage, IPageResponse<Violation>, IEnumerable<Violation>, IEnumerable

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

Response of ListViolations endpoint.

Inheritance

object > ListViolationsResponse

Namespace

Google.Cloud.AssuredWorkloads.V1

Assembly

Google.Cloud.AssuredWorkloads.V1.dll

Constructors

ListViolationsResponse()

public ListViolationsResponse()

ListViolationsResponse(ListViolationsResponse)

public ListViolationsResponse(ListViolationsResponse other)
Parameter
NameDescription
otherListViolationsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

The next page token. Returns empty if reached the last page.

Property Value
TypeDescription
string

Violations

public RepeatedField<Violation> Violations { get; }

List of Violations under a Workload.

Property Value
TypeDescription
RepeatedFieldViolation

Methods

GetEnumerator()

public IEnumerator<Violation> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
TypeDescription
IEnumeratorViolation