Assured Workloads v1 API - Class ListViolationsRequest (2.2.0)

public sealed class ListViolationsRequest : IMessage<ListViolationsRequest>, IEquatable<ListViolationsRequest>, IDeepCloneable<ListViolationsRequest>, IBufferMessage, IMessage, IPageRequest

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

Request for fetching violations in an organization.

Inheritance

Object > ListViolationsRequest

Namespace

Google.Cloud.AssuredWorkloads.V1

Assembly

Google.Cloud.AssuredWorkloads.V1.dll

Constructors

ListViolationsRequest()

public ListViolationsRequest()

ListViolationsRequest(ListViolationsRequest)

public ListViolationsRequest(ListViolationsRequest other)
Parameter
NameDescription
otherListViolationsRequest

Properties

Filter

public string Filter { get; set; }

Optional. A custom filter for filtering by the Violations properties.

Property Value
TypeDescription
String

Interval

public TimeWindow Interval { get; set; }

Optional. Specifies the time window for retrieving active Violations. When specified, retrieves Violations that were active between start_time and end_time.

Property Value
TypeDescription
TimeWindow

PageSize

public int PageSize { get; set; }

Optional. Page size.

Property Value
TypeDescription
Int32

PageToken

public string PageToken { get; set; }

Optional. Page token returned from previous request.

Property Value
TypeDescription
String

Parent

public string Parent { get; set; }

Required. The Workload name. Format organizations/{org_id}/locations/{location}/workloads/{workload}.

Property Value
TypeDescription
String

ParentAsWorkloadName

public WorkloadName ParentAsWorkloadName { get; set; }

WorkloadName-typed view over the Parent resource name property.

Property Value
TypeDescription
WorkloadName