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.
Implements
IMessage<ListViolationsResponse>, IEquatable<ListViolationsResponse>, IDeepCloneable<ListViolationsResponse>, IBufferMessage, IMessage, IPageResponse<Violation>, IEnumerable<Violation>, IEnumerableNamespace
Google.Cloud.AssuredWorkloads.V1Assembly
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 |
RepeatedField<Violation> |
Methods
GetEnumerator()
public IEnumerator<Violation> GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Returns | |
---|---|
Type | Description |
IEnumerator<Violation> |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns | |
---|---|
Type | Description |
IEnumerator |