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

Properties

Filter

public string Filter { get; set; }

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

Property Value
Type Description
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
Type Description
TimeWindow

PageSize

public int PageSize { get; set; }

Optional. Page size.

Property Value
Type Description
int

PageToken

public string PageToken { get; set; }

Optional. Page token returned from previous request.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

ParentAsWorkloadName

public WorkloadName ParentAsWorkloadName { get; set; }

WorkloadName-typed view over the Parent resource name property.

Property Value
Type Description
WorkloadName