Cloud Controls Partner v1 API - Class ListViolationsResponse (1.0.0-beta01)

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

Reference documentation and code samples for the Cloud Controls Partner v1 API class ListViolationsResponse.

Response message for list customer violation requests

Inheritance

object > ListViolationsResponse

Namespace

Google.Cloud.CloudControlsPartner.V1

Assembly

Google.Cloud.CloudControlsPartner.V1.dll

Constructors

ListViolationsResponse()

public ListViolationsResponse()

ListViolationsResponse(ListViolationsResponse)

public ListViolationsResponse(ListViolationsResponse other)
Parameter
Name Description
other ListViolationsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Property Value
Type Description
string

Unreachable

public RepeatedField<string> Unreachable { get; }

Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217

Property Value
Type Description
RepeatedFieldstring

Violations

public RepeatedField<Violation> Violations { get; }

List of violation

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