Assured Workloads v1 API - Class ListViolationsResponse (2.5.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
Name Description
other ListViolationsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

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

Property Value
Type Description
string

Violations

public RepeatedField<Violation> Violations { get; }

List of Violations under a Workload.

Property Value
Type Description
RepeatedFieldViolation

Methods

GetEnumerator()

public IEnumerator<Violation> GetEnumerator()

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

Returns
Type Description
IEnumeratorViolation